Commit c8247e59 authored by vaclav's avatar vaclav
Browse files

editorial improvements

parent b379d47c
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -794,8 +794,8 @@ void ivas_param_ism_enc(
);

void ivas_param_ism_enc_close(
    DIRAC_ENC_HANDLE hDirAC                                     /* i/o: encoder DirAC handle                        */
   ,const int32_t input_Fs                                      /* i  : input sampling_rate                         */
    DIRAC_ENC_HANDLE hDirAC,                                    /* i/o: encoder DirAC handle                        */
    const int32_t input_Fs                                      /* i  : input sampling_rate                         */
);

void ivas_param_ism_stereo_dmx(
@@ -2508,8 +2508,7 @@ ivas_error stereo_memory_enc(
    const int32_t input_Fs,                                     /* i  : input sampling rate                     */
    const int16_t max_bwidth,                                   /* i  : maximum audio bandwidth                 */
    float *tdm_last_ratio,                                      /* o  : TD stereo last ratio                    */
    const IVAS_FORMAT ivas_format                               /* i  : IVAS format                             */
    ,
    const IVAS_FORMAT ivas_format,                              /* i  : IVAS format                             */
    const int16_t nchan_transport                               /* i  : number transport chans                  */

);
@@ -3355,8 +3354,8 @@ void ivas_dirac_dec_output_synthesis_process_subframe_psd_ls(
    float RealBuffer[][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX],/* i : LS signals                        */
    float ImagBuffer[][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX],/* i : LS signals                        */
    DIRAC_DEC_HANDLE hDirAC,                                    /* i/o: DirAC handle                                */
    float *reference_power_smooth
    , float qualityBasedSmFactor
    float *reference_power_smooth,
    float qualityBasedSmFactor
);

void ivas_dirac_dec_get_response(
+11 −5
Original line number Diff line number Diff line
@@ -3363,6 +3363,7 @@ const float ivas_mdft_coeff_cos_twid_960[IVAS_960_PT_LEN + 1] =
    0.00654493796735196f,  0.00490871880799808f,  0.00327248650652671f,  0.00163624544362412f,
    0.00000000000000000f
};

const float ivas_mdft_coeff_cos_twid_640[IVAS_640_PT_LEN + 1] = 
{
    1.00000000000000f,    0.999996988037278f,    0.999987952167257f,    0.999972892444367f,
@@ -3524,9 +3525,10 @@ const float ivas_mdft_coeff_cos_twid_640[IVAS_640_PT_LEN +1] =
    0.0392598157590687f,   0.0368072229413588f,   0.0343544083996823f,   0.0319013869096110f,
    0.0294481732479634f,   0.0269947821927155f,   0.0245412285229123f,   0.0220875270185784f,
    0.0196336924606283f,   0.0171797396307788f,   0.0147256833114584f,   0.0122715382857199f,
    0.00981731933714973f,  0.00736304124977978f,  0.00490871880799808f,  0.00245436679646048f
   ,0.00000000000000000f
    0.00981731933714973f,  0.00736304124977978f,  0.00490871880799808f,  0.00245436679646048f,
    0.00000000000000000f
};

const float ivas_mdft_coeff_cos_twid_320[IVAS_320_PT_LEN + 1] = 
{
    1.00000000000000f,     0.999987952167257f,    0.999951808959328f,    0.999891571247108f,
@@ -3608,9 +3610,10 @@ const float ivas_mdft_coeff_cos_twid_320[IVAS_320_PT_LEN + 1] =
    0.0784590957278450f,   0.0735645635996675f,   0.0686682588843738f,   0.0637702995616845f,
    0.0588708036511890f,   0.0539698892095020f,   0.0490676743274181f,   0.0441642771270675f,
    0.0392598157590687f,   0.0343544083996823f,   0.0294481732479634f,   0.0245412285229123f,
    0.0196336924606283f,   0.0147256833114584f,   0.00981731933714973f,  0.00490871880799808f
   ,0.0000000000000000f
    0.0196336924606283f,   0.0147256833114584f,   0.00981731933714973f,  0.00490871880799808f,
    0.0000000000000000f
};

const float ivas_mdft_coeff_cos_twid_240[IVAS_240_PT_LEN + 1] = 
{
     1.0000000000f,  0.9999785817f,  0.9999143276f,  0.9998072405f,  0.9996573250f,  0.9994645875f, 
@@ -3685,6 +3688,7 @@ const float ivas_mdft_coeff_cos_twid_160[IVAS_160_PT_LEN + 1] =
     0.0980171403f,  0.0882423705f,  0.0784590957f,  0.0686682589f,  0.0588708037f,  0.0490676743f, 
     0.0392598158f,  0.0294481732f,  0.0196336925f,  0.0098173193f,  0.000000000f
};

const float ivas_mdft_coeff_cos_twid_80[IVAS_80_PT_LEN + 1] = 
{
     1.0000000000f,  0.9998072405f,  0.9992290362f,  0.9982656102f,  0.9969173337f,  0.9951847267f, 
@@ -3702,6 +3706,7 @@ const float ivas_mdft_coeff_cos_twid_80[IVAS_80_PT_LEN + 1] =
     0.1564344650f,  0.1370123417f,  0.1175373975f,  0.0980171403f,  0.0784590957f,  0.0588708037f, 
     0.0392598158f,  0.0196336925f,  0.000000000f
};

const float ivas_mdft_coeff_cos_twid_40[IVAS_40_PT_LEN + 1] = 
{
     1.0000000000f,  0.9992290362f,  0.9969173337f,  0.9930684570f,  0.9876883406f,  0.9807852804f, 
@@ -3712,6 +3717,7 @@ const float ivas_mdft_coeff_cos_twid_40[IVAS_40_PT_LEN + 1] =
     0.3826834324f,  0.3461170571f,  0.3090169944f,  0.2714404499f,  0.2334453639f,  0.1950903220f, 
     0.1564344650f,  0.1175373975f,  0.0784590957f,  0.0392598158f,  0.000000000f
};

const float ivas_sin_twiddle_480[IVAS_480_PT_LEN >> 1] = 
{
    -0.000818122995607253f, -0.00736304124977957f,  -0.0139076440957708f,   -0.0204516511845773f,
+5 −7
Original line number Diff line number Diff line
@@ -2776,10 +2776,8 @@ void fb_tbe_dec(
    Decoder_State *st,         /* i/o: decoder state structure                 */
    const float fb_exc[],      /* i  : FB excitation from the SWB part         */
    float *hb_synth,           /* i/o: high-band synthesis                     */
    float *fb_synth_ref   /* o  : high-band synthesis 16-20 kHz           */
    ,
    float *fb_synth_ref,       /* o  : high-band synthesis 16-20 kHz           */
    const int16_t output_frame /* i:  output frame length                      */

);

void calc_tilt_bwe(
@@ -9249,7 +9247,7 @@ void mode_switch_decoder_LPD(
    const int16_t is_mct            /* i  : MCT mode flag                   */
#ifdef FIX_IVAS_185_MDCT_ST_PLC_FADEOUT
    ,
    const int16_t last_element_mode
    const int16_t last_element_mode /* i  : last element mode               */
#endif
);

+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ void mode_switch_decoder_LPD(
    const int16_t is_mct            /* i  : MCT mode flag                   */
#ifdef FIX_IVAS_185_MDCT_ST_PLC_FADEOUT
    ,
    const int16_t last_element_mode
    const int16_t last_element_mode /* i  : last element mode               */
#endif
)
{
+2 −3
Original line number Diff line number Diff line
@@ -53,8 +53,7 @@

void con_tcx(
    Decoder_State *st,      /* i/o: coder memory state          */
    float synth[]      /* i/o: synth[]                     */
    ,
    float synth[],          /* i/o: synth[]                     */
    const float coh,        /* i  : coherence of stereo signal  */
    int16_t *noise_seed,    /* i/o: noise seed for stereo       */
    const int16_t only_left /* i  : TD-PLC only in left channel */
Loading