Commit b4c67ae9 authored by vaclav's avatar vaclav
Browse files

address few VE2AT comments

parent 14b77bd3
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -3353,18 +3353,6 @@ void ivas_binaural_reverb_close(
    REVERB_STRUCT_HANDLE *hReverb                               /* i/o: binaural reverb handle                  */
);

void ivas_binaural_reverb_setReverbTimes(
    REVERB_STRUCT_HANDLE hReverb,                               /* i/o: binaural reverb handle                  */
    const int32_t output_Fs,                                    /* i  : sampling_rate                           */
    const float *revTimes,                                      /* i  : reverberation times T60 for each CLDFB bin in seconds   */
    const float *revEnes                                        /* i  : spectrum for reverberated sound at each CLDFB bin       */
);

void ivas_binaural_reverb_setPreDelay(
    REVERB_STRUCT_HANDLE hReverb,                               /* i/o: binaural reverb handle                  */
    const int16_t delaySamples                                  /* i  : reverb pre-delay in CLDFB slots         */
);

void ivas_binaural_reverb_processFrame(
    REVERB_STRUCT_HANDLE hReverb,                               /* i/o: binaural reverb handle                  */
    const int16_t numInChannels,                                /* i  : num input channels to be processed      */
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/
// VE2AT: move to lib_rend ?

#include <stdint.h>
#include "options.h"
#include <assert.h>
@@ -37,7 +37,7 @@
#include "prot.h"
#include "ivas_prot.h"
#include "ivas_cnst.h"
#include "ivas_rom_binauralRenderer.h" // VE2AT: what about to put these includes ust into ivas_rom_rend.c ?
#include "ivas_rom_binauralRenderer.h"
#include "ivas_rom_dec.h"
#ifdef DEBUGGING
#include "debug.h"
+12 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/
// VE2AT: move to lib_rend ?

#include <stdint.h>
#include "options.h"
#include "ivas_cnst.h"
@@ -186,6 +186,7 @@ void ivas_ism_render(
            st_ivas->hIsmRendererData->prev_gains[i][j] = gains[i][j];
        }
    }

    /* Move to output skipping LFE */
    for ( j = 0, j2 = 0; j < nchan_out_woLFE; j++, j2++ )
    {
@@ -195,9 +196,17 @@ void ivas_ism_render(
        }
        mvr2r( tmp_output_f[j], output_f[j2], output_frame );
    }

    return;
}


/*-------------------------------------------------------------------------*
 * ivas_ism_get_stereo_gains()
 *
 * 
 *-------------------------------------------------------------------------*/

void ivas_ism_get_stereo_gains(
    const float azimuth,   /* i  : object azimuth       */
    const float elevation, /* i  : object elevation     */
@@ -235,4 +244,6 @@ void ivas_ism_get_stereo_gains(
        *left_gain = sqrtf( A3 );
        *right_gain = sqrtf( 1.0f - A3 );
    }

    return;
}
+5 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/
// VE2AT: move to lib_rend ?

#include <stdint.h>
#include "options.h"
#include <math.h>
@@ -124,10 +124,11 @@ void ivas_mono_downmix_render_passive(
    return;
}


/*-------------------------------------------------------------------------
 * ivas_mono_stereo_downmix_mcmasa()
 *
 * Downmix process
 * Downmix process in McMASA
 *------------------------------------------------------------------------*/

void ivas_mono_stereo_downmix_mcmasa(
@@ -165,4 +166,6 @@ void ivas_mono_stereo_downmix_mcmasa(
        /* Move to output */
        mvr2r( dmx_tmp, output_f[0], output_frame );
    }

    return;
}
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/
// VE2AT: move to lib_rend ?

#include <assert.h>
#include <stdint.h>
#include "options.h"
Loading