Loading apps/decoder.c +0 −3 Original line number Diff line number Diff line Loading @@ -483,7 +483,6 @@ int main( fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for split rendering!\n" ); } #endif arg.enableHeadRotation = true; } #endif Loading Loading @@ -656,7 +655,6 @@ int main( #endif #endif if ( RenderConfigReader_read( renderConfigReader, arg.renderConfigFilename, &renderConfig ) != IVAS_ERR_OK ) { fprintf( stderr, "Failed to read renderer configuration from file %s\n\n", arg.renderConfigFilename ); Loading Loading @@ -690,7 +688,6 @@ int main( { fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for non-0dof split rendering!\n" ); } #endif #endif Loading apps/renderer.c +3 −4 Original line number Diff line number Diff line Loading @@ -1936,7 +1936,6 @@ int main( exit( -1 ); } #endif if ( ( error = IVAS_REND_FeedSplitBinauralBitstream( hIvasRend, splitBinIds[i], &bitsBuffer ) ) != IVAS_ERR_OK ) { fprintf( stderr, "Error: %s\n", ivas_error_to_string( error ) ); Loading Loading @@ -2236,6 +2235,9 @@ cleanup: } split_rend_reader_writer_close( &hSplitRendFileReadWrite ); #ifdef SPLIT_REND_LCLD_5MS SplitRendBFIFileReader_close( &splitRendBFIReader ); #endif #endif for ( i = 0; i < RENDERER_MAX_MC_INPUTS; ++i ) Loading @@ -2248,9 +2250,6 @@ cleanup: RotationFileReader_close( &headRotReader ); RotationFileReader_close( &externalOrientationFileReader ); RotationFileReader_close( &referenceRotReader ); #ifdef SPLIT_REND_LCLD_5MS SplitRendBFIFileReader_close( &splitRendBFIReader ); #endif Vector3PairFileReader_close( &referenceVectorReader ); destroy_td_hrtf( hHrtfTD ); Loading lib_rend/ivas_PredEncoder.c +6 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,9 @@ * * *-------------------------------------------------------------------*/ static void activate_bit( int32_t *state, int32_t bit_id ) static void activate_bit( int32_t *state, const int32_t bit_id ) { ( *state ) |= ( 1 << bit_id ); } Loading @@ -58,7 +60,9 @@ static void activate_bit( int32_t *state, int32_t bit_id ) * *-------------------------------------------------------------------*/ static void deactivate_bit( int32_t *state, int32_t bit_id ) static void deactivate_bit( int32_t *state, const int32_t bit_id ) { ( *state ) &= ( ~( 1 << bit_id ) ); } Loading lib_rend/ivas_lcld_decoder.c +0 −7 Original line number Diff line number Diff line Loading @@ -1292,13 +1292,6 @@ static int32_t ReadMSInformation( return iBitsRead; } #ifdef SPLIT_REND_LCLD_5MS int32_t GetNumPredSubSets( LCLDDecoder *psLCLDDecoder ) { return psLCLDDecoder->psPredictionDecoder->iNumSubSets; } #endif static int32_t ReadGroupInformation( const int32_t iChannels, const int32_t iNumBlocks, Loading lib_rend/ivas_lcld_encoder.c +9 −7 Original line number Diff line number Diff line Loading @@ -95,7 +95,8 @@ struct LCLD_ENCODER * *------------------------------------------------------------------------------------------*/ static int32_t Quantize( const float fVal, static int32_t Quantize( const float fVal, const float fScale, int32_t *iSign, const int32_t iMaxVal ) Loading @@ -122,7 +123,8 @@ static int32_t Quantize( const float fVal, * *------------------------------------------------------------------------------------------*/ static float UnQuantize( const int32_t iVal, static float UnQuantize( const int32_t iVal, const float fScale, const int32_t iSign ) { Loading Loading
apps/decoder.c +0 −3 Original line number Diff line number Diff line Loading @@ -483,7 +483,6 @@ int main( fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for split rendering!\n" ); } #endif arg.enableHeadRotation = true; } #endif Loading Loading @@ -656,7 +655,6 @@ int main( #endif #endif if ( RenderConfigReader_read( renderConfigReader, arg.renderConfigFilename, &renderConfig ) != IVAS_ERR_OK ) { fprintf( stderr, "Failed to read renderer configuration from file %s\n\n", arg.renderConfigFilename ); Loading Loading @@ -690,7 +688,6 @@ int main( { fprintf( stderr, "\nChanged render framesize, only 20ms are allowed for non-0dof split rendering!\n" ); } #endif #endif Loading
apps/renderer.c +3 −4 Original line number Diff line number Diff line Loading @@ -1936,7 +1936,6 @@ int main( exit( -1 ); } #endif if ( ( error = IVAS_REND_FeedSplitBinauralBitstream( hIvasRend, splitBinIds[i], &bitsBuffer ) ) != IVAS_ERR_OK ) { fprintf( stderr, "Error: %s\n", ivas_error_to_string( error ) ); Loading Loading @@ -2236,6 +2235,9 @@ cleanup: } split_rend_reader_writer_close( &hSplitRendFileReadWrite ); #ifdef SPLIT_REND_LCLD_5MS SplitRendBFIFileReader_close( &splitRendBFIReader ); #endif #endif for ( i = 0; i < RENDERER_MAX_MC_INPUTS; ++i ) Loading @@ -2248,9 +2250,6 @@ cleanup: RotationFileReader_close( &headRotReader ); RotationFileReader_close( &externalOrientationFileReader ); RotationFileReader_close( &referenceRotReader ); #ifdef SPLIT_REND_LCLD_5MS SplitRendBFIFileReader_close( &splitRendBFIReader ); #endif Vector3PairFileReader_close( &referenceVectorReader ); destroy_td_hrtf( hHrtfTD ); Loading
lib_rend/ivas_PredEncoder.c +6 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,9 @@ * * *-------------------------------------------------------------------*/ static void activate_bit( int32_t *state, int32_t bit_id ) static void activate_bit( int32_t *state, const int32_t bit_id ) { ( *state ) |= ( 1 << bit_id ); } Loading @@ -58,7 +60,9 @@ static void activate_bit( int32_t *state, int32_t bit_id ) * *-------------------------------------------------------------------*/ static void deactivate_bit( int32_t *state, int32_t bit_id ) static void deactivate_bit( int32_t *state, const int32_t bit_id ) { ( *state ) &= ( ~( 1 << bit_id ) ); } Loading
lib_rend/ivas_lcld_decoder.c +0 −7 Original line number Diff line number Diff line Loading @@ -1292,13 +1292,6 @@ static int32_t ReadMSInformation( return iBitsRead; } #ifdef SPLIT_REND_LCLD_5MS int32_t GetNumPredSubSets( LCLDDecoder *psLCLDDecoder ) { return psLCLDDecoder->psPredictionDecoder->iNumSubSets; } #endif static int32_t ReadGroupInformation( const int32_t iChannels, const int32_t iNumBlocks, Loading
lib_rend/ivas_lcld_encoder.c +9 −7 Original line number Diff line number Diff line Loading @@ -95,7 +95,8 @@ struct LCLD_ENCODER * *------------------------------------------------------------------------------------------*/ static int32_t Quantize( const float fVal, static int32_t Quantize( const float fVal, const float fScale, int32_t *iSign, const int32_t iMaxVal ) Loading @@ -122,7 +123,8 @@ static int32_t Quantize( const float fVal, * *------------------------------------------------------------------------------------------*/ static float UnQuantize( const int32_t iVal, static float UnQuantize( const int32_t iVal, const float fScale, const int32_t iSign ) { Loading