Loading apps/decoder.c +5 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,11 @@ int main( { arg.enable5ms = false; } if ( ( error = IVAS_DEC_Set5msFlag( hIvasDec, arg.enable5ms ) ) != IVAS_ERR_OK ) { return error; } #endif #endif Loading lib_dec/lib_dec.c +22 −0 Original line number Diff line number Diff line Loading @@ -543,6 +543,28 @@ ivas_error IVAS_DEC_EnableSplitRendering( #ifdef API_5MS /*---------------------------------------------------------------------* * IVAS_DEC_Set5msFlag( ) * * Get the 5ms flag *---------------------------------------------------------------------*/ ivas_error IVAS_DEC_Set5msFlag( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ const int16_t enable5ms /* i : 5ms flag */ ) { if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hDecoderConfig == NULL ) { return IVAS_ERR_UNEXPECTED_NULL_POINTER; } hIvasDec->st_ivas->hDecoderConfig->Opt_5ms = enable5ms; return IVAS_ERR_OK; } /*---------------------------------------------------------------------* * IVAS_DEC_Get5msFlag( ) * Loading lib_dec/lib_dec.h +5 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,11 @@ ivas_error IVAS_DEC_EnableSplitRendering( ); #endif ivas_error IVAS_DEC_Set5msFlag( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ const int16_t enable5ms /* i : 5ms flag */ ); ivas_error IVAS_DEC_Get5msFlag( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ int16_t *enable5ms /* o : 5ms flag */ Loading Loading
apps/decoder.c +5 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,11 @@ int main( { arg.enable5ms = false; } if ( ( error = IVAS_DEC_Set5msFlag( hIvasDec, arg.enable5ms ) ) != IVAS_ERR_OK ) { return error; } #endif #endif Loading
lib_dec/lib_dec.c +22 −0 Original line number Diff line number Diff line Loading @@ -543,6 +543,28 @@ ivas_error IVAS_DEC_EnableSplitRendering( #ifdef API_5MS /*---------------------------------------------------------------------* * IVAS_DEC_Set5msFlag( ) * * Get the 5ms flag *---------------------------------------------------------------------*/ ivas_error IVAS_DEC_Set5msFlag( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ const int16_t enable5ms /* i : 5ms flag */ ) { if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hDecoderConfig == NULL ) { return IVAS_ERR_UNEXPECTED_NULL_POINTER; } hIvasDec->st_ivas->hDecoderConfig->Opt_5ms = enable5ms; return IVAS_ERR_OK; } /*---------------------------------------------------------------------* * IVAS_DEC_Get5msFlag( ) * Loading
lib_dec/lib_dec.h +5 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,11 @@ ivas_error IVAS_DEC_EnableSplitRendering( ); #endif ivas_error IVAS_DEC_Set5msFlag( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ const int16_t enable5ms /* i : 5ms flag */ ); ivas_error IVAS_DEC_Get5msFlag( IVAS_DEC_HANDLE hIvasDec, /* i/o: IVAS decoder handle */ int16_t *enable5ms /* o : 5ms flag */ Loading