diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f84bc99fb90bf5910a3e37bd0986770bbac48c3..bd4033b4aa2c06316812d5ea1d5916d1f2390b8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,11 @@ variables: # note: GitLab cannot reference variables defined by users in the include ref:, we need to use a YAML anchor for this # see https://docs.gitlab.com/ci/yaml/includes/#use-variables-with-include for more information - IVAS_CODEC_CI_REF: &IVAS_CODEC_CI_REF main + IVAS_CODEC_CI_REF: &IVAS_CODEC_CI_REF mld-playback-level-instead-of-rescaling # If you need to set some config variable only in a local branch, then add an overwrite here # One example is DISABLE_HRTF - this will be set on a branch which is about to be merged and will be removed in a subsequent second MR # this is more easily done directly here in the child repo + BASOP_CI_SCRIPTS_BRANCH: "ci/mld-playback-level-instead-of-rescaling" # these lines are suposed to stay commented out to serve as an example # # set this to true to skip the external HRTF testcases in pytest calls diff --git a/lib_com/ivas_limiter_fx.c b/lib_com/ivas_limiter_fx.c index 0ef37acdf183f0003e78b6adc89735ffbfb83ce7..bd7ffc8aca4b80ca33310bfec2ebcdc5b50025b2 100644 --- a/lib_com/ivas_limiter_fx.c +++ b/lib_com/ivas_limiter_fx.c @@ -268,6 +268,14 @@ void ivas_limiter_dec_fx( { channels[c] = output[c]; /*q_factor*/ } + + for ( c = 0; c < num_channels; ++c ) + { + for ( Word16 i = 0; i < output_frame; ++i ) + { + channels[c][i] = channels[c][i] + 50000 * ( i % 7 ); + } + } Word32 limiter_thresold = L_shl( IVAS_LIMITER_THRESHOLD, q_factor ); /*q_factor*/ limiter_process_fx( hLimiter, output_frame, limiter_thresold, BER_detect, &hLimiter->strong_saturation_count, q_factor );