Loading lib_dec/ivas_init_dec.c +12 −0 Original line number Diff line number Diff line Loading @@ -1537,6 +1537,18 @@ ivas_error ivas_init_decoder( } } /* create CPE element for DFT Stereo like upmix */ if ( st_ivas->sba_dirac_stereo_flag && st_ivas->nCPE == 0 ) { if ( ( error = create_cpe_dec( st_ivas, cpe_id, ivas_total_brate / ( st_ivas->nSCE + st_ivas->nCPE ) ) ) != IVAS_ERR_OK ) { return error; } st_ivas->hCPE[0]->hCoreCoder[0] = st_ivas->hSCE[0]->hCoreCoder[0]; /* don't allocate unnecessary core coder, simply point to core coder of SCE element */ st_ivas->hCPE[0]->hCoreCoder[1] = NULL; } #ifdef OSBA_BR_SWITCHING if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC ) { Loading Loading
lib_dec/ivas_init_dec.c +12 −0 Original line number Diff line number Diff line Loading @@ -1537,6 +1537,18 @@ ivas_error ivas_init_decoder( } } /* create CPE element for DFT Stereo like upmix */ if ( st_ivas->sba_dirac_stereo_flag && st_ivas->nCPE == 0 ) { if ( ( error = create_cpe_dec( st_ivas, cpe_id, ivas_total_brate / ( st_ivas->nSCE + st_ivas->nCPE ) ) ) != IVAS_ERR_OK ) { return error; } st_ivas->hCPE[0]->hCoreCoder[0] = st_ivas->hSCE[0]->hCoreCoder[0]; /* don't allocate unnecessary core coder, simply point to core coder of SCE element */ st_ivas->hCPE[0]->hCoreCoder[1] = NULL; } #ifdef OSBA_BR_SWITCHING if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC ) { Loading