Commit 9c775b94 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Merge branch 'main' into philips/contribution-38-control-metadata-reverb

parents a31c52ce ce26b0c9
Loading
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -953,7 +953,7 @@ sanitizer-test-ism3:
    - if: $SANITIZER_SCHEDULE_A
      when: delayed
      start_in: 11 hours
  timeout: 3 hour
  timeout: 4 hour
  script:
    - *update-ltv-repo
    - python3 ci/run_scheduled_sanitizer_test.py ISM3 $OUT_FORMATS_CHANNEL_BASED $OUT_FORMATS_SCENE_BASED $OUT_FORMATS_BINAURAL EXT --tests $SANITIZER_TESTS
@@ -963,8 +963,8 @@ sanitizer-test-ism4:
  rules:
    - if: $SANITIZER_SCHEDULE_A
      when: delayed
      start_in: 14 hours
  timeout: 4 hours
      start_in: 15 hours
  timeout: 6 hours
  script:
    - *update-ltv-repo
    - python3 ci/run_scheduled_sanitizer_test.py ISM4 $OUT_FORMATS_CHANNEL_BASED $OUT_FORMATS_SCENE_BASED $OUT_FORMATS_BINAURAL EXT --tests $SANITIZER_TESTS
@@ -974,7 +974,7 @@ sanitizer-test-masa:
  rules:
    - if: $SANITIZER_SCHEDULE_A
      when: delayed
      start_in: 18 hours
      start_in: 21 hours
  timeout: 3 hours
  script:
    - *update-ltv-repo
@@ -1092,7 +1092,7 @@ sanitizer-test-ism+3:
    - if: $SANITIZER_SCHEDULE_D
      when: delayed
      start_in: 5 hours
  timeout: 3 hour
  timeout: 4 hours
  script:
    - *update-ltv-repo
    - python3 ci/run_scheduled_sanitizer_test.py ISM+3 $OUT_FORMATS_CHANNEL_BASED $OUT_FORMATS_SCENE_BASED $OUT_FORMATS_BINAURAL EXT --tests $SANITIZER_TESTS
@@ -1102,8 +1102,8 @@ sanitizer-test-ism+4:
  rules:
    - if: $SANITIZER_SCHEDULE_D
      when: delayed
      start_in: 8 hours
  timeout: 4 hours
      start_in: 9 hours
  timeout: 6 hours
  script:
    - *update-ltv-repo
    - python3 ci/run_scheduled_sanitizer_test.py ISM+4 $OUT_FORMATS_CHANNEL_BASED $OUT_FORMATS_SCENE_BASED $OUT_FORMATS_BINAURAL EXT --tests $SANITIZER_TESTS
+7 −0
Original line number Diff line number Diff line
@@ -309,8 +309,12 @@ typedef enum
#define MIN_BRATE_SWB_STEREO                    IVAS_13k2                   /* min. stereo bitrate where SWB is supported */
#define MIN_BRATE_FB_STEREO                     IVAS_32k                    /* min. SCE and stereo bitrate where FB is supported */
#ifdef ISM_FB
#ifdef ISM_FB_16k4
#define MIN_BRATE_FB_ISM                        16000                       /* min. SCE bitrate where FB is supported in ISM format */
#else
#define MIN_BRATE_FB_ISM                        24000                       /* min. SCE bitrate where FB is supported in ISM format */
#endif
#endif

