Commit 3b216c0f authored by emerit's avatar emerit
Browse files

on going Merge branch 'main' into orange/no-diegetic-pan-with-radius

parents 0ed91fad 0454c2aa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -165,9 +165,10 @@
#define TD5                                             /* Eri: Contribution 17: Extended metadata for 6 DoF rendering in TD renderer */
#define BINAURALIZATION_DELAY_REPORT                    /* VA: Issue 255 - Changes the way the decoder delay is reported */
#define FIX_351_HRTF_COMMAND                            /* VA: Issue 354 - improve "-hrtf" command-line option */

#define FIX_94_VERIFY_WAV_NUM_CHANNELS                  /* FhG: Issue 94 - Check if number of channels in input wav file matches encoder/renderer configuration */
#define ISM_HIGHEST_BITRATE                             /* VA: Issue 284: Update highest bitrate limit in ISM format */
#define TUNE_360_OBJECT_WITH_NOISE                      /* VA: issue 360: consider objects being speech+noise for active speech coding */


#define NO_DIEGETIC_PAN
#define FIX_CRASH_EVS_BITSTREAM_WITH_OUTPUT
+6 −2
Original line number Diff line number Diff line
@@ -274,6 +274,9 @@ ivas_error ivas_ism_metadata_enc(
                    }
                }
            }
#endif
#ifdef TUNE_360_OBJECT_WITH_NOISE
            hIsmMeta[ch]->ism_metadata_flag = localVAD[ch] || hSCE[ch]->hCoreCoder[0]->lp_noise > 10;
#else
            hIsmMeta[ch]->ism_metadata_flag = localVAD[ch];

@@ -288,13 +291,13 @@ ivas_error ivas_ism_metadata_enc(
                    hIsmMeta[ch]->ism_metadata_flag = 1;
                }
            }
#endif

            if ( hSCE[ch]->hCoreCoder[0]->tcxonly )
            {
                /* at highest bitrates (with TCX core only) metadata are sent in every frame */
                hIsmMeta[ch]->ism_metadata_flag = 1;
            }
#endif
        }
    }

@@ -304,6 +307,7 @@ ivas_error ivas_ism_metadata_enc(

    rate_ism_importance( nchan_transport, hIsmMeta, hSCE, ism_imp );

#ifndef TUNE_360_OBJECT_WITH_NOISE
    /* relax the importance decision in "stereo" coding for noisy audio */
    if ( ism_mode == ISM_MODE_DISC && num_obj == 2 )
    {
@@ -323,7 +327,7 @@ ivas_error ivas_ism_metadata_enc(
            }
        }
    }

#endif
    /*----------------------------------------------------------------*
     * Write ISm common signaling
     *----------------------------------------------------------------*/