Loading lib_rend/ivas_lcld_decoder.c +2 −2 Original line number Diff line number Diff line Loading @@ -359,7 +359,7 @@ ivas_error CreateLCLDDecoder( ivas_error error; LCLDDecoder *psLCLDDecoder = NULL; assert( iSampleRate == 48000 ); /* Fix */ assert( iSampleRate == 48000 ); #ifdef SPLIT_REND_LCLD_5MS assert( iNumBlocks == 16 || iNumBlocks == 8 || iNumBlocks == 4 ); #endif Loading @@ -381,7 +381,7 @@ ivas_error CreateLCLDDecoder( #else psLCLDDecoder->iNumBands = MAX_BANDS_48; /* Fix */ #endif psLCLDDecoder->piBandwidths = c_aiBandwidths48; /* Fix */ psLCLDDecoder->piBandwidths = c_aiBandwidths48; psLCLDDecoder->iMSMode = 0; if ( ( psLCLDDecoder->piMSFlags = (int32_t *) malloc( MAX_BANDS * sizeof( int32_t ) ) ) == NULL ) Loading lib_rend/ivas_lcld_encoder.c +20 −2 Original line number Diff line number Diff line Loading @@ -89,7 +89,16 @@ struct LCLD_ENCODER }; #ifdef SPLIT_REND_LCLD_5MS static int32_t Quantize( float fVal, float fScale, int32_t *iSign, int32_t iMaxVal ) /*------------------------------------------------------------------------------------------* * Function Quantize() * * *------------------------------------------------------------------------------------------*/ static int32_t Quantize( const float fVal, const float fScale, int32_t *iSign, const int32_t iMaxVal ) { int32_t iVal; if ( fVal > 0.0f ) Loading @@ -106,7 +115,16 @@ static int32_t Quantize( float fVal, float fScale, int32_t *iSign, int32_t iMaxV return iVal; } static float UnQuantize( int32_t iVal, float fScale, int32_t iSign ) /*------------------------------------------------------------------------------------------* * Function UnQuantize() * * *------------------------------------------------------------------------------------------*/ static float UnQuantize( const int32_t iVal, const float fScale, const int32_t iSign ) { float fVal; if ( iSign == 0 ) Loading Loading
lib_rend/ivas_lcld_decoder.c +2 −2 Original line number Diff line number Diff line Loading @@ -359,7 +359,7 @@ ivas_error CreateLCLDDecoder( ivas_error error; LCLDDecoder *psLCLDDecoder = NULL; assert( iSampleRate == 48000 ); /* Fix */ assert( iSampleRate == 48000 ); #ifdef SPLIT_REND_LCLD_5MS assert( iNumBlocks == 16 || iNumBlocks == 8 || iNumBlocks == 4 ); #endif Loading @@ -381,7 +381,7 @@ ivas_error CreateLCLDDecoder( #else psLCLDDecoder->iNumBands = MAX_BANDS_48; /* Fix */ #endif psLCLDDecoder->piBandwidths = c_aiBandwidths48; /* Fix */ psLCLDDecoder->piBandwidths = c_aiBandwidths48; psLCLDDecoder->iMSMode = 0; if ( ( psLCLDDecoder->piMSFlags = (int32_t *) malloc( MAX_BANDS * sizeof( int32_t ) ) ) == NULL ) Loading
lib_rend/ivas_lcld_encoder.c +20 −2 Original line number Diff line number Diff line Loading @@ -89,7 +89,16 @@ struct LCLD_ENCODER }; #ifdef SPLIT_REND_LCLD_5MS static int32_t Quantize( float fVal, float fScale, int32_t *iSign, int32_t iMaxVal ) /*------------------------------------------------------------------------------------------* * Function Quantize() * * *------------------------------------------------------------------------------------------*/ static int32_t Quantize( const float fVal, const float fScale, int32_t *iSign, const int32_t iMaxVal ) { int32_t iVal; if ( fVal > 0.0f ) Loading @@ -106,7 +115,16 @@ static int32_t Quantize( float fVal, float fScale, int32_t *iSign, int32_t iMaxV return iVal; } static float UnQuantize( int32_t iVal, float fScale, int32_t iSign ) /*------------------------------------------------------------------------------------------* * Function UnQuantize() * * *------------------------------------------------------------------------------------------*/ static float UnQuantize( const int32_t iVal, const float fScale, const int32_t iSign ) { float fVal; if ( iSign == 0 ) Loading