#define MIN_TDM_BRATE_WB_TBE_1k05               12000                       /* min. per channel bitrate where WB TBE @1.05 kbps is supported (0.35kbs at lower bitrates) */
#define MIN_BRATE_WB_TBE_1k05                   9650                        /* min. per channel bitrate where WB TBE @1.05 kbps is supported (0.35kbs at lower bitrates) */
@@ -1413,6 +1417,9 @@ typedef enum
#ifdef FIX_563_PARAMMC_LIMITER
#define PARAM_MC_ENER_LIMIT_MAX_DELTA_FAC       (15.0f)
#endif
#ifdef FIX_580_PARAMMC_ENER_BURSTS
#define PARAM_MC_NUM_ATTACK_ILD_THRESH          (3)
#endif
#define PARAM_MC_LFE_ON_THRESH                  (8000.0f)
#define PARAM_MC_BAND_TO_MDCT_BAND_RATIO        16                          /* Ratio of resolution of CLDFB Bands to MDCT Bands */
#define PARAM_MC_SLOT_ENC_NS                    2500000L
+77 −53
Original line number Diff line number Diff line
@@ -3844,7 +3844,7 @@ void calculate_hodirac_sector_parameters(
void ivas_mc_paramupmix_enc(
    Encoder_Struct *st_ivas,                                    /* i/o: IVAS Encoder handle                             */
    BSTR_ENC_HANDLE hMetaData,                                  /* i/o: IVAS Metadata bitstream handle                  */
    float data_f[][L_FRAME48k],                                     /* i/o: input: CICP6, CICP12, CICP14, CICP16 or CICP19 MC data */
    float data_f[][L_FRAME48k],                                 /* i/o: input: MC data                                  */
    const int16_t input_frame                                   /* i  : input frame length                              */
);

@@ -3921,7 +3921,7 @@ void ivas_param_mc_enc_close(
void ivas_param_mc_enc(
    Encoder_Struct *st_ivas,                                    /* i/o: IVAS Encoder handle                                 */
    BSTR_ENC_HANDLE hMetaData,                                  /* i/o: IVAS Metadata bitstream handle                      */
    float data_f[][L_FRAME48k],                                 /* i/o: input: CICP6, CICP12, CICP14, CICP16 or CICP19 MC data */
    float data_f[][L_FRAME48k],                                 /* i/o: input: MC data                                      */
    const int16_t input_frame                                   /* i  : input frame length                                  */
);

@@ -4522,9 +4522,11 @@ void ivas_get_spar_md_from_dirac(
    const int16_t active_w_vlbr
);

/*! r: number of MD subframes */
int16_t ivas_get_spar_dec_md_num_subframes(
    const int16_t sba_order,                                    /* i  : Ambisonic (SBA) order                   */
    const int32_t ivas_total_brate );
    const int32_t ivas_total_brate                              /* i  : IVAS total bitrate                      */
);

ivas_error ivas_spar_md_dec_open(
    ivas_spar_md_dec_state_t **hMdDec_out,                      /* i/o: SPAR MD decoder handle                  */
@@ -4600,7 +4602,7 @@ ivas_error ivas_spar_covar_enc_open(
    ivas_filterbank_t *pFb,                                     /* i/o: FB handle                               */
    const int32_t input_Fs,                                     /* i  : input sampling rate                     */
    const int16_t nchan_inp,                                    /* i  : number of input channels                */
    COV_SMOOTHING_TYPE smooth_mode,                    /* i : Smooth covariance for SPAR or MC*/
    const COV_SMOOTHING_TYPE smooth_mode,                       /* i  : Smooth covariance for SPAR or MC        */
	const int32_t ivas_total_brate                              /* i  : IVAS total bitrate                      */
);

@@ -5448,6 +5450,28 @@ void ivas_lfe_synth_with_filters(
);


#ifdef FIX_572_LFE_LPF_ENC
/*----------------------------------------------------------------------------------*
 * LFE encoder low pass filter prototypes
 *----------------------------------------------------------------------------------*/

ivas_error ivas_create_lfe_lpf_enc(
    ivas_filters_process_state_t **hLfeLpf,                     /* o  : LFE LPF handle                          */
    const int32_t input_Fs                                      /* i  : input sampling rate                     */
);

void ivas_lfe_lpf_enc_close(
    ivas_filters_process_state_t **hLfeLpf                      /* i/o: LFE LPF handle                          */
);

void ivas_lfe_lpf_enc_apply(
    ivas_filters_process_state_t *hLfeLpf,                      /* i/o: LFE LPF handle                          */
    float data_lfe_ch[],                                        /* i/o: LFE signal                              */
    const int16_t input_frame                                   /* i  : input frame length per channel          */
);
#endif


/*----------------------------------------------------------------------------------*
 * LFE Coding prototypes
 *----------------------------------------------------------------------------------*/
+0 −1
Original line number Diff line number Diff line
@@ -1803,7 +1803,6 @@ const int16_t param_mc_band_grouping_14[14 + 1] =
    0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 16, 20, 28, 40, 60
};
const int16_t param_mc_coding_band_mapping_14[14] =
{
    1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0
+12 −5
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@
/*MCT Debug switches*/
/*#define DEBUG_FORCE_MCT_CP*/                  /* force MCT Stereo pairs for verification with SPAR */
#ifdef DEBUG_FORCE_MCT_CP
/*#define DEBUG_SINGLE_CODE_OMNI*/              /* force 3 TC SBA always code W channel seperately   */
/*#define DEBUG_SINGLE_CODE_OMNI*/              /* force 3 TC SBA always code W channel separately   */
#endif

/*PLC Debug switches*/
@@ -125,7 +125,7 @@
#endif
/*#define SPAR_HOA_DBG*/                        /* SPAR HOA debug statements */
/*#define DEBUG_BINAURAL_FILTER_DESIGN*/        /* debugging of Crend binaural filter design */
//#define DEBUG_AGC_ENCODER_CMD_OPTION            /* Ability to force enable or disable AGC behaviour in DIRAC/SPAR via command line option */
/*#define DEBUG_AGC_ENCODER_CMD_OPTION*/        /* Ability to force enable or disable AGC behaviour in DIRAC/SPAR via command line option */
#define DEBUG_JBM_CMD_OPTION                    /* ability for telling the decoder the frontend fetch size and to not delay compensate for bad frames at the beginning */

#define VARIABLE_SPEED_DECODING                 /* variable speed decoding employing the JBM functioniality; move to DEBUGGING after build for disabled is fixed */
@@ -154,8 +154,15 @@
#define FIX_565_SBA_BURST_IN_FEC                        /* VA: Issue 565: Fix noise burst during FEC, due to wrong total_brate initialization */
#define FIX_562_ISM2_64KBPS                             /* VA: issue 562: fix ISM2 at 64kbps issue */
#define FIX_559_EXTL_IGF_MISMATCH                       /* VA: issue 559: fix mismatch between st->extl and st->igf observed as crash in PlanarSBA bitrate switching */

#define FIX_572_LFE_LPF_ENC                             /* FhG: issue 572: always apply the low pass filter to the LFE channel */
#define FIX_QMETA_SID_5k2                               /* Nokia: Issue 137: enable using full 5.2k bitrate in MASA SID */
#define FIX_578_PARAMMC_ILD_BS                          /* FhG: Issue 578: transmitt also center ILD in band 0 when LFE is active in 3TC ParamMC */
#define FIX_UNCLR_ISSUE                                 /* VoiceAge: issue 574: Fix UNCLR mis-classifications in noisy speech stereo */
#define FIX_TCX_LOWRATE_LIMITATION                      /* VA: issue 577: TCX bitrate limitation only when DEBUGGING is active */
#define FIX_575_LOW_OVERLAP_PLC_RECOVERY                /* FhG: Issue 575 fix for PLC and transistion to TCX5*/
#define ISM_FB_16k4                                     /* VA: Issue: 579: change BW from SWB to FB in NxISM conditions to match the EVS codec */
#define FIX_580_PARAMMC_ENER_BURSTS                     /* FhG: issue 580: energy bursts due to ILD holding when energy relations change too much */


/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
Loading