Loading lib_dec/ivas_ism_param_dec.c +8 −3 Original line number Diff line number Diff line Loading @@ -754,8 +754,8 @@ void ivas_ism_dec_digest_tc( } else { // TODO tmu review when #215 is resolved #ifndef NONBE_1412_AVOID_ROUNDING_AZ_ELEV // TODO tmu review when #215 is resolved azimuth = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_azimuth + 0.5f ); elevation = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_elevation + 0.5f ); #endif Loading @@ -770,7 +770,11 @@ void ivas_ism_dec_digest_tc( if ( st_ivas->hIntSetup.is_planar_setup ) { /* If no elevation support in output format, then rendering should be done with zero elevation */ #ifdef NONBE_1412_AVOID_ROUNDING_AZ_ELEV elevation = 0.f; #else elevation = 0; #endif } if ( st_ivas->hEFAPdata != NULL ) Loading @@ -788,10 +792,11 @@ void ivas_ism_dec_digest_tc( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV ) { #ifdef NONBE_1412_AVOID_ROUNDING_AZ_ELEV // TODO tmu review when #215 is resolved int16_t azimuth, elevation; azimuth = (int16_t) roundf( st_ivas->hIsmMetaData[i]->edited_azimuth ); elevation = (int16_t) roundf( st_ivas->hIsmMetaData[i]->edited_elevation ); azimuth = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_azimuth + 0.5f ); elevation = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_elevation + 0.5f ); #endif /*get HOA gets for direction (ACN/SN3D)*/ ivas_dirac_dec_get_response( azimuth, elevation, st_ivas->hIsmRendererData->gains[i], st_ivas->hIntSetup.ambisonics_order ); Loading Loading
lib_dec/ivas_ism_param_dec.c +8 −3 Original line number Diff line number Diff line Loading @@ -754,8 +754,8 @@ void ivas_ism_dec_digest_tc( } else { // TODO tmu review when #215 is resolved #ifndef NONBE_1412_AVOID_ROUNDING_AZ_ELEV // TODO tmu review when #215 is resolved azimuth = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_azimuth + 0.5f ); elevation = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_elevation + 0.5f ); #endif Loading @@ -770,7 +770,11 @@ void ivas_ism_dec_digest_tc( if ( st_ivas->hIntSetup.is_planar_setup ) { /* If no elevation support in output format, then rendering should be done with zero elevation */ #ifdef NONBE_1412_AVOID_ROUNDING_AZ_ELEV elevation = 0.f; #else elevation = 0; #endif } if ( st_ivas->hEFAPdata != NULL ) Loading @@ -788,10 +792,11 @@ void ivas_ism_dec_digest_tc( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV ) { #ifdef NONBE_1412_AVOID_ROUNDING_AZ_ELEV // TODO tmu review when #215 is resolved int16_t azimuth, elevation; azimuth = (int16_t) roundf( st_ivas->hIsmMetaData[i]->edited_azimuth ); elevation = (int16_t) roundf( st_ivas->hIsmMetaData[i]->edited_elevation ); azimuth = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_azimuth + 0.5f ); elevation = (int16_t) floorf( st_ivas->hIsmMetaData[i]->edited_elevation + 0.5f ); #endif /*get HOA gets for direction (ACN/SN3D)*/ ivas_dirac_dec_get_response( azimuth, elevation, st_ivas->hIsmRendererData->gains[i], st_ivas->hIntSetup.ambisonics_order ); Loading