Commit 77a9656e authored by TYAGIRIS's avatar TYAGIRIS
Browse files

Merge branch 'main' into new-osba-baseline

parents cf055bd5 ffc0f806
Loading
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -1114,7 +1114,7 @@ typedef enum

#define IVAS_SPAR_BR_TABLE_LEN                  20

/* TD decorr */ // ToDo: not all 16CH are currently supported -> to be revisited later
/* TD decorr */
enum
{
    IVAS_TD_DECORR_OUT_1CH = 1,
@@ -1124,19 +1124,11 @@ enum
    IVAS_TD_DECORR_OUT_5CH,
    IVAS_TD_DECORR_OUT_6CH,
    IVAS_TD_DECORR_OUT_7CH,
    IVAS_TD_DECORR_OUT_8CH,
    IVAS_TD_DECORR_OUT_9CH,
    IVAS_TD_DECORR_OUT_10CH,
    IVAS_TD_DECORR_OUT_11CH,
    IVAS_TD_DECORR_OUT_12CH,
    IVAS_TD_DECORR_OUT_13CH,
    IVAS_TD_DECORR_OUT_14CH,
    IVAS_TD_DECORR_OUT_15CH,
    IVAS_TD_DECORR_OUT_16CH
    IVAS_TD_DECORR_OUT_8CH
};

#define IVAS_SPAR_MAX_DMX_CHS                   4
#define IVAS_MAX_DECORR_CHS                     IVAS_TD_DECORR_OUT_15CH
#define IVAS_MAX_DECORR_CHS                     IVAS_TD_DECORR_OUT_8CH 
#define IVAS_MAX_DECORR_APD_SECTIONS            16
#define IVAS_APD_2_SECT                         2
#define IVAS_APD_4_SECT                         4
+0 −12
Original line number Diff line number Diff line
@@ -334,23 +334,12 @@ static int16_t ivas_get_APD_filt_orders(
        case IVAS_TD_DECORR_OUT_4CH:
            num_apd_sections = IVAS_APD_4_SECT;
            break;

        case IVAS_TD_DECORR_OUT_5CH:
        case IVAS_TD_DECORR_OUT_6CH:
        case IVAS_TD_DECORR_OUT_7CH:
        case IVAS_TD_DECORR_OUT_8CH:
            num_apd_sections = IVAS_APD_8_SECT;
            break;
        case IVAS_TD_DECORR_OUT_9CH:
        case IVAS_TD_DECORR_OUT_10CH:
        case IVAS_TD_DECORR_OUT_11CH:
        case IVAS_TD_DECORR_OUT_12CH:
        case IVAS_TD_DECORR_OUT_13CH:
        case IVAS_TD_DECORR_OUT_14CH:
        case IVAS_TD_DECORR_OUT_15CH:
        case IVAS_TD_DECORR_OUT_16CH:
            num_apd_sections = IVAS_APD_16_SECT;
            break;
        default:
            assert( !"Invalid num out chans" );
            break;
@@ -367,7 +356,6 @@ static int16_t ivas_get_APD_filt_orders(
    {
        APD_filt_orders[i] = (int16_t) ceil( output_Fs * IVAS_DECORR_PARM_APD_TAU * R[i] / sum_R );
    }

    return num_apd_sections;
}

+0 −5
Original line number Diff line number Diff line
@@ -482,10 +482,6 @@ static ivas_error ivas_dirac_rend_config(
        {
            hDirACRend->num_protos_diff = 1;
            hDirACRend->num_protos_dir = nchan_transport;
            if ( ( st_ivas->sba_planar ) && ( !( st_ivas->ivas_format == SBA_FORMAT ) ) ) // Todo Dolby/FhG refactor: Is this ever true?
            {
                hDirACRend->num_protos_dir++;
            }

            for ( k = 0; k < min( hDirACRend->num_outputs_dir, hDirACRend->num_protos_dir ); k++ )
            {
@@ -1915,7 +1911,6 @@ void ivas_dirac_dec_render_sf(
    {
        md_idx = hSpatParamRendCom->render_to_md_map[slot_idx_start];
    }
    /* ToDo: Another workaround for self test BE */

    /* copy parameters into local buffers*/
    if ( hDirAC->hConfig->dec_param_estim == FALSE )
+0 −1
Original line number Diff line number Diff line
@@ -45,7 +45,6 @@
/*------------------------------------------------------------------------------------------*
 * PreProcessor
 *------------------------------------------------------------------------------------------*/
#define IVAS_MAX_MD_BYTES ( 1000 ) // ToDo: not used

static const float pr_boost_range[2] = { 0.1f, 0.4f };