diff --git a/lib_com/cnst.h b/lib_com/cnst.h index 59e9e89f1de83fcd52ecd8f0ba7aaa9daf286655..377cad81934a028ece834628219f593f5867827a 100644 --- a/lib_com/cnst.h +++ b/lib_com/cnst.h @@ -49,7 +49,7 @@ #define NUM_SAMPLES_320 (320) #define NUM_SAMPLES_160 (160) #define L_SUBFRAME_48k (240) -#define L_SUBFRAME_32k (180) +#define L_SUBFRAME_32k (160) #define L_SUBFRAME_16k (80) #define L_SUBFRAME_8k (40) #define Q31_BY_NUM_SAMPLES_960 ( 2239294 ) /* 1/959 in Q31 */ diff --git a/lib_dec/ivas_lfe_dec_fx.c b/lib_dec/ivas_lfe_dec_fx.c index fb0141b72f40d4dd52f666365b75a23bbde1b78e..d4d1d727ec0cf801a38c2fa0bdf57ae9e4fe945f 100644 --- a/lib_dec/ivas_lfe_dec_fx.c +++ b/lib_dec/ivas_lfe_dec_fx.c @@ -409,7 +409,6 @@ void ivas_lfe_dec_fx( IF( hLFE->filter_state.order > 0 ) { - /* NOTE: this block is not getting hit by any stream present in pytest test suite */ /* Low Pass Filter */ ivas_filter_process_fx( &hLFE->filter_state, output_lfe_ch, output_frame, q_out ); } diff --git a/lib_rend/ivas_rotation_fx.c b/lib_rend/ivas_rotation_fx.c index 21b443a040ea48f2d7249ab27b1c8150c9f22eeb..d8e18f8a6863a39508543a78ab52630e08f74508 100644 --- a/lib_rend/ivas_rotation_fx.c +++ b/lib_rend/ivas_rotation_fx.c @@ -678,7 +678,6 @@ void rotateFrame_shd( const Word16 subframe_idx /* i : subframe index Q0 */ ) { - // Not yet tested, no test cases entering the function. Word16 i, l, n, m, offset; Word16 m1, m2; Word16 shd_rot_max_order; @@ -700,7 +699,7 @@ void rotateFrame_shd( move32(); BREAK; case L_SUBFRAME_32k: - tmp = Q31_BY_SUB_FRAME_180; + tmp = Q31_BY_NUM_SAMPLES_160; move32(); BREAK; case L_SUBFRAME_16k: @@ -837,7 +836,7 @@ void rotateFrame_sd( move32(); BREAK; case L_SUBFRAME_32k: - tmp = Q31_BY_SUB_FRAME_180; + tmp = Q31_BY_NUM_SAMPLES_160; move32(); BREAK; case L_SUBFRAME_16k: diff --git a/lib_rend/lib_rend_fx.c b/lib_rend/lib_rend_fx.c index 389b6a5a7ee97a41f150dacbc67228bed7c7d163..75a6de0d686c94cf6dff5de74ad1548d8f65e7e5 100644 --- a/lib_rend/lib_rend_fx.c +++ b/lib_rend/lib_rend_fx.c @@ -5437,7 +5437,7 @@ static void renderBufferChannelLerp_fx( move32(); move32(); BREAK; - case NUM_SAMPLES_160: + case L_SUBFRAME_32k: tmp = Q31_BY_NUM_SAMPLES_160; tmp1 = 159; /* NUM_SAMPLES_160 - 1 */ move32(); @@ -5449,12 +5449,6 @@ static void renderBufferChannelLerp_fx( move32(); move32(); BREAK; - case L_SUBFRAME_32k: - tmp = Q31_BY_SUB_FRAME_180; - tmp1 = 179; /* L_SUBFRAME_32k - 1 */ - move32(); - move32(); - BREAK; case L_SUBFRAME_16k: tmp = Q31_BY_SUB_FRAME_80; tmp1 = 79; /* L_SUBFRAME_16k - 1 */