Loading lib_rend/ivas_prot_rend.h +1 −0 Original line number Diff line number Diff line Loading @@ -230,6 +230,7 @@ void ivas_HRTF_CRend_binary_close( *----------------------------------------------------------------------------------*/ #ifdef SPLIT_REND_WITH_HEAD_ROT /* TODO(sgi): Rework interface */ void ObjRenderIvasFrame_splitBinaural( Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */ float output[][L_FRAME48k], /* i/o: SCE channels / Binaural synthesis */ Loading lib_rend/ivas_splitRendererPre.c +4 −2 Original line number Diff line number Diff line Loading @@ -1750,6 +1750,7 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper, { ivas_error error, ch, num_ch; CLDFB_TYPE cldfbMode; uint8_t useLc3plus; uint8_t isCldfbNeeded = 0; cldfbMode = CLDFB_ANALYSIS; Loading @@ -1758,6 +1759,7 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper, return error; } useLc3plus = pSplitRendConfig->codec == IVAS_SPLIT_REND_CODEC_LC3PLUS; /* TODO(sgi): change "useLc3plus" to "splitCodec" */ error = IVAS_ERR_OK; if ( Loading Loading @@ -1823,7 +1825,7 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper, if ( is_pcm_out == 0 ) { if ( pSplitRendConfig->codec == IVAS_SPLIT_REND_CODEC_LCLD ) if ( !useLc3plus ) { error = ivas_splitBinLCLDEncOpen( &hSplitRendWrapper->hSplitBinLCLDEnc, OutSampleRate, BINAURAL_CHANNELS, ivas_get_lcld_bitrate( pSplitRendConfig->splitRendBitRate, hSplitRendWrapper->multiBinPoseData.poseCorrectionMode ) ); if ( error != IVAS_ERR_OK ) Loading Loading @@ -2048,7 +2050,7 @@ static ivas_error ivas_renderMultiTDBinToSplitBinaural( if ( pcm_out == 0 ) { pBits->pose_correction = hSplitBin->multiBinPoseData.poseCorrectionMode; pBits->codec = useLc3plus ? IVAS_SPLIT_REND_CODEC_LC3PLUS : IVAS_SPLIT_REND_CODEC_LCLD; pBits->codec = useLc3plus ? IVAS_SPLIT_REND_CODEC_LC3PLUS : IVAS_SPLIT_REND_CODEC_LCLD; /* TODO(sgi): useLc3plus could be changed to splitCodec */ if ( !useLc3plus ) { // available_bits = ivas_get_lcld_bitrate( SplitRendBitRate ) * L_FRAME48k / 48000; Loading Loading
lib_rend/ivas_prot_rend.h +1 −0 Original line number Diff line number Diff line Loading @@ -230,6 +230,7 @@ void ivas_HRTF_CRend_binary_close( *----------------------------------------------------------------------------------*/ #ifdef SPLIT_REND_WITH_HEAD_ROT /* TODO(sgi): Rework interface */ void ObjRenderIvasFrame_splitBinaural( Decoder_Struct *st_ivas, /* i/o: IVAS decoder structure */ float output[][L_FRAME48k], /* i/o: SCE channels / Binaural synthesis */ Loading
lib_rend/ivas_splitRendererPre.c +4 −2 Original line number Diff line number Diff line Loading @@ -1750,6 +1750,7 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper, { ivas_error error, ch, num_ch; CLDFB_TYPE cldfbMode; uint8_t useLc3plus; uint8_t isCldfbNeeded = 0; cldfbMode = CLDFB_ANALYSIS; Loading @@ -1758,6 +1759,7 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper, return error; } useLc3plus = pSplitRendConfig->codec == IVAS_SPLIT_REND_CODEC_LC3PLUS; /* TODO(sgi): change "useLc3plus" to "splitCodec" */ error = IVAS_ERR_OK; if ( Loading Loading @@ -1823,7 +1825,7 @@ ivas_error ivas_split_renderer_open( SPLIT_REND_WRAPPER *hSplitRendWrapper, if ( is_pcm_out == 0 ) { if ( pSplitRendConfig->codec == IVAS_SPLIT_REND_CODEC_LCLD ) if ( !useLc3plus ) { error = ivas_splitBinLCLDEncOpen( &hSplitRendWrapper->hSplitBinLCLDEnc, OutSampleRate, BINAURAL_CHANNELS, ivas_get_lcld_bitrate( pSplitRendConfig->splitRendBitRate, hSplitRendWrapper->multiBinPoseData.poseCorrectionMode ) ); if ( error != IVAS_ERR_OK ) Loading Loading @@ -2048,7 +2050,7 @@ static ivas_error ivas_renderMultiTDBinToSplitBinaural( if ( pcm_out == 0 ) { pBits->pose_correction = hSplitBin->multiBinPoseData.poseCorrectionMode; pBits->codec = useLc3plus ? IVAS_SPLIT_REND_CODEC_LC3PLUS : IVAS_SPLIT_REND_CODEC_LCLD; pBits->codec = useLc3plus ? IVAS_SPLIT_REND_CODEC_LC3PLUS : IVAS_SPLIT_REND_CODEC_LCLD; /* TODO(sgi): useLc3plus could be changed to splitCodec */ if ( !useLc3plus ) { // available_bits = ivas_get_lcld_bitrate( SplitRendBitRate ) * L_FRAME48k / 48000; Loading