Loading lib_com/delay_comp.c +12 −11 Original line number Original line Diff line number Diff line Loading @@ -69,14 +69,15 @@ int32_t get_delay( { { delay = IVAS_ENC_DELAY_NS; delay = IVAS_ENC_DELAY_NS; if ( ivas_format == MASA_FORMAT ) #ifdef FIX_356_ISM_METADATA_SYNC if ( ivas_format == ISM_FORMAT || ivas_format == MASA_FORMAT ) { { delay = 0; /* All delay is compensated in the decoder with MASA */ delay = 0; /* All delay is compensated in the decoder with MASA/ISM */ } } #ifdef FIX_356_ISM_METADATA_SYNC #else if (ivas_format == ISM_FORMAT) if ( ivas_format == MASA_FORMAT ) { { delay = 0; /* All delay is compensated in the decoder with ISM */ delay = 0; /* All delay is compensated in the decoder with MASA */ } } #endif #endif } } Loading Loading @@ -110,15 +111,15 @@ int32_t get_delay( delay += IVAS_FB_DEC_DELAY_NS; delay += IVAS_FB_DEC_DELAY_NS; } } #ifdef FIX_356_ISM_METADATA_SYNC if ( ivas_format == MASA_FORMAT ) if ( ivas_format == ISM_FORMAT || ivas_format == MASA_FORMAT ) { { delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with MASA */ delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with ISM/MASA */ } } #ifdef FIX_356_ISM_METADATA_SYNC #else if (ivas_format == ISM_FORMAT) if ( ivas_format == MASA_FORMAT ) { { delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with ISM */ delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with MASA */ } } #endif #endif } } Loading Loading
lib_com/delay_comp.c +12 −11 Original line number Original line Diff line number Diff line Loading @@ -69,14 +69,15 @@ int32_t get_delay( { { delay = IVAS_ENC_DELAY_NS; delay = IVAS_ENC_DELAY_NS; if ( ivas_format == MASA_FORMAT ) #ifdef FIX_356_ISM_METADATA_SYNC if ( ivas_format == ISM_FORMAT || ivas_format == MASA_FORMAT ) { { delay = 0; /* All delay is compensated in the decoder with MASA */ delay = 0; /* All delay is compensated in the decoder with MASA/ISM */ } } #ifdef FIX_356_ISM_METADATA_SYNC #else if (ivas_format == ISM_FORMAT) if ( ivas_format == MASA_FORMAT ) { { delay = 0; /* All delay is compensated in the decoder with ISM */ delay = 0; /* All delay is compensated in the decoder with MASA */ } } #endif #endif } } Loading Loading @@ -110,15 +111,15 @@ int32_t get_delay( delay += IVAS_FB_DEC_DELAY_NS; delay += IVAS_FB_DEC_DELAY_NS; } } #ifdef FIX_356_ISM_METADATA_SYNC if ( ivas_format == MASA_FORMAT ) if ( ivas_format == ISM_FORMAT || ivas_format == MASA_FORMAT ) { { delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with MASA */ delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with ISM/MASA */ } } #ifdef FIX_356_ISM_METADATA_SYNC #else if (ivas_format == ISM_FORMAT) if ( ivas_format == MASA_FORMAT ) { { delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with ISM */ delay += IVAS_ENC_DELAY_NS; /* Compensate also the encoder delay in the decoder with MASA */ } } #endif #endif } } Loading