Commit d17ce8fe authored by vaillancour's avatar vaillancour
Browse files

Propose fix for 746, frame boundaries issues

parent 1c58561f
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -117,6 +117,8 @@

/* ##################### End NON-BE switches ########################### */
#define FIX_740_HQ_CORE_OVA // Proposed fix to solve overlap and add issue for HQ_CORE
#define FIX_746  // proposed fix to solve low bit-rate frame boundaries issues 

/* ################## End DEVELOPMENT switches ######################### */

/* clang-format on */
+2 −0
Original line number Diff line number Diff line
@@ -326,10 +326,12 @@ ivas_error ivas_cpe_dec_fx(
      {
        floatToFixed_arrL(&hCPE->output_mem[n][0], &hCPE->output_mem_fx[n][0], q_temp, NS2SA_fx2(st_ivas->hDecoderConfig->output_Fs, STEREO_DFT32MS_OVL_NS));//any q works
      }
#ifndef FIX_746
      if (hCPE->input_mem[n] != NULL)
      {
        floatToFixed_arrL(&hCPE->input_mem[n][0], &hCPE->input_mem_fx[n][0], q_temp, NS2SA(hCPE->hCoreCoder[0]->output_Fs, STEREO_DFT32MS_OVL_NS));
      }
#endif
      if (hCPE->input_mem_LB[n] != NULL)
      {
        floatToFixed_arrL(&hCPE->input_mem_LB[n][0], &hCPE->input_mem_LB_fx[n][0], q_temp, STEREO_DFT32MS_OVL_16k);