Loading lib_rend/ivas_objectRenderer_fx.c +19 −1 Original line number Diff line number Diff line Loading @@ -422,13 +422,25 @@ ivas_error ivas_td_binaural_renderer_unwrap_fx( Word16 tmp_headRotEnabled; tmp_headRotEnabled = 0; move16(); if ( enableCombinedOrientation != NULL ) #ifdef FIX_1135_EXT_RENDERER_HANDLES Word16 tmp_CombinedOrient_subframe_idx; tmp_CombinedOrient_subframe_idx = 0; move16(); #endif IF( enableCombinedOrientation != NULL ) { tmp_headRotEnabled = enableCombinedOrientation[hCombinedOrientationData->subframe_idx]; move16(); #ifdef FIX_1135_EXT_RENDERER_HANDLES tmp_CombinedOrient_subframe_idx = hCombinedOrientationData->subframe_idx; #endif } #ifdef FIX_1135_EXT_RENDERER_HANDLES IF( NE_32( ( error = TDREND_Update_listener_orientation_fx( hBinRendererTd, tmp_headRotEnabled, &Quaternions[tmp_CombinedOrient_subframe_idx], &Pos[tmp_CombinedOrient_subframe_idx] ) ), IVAS_ERR_OK ) ) #else IF( NE_32( ( error = TDREND_Update_listener_orientation_fx( hBinRendererTd, tmp_headRotEnabled, &Quaternions[hCombinedOrientationData->subframe_idx], &Pos[hCombinedOrientationData->subframe_idx] ) ), IVAS_ERR_OK ) ) #endif { return error; } Loading Loading @@ -995,7 +1007,13 @@ ivas_error ivas_td_binaural_renderer_ext_fx( move16(); Word16 pos_q = Q25; move16(); #ifdef FIX_1135_EXT_RENDERER_HANDLES test(); IF( *hCombinedOrientationData != NULL && ( *hCombinedOrientationData )->listenerPos != NULL ) #else IF( ( *hCombinedOrientationData )->listenerPos != NULL ) #endif { ( *hCombinedOrientationData )->listenerPos[idx].x_fx = L_shr( ( *hCombinedOrientationData )->listenerPos[idx].x_fx, sub( ( *hCombinedOrientationData )->listenerPos[idx].q_fact, pos_q ) ); move32(); Loading Loading
lib_rend/ivas_objectRenderer_fx.c +19 −1 Original line number Diff line number Diff line Loading @@ -422,13 +422,25 @@ ivas_error ivas_td_binaural_renderer_unwrap_fx( Word16 tmp_headRotEnabled; tmp_headRotEnabled = 0; move16(); if ( enableCombinedOrientation != NULL ) #ifdef FIX_1135_EXT_RENDERER_HANDLES Word16 tmp_CombinedOrient_subframe_idx; tmp_CombinedOrient_subframe_idx = 0; move16(); #endif IF( enableCombinedOrientation != NULL ) { tmp_headRotEnabled = enableCombinedOrientation[hCombinedOrientationData->subframe_idx]; move16(); #ifdef FIX_1135_EXT_RENDERER_HANDLES tmp_CombinedOrient_subframe_idx = hCombinedOrientationData->subframe_idx; #endif } #ifdef FIX_1135_EXT_RENDERER_HANDLES IF( NE_32( ( error = TDREND_Update_listener_orientation_fx( hBinRendererTd, tmp_headRotEnabled, &Quaternions[tmp_CombinedOrient_subframe_idx], &Pos[tmp_CombinedOrient_subframe_idx] ) ), IVAS_ERR_OK ) ) #else IF( NE_32( ( error = TDREND_Update_listener_orientation_fx( hBinRendererTd, tmp_headRotEnabled, &Quaternions[hCombinedOrientationData->subframe_idx], &Pos[hCombinedOrientationData->subframe_idx] ) ), IVAS_ERR_OK ) ) #endif { return error; } Loading Loading @@ -995,7 +1007,13 @@ ivas_error ivas_td_binaural_renderer_ext_fx( move16(); Word16 pos_q = Q25; move16(); #ifdef FIX_1135_EXT_RENDERER_HANDLES test(); IF( *hCombinedOrientationData != NULL && ( *hCombinedOrientationData )->listenerPos != NULL ) #else IF( ( *hCombinedOrientationData )->listenerPos != NULL ) #endif { ( *hCombinedOrientationData )->listenerPos[idx].x_fx = L_shr( ( *hCombinedOrientationData )->listenerPos[idx].x_fx, sub( ( *hCombinedOrientationData )->listenerPos[idx].q_fact, pos_q ) ); move32(); Loading