Commit 4b0d2cd2 authored by vaclav's avatar vaclav
Browse files

tuning

parent c1fb3a04
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -175,7 +175,9 @@ typedef enum
#define MAX_JBM_L_FRAME48k                      1920
#define MAX_JBM_L_FRAME_NS                      40000000L
#define MAX_SPAR_INTERNAL_CHANNELS              IVAS_SPAR_MAX_CH
#ifndef JBM_MEMORY_OPT
#define MAX_CLDFB_DIGEST_CHANNELS               (FOA_CHANNELS + MAX_NUM_OBJECTS)
#endif

typedef enum
{
+2 −1
Original line number Diff line number Diff line
@@ -801,10 +801,11 @@ void ivas_jbm_dec_feed_tc_to_renderer(
{
#ifdef JBM_MEMORY_OPT
    float tmp_buf[MAX_JBM_L_FRAME48k];
    float *p_data_f[FOA_CHANNELS + MAX_NUM_OBJECTS];
#else
    float data_f[MAX_CLDFB_DIGEST_CHANNELS][MAX_JBM_L_FRAME48k]; /* 'float' buffer for transport channels that will be directly converted with the CLDFB */
#endif
    float *p_data_f[MAX_CLDFB_DIGEST_CHANNELS];
#endif
    int16_t n, n_render_timeslots;

    push_wmops( "ivas_jbm_dec_feed_tc_to_renderer" );
+1 −1
Original line number Diff line number Diff line
@@ -5123,8 +5123,8 @@ static ivas_error IVAS_DEC_VoIP_reconfigure(
                    return IVAS_ERR_INIT_ERROR;
                }
            }

#ifndef JBM_MEMORY_OPT

            if ( ( hIvasDec->apaExecBuffer = malloc( sizeof( float ) * apa_buffer_size * nTransportChannels ) ) == NULL )
            {
                return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Could not allocate VoIP handle" );