Commit 2261cd34 authored by vaclav's avatar vaclav
Browse files

- Merge remote-tracking branch 'remotes/origin/main' into...

- Merge remote-tracking branch 'remotes/origin/main' into 854-mismatch-of-definition-and-declaration-of-output-signal-in-ivas_core_dec
parents 175d2f6d c649e5f2
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@
/*#define SPLIT_REND_WITH_HEAD_ROT*/                    /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_854_ARRAY_SIZE_MISMATCH                     /* VA: issue 854: correct the mismatch between definition and declaration of `ivas_core_dec() */
#define FIX_785_REMOVE_DEAD_CODE                        /* VA: issue 785: remove dead code */


/* #################### End BE switches ################################## */
+4 −0
Original line number Diff line number Diff line
@@ -872,8 +872,12 @@ static void ivas_binaural_obtain_DMX(
{
    int16_t chIdx, bandIdx, k;

#ifdef FIX_785_REMOVE_DEAD_CODE
    if ( hBinRenderer->ivas_format == MC_FORMAT )
#else
    // ToDo: hBinRenderer->ivas_format is never set to ISM_FORMAT
    if ( hBinRenderer->ivas_format == MC_FORMAT || hBinRenderer->ivas_format == ISM_FORMAT )
#endif
    {
        /* Obtain the downmix */
        float P_in[CLDFB_NO_CHANNELS_MAX];
+6 −0
Original line number Diff line number Diff line
@@ -334,14 +334,18 @@ ivas_error create_mct_enc(
    {
        hMCT->nchan_out_woLFE = MC_PARAMUPMIX_MAX_TRANSPORT_CHANS - 1;
    }
#ifndef FIX_785_REMOVE_DEAD_CODE
    else if ( ivas_format == SBA_FORMAT )
    {
        hMCT->nchan_out_woLFE = ivas_sba_get_nchan( st_ivas->sba_analysis_order, st_ivas->hEncoderConfig->sba_planar );
    }
#endif
#ifdef DEBUGGING
    else
    {
        assert( !"IVAS format currently not supported for MCT" );
    }
#endif

    cp_bitrate = ivas_total_brate / hMCT->nchan_out_woLFE * CPE_CHANNELS;
    if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC )
@@ -463,10 +467,12 @@ ivas_error mct_enc_reconfigure(
                hMCT->nchan_out_woLFE += st_ivas->hEncoderConfig->nchan_ism;
            }
        }
#ifdef DEBUGGING
        else
        {
            assert( !"IVAS format currently not supported for MCT" );
        }
#endif
    }

    cp_bitrate = ivas_total_brate / hMCT->nchan_out_woLFE * CPE_CHANNELS;