static void apply_window_and_mdct(AACEncContext *s, SingleChannelElement *sce,

                                  float *audio)

{

    int i;

    float *output = sce->ret_buf;



    apply_window[sce->ics.window_sequence[0]](s->fdsp, sce, audio);



    if (sce->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE)

        s->mdct1024.mdct_calc(&s->mdct1024, sce->coeffs, output);

    else

        for (i = 0; i < 1024; i += 128)

            s->mdct128.mdct_calc(&s->mdct128, sce->coeffs + i, output + i*2);

    memcpy(audio, audio + 1024, sizeof(audio[0]) * 1024);

    memcpy(sce->pcoeffs, sce->coeffs, sizeof(sce->pcoeffs));

}

static void apply_window_and_mdct(AACEncContext *s, SingleChannelElement *sce,

                                  float *audio)

{

    int i;

    float *output = sce->ret_buf;



    apply_window[sce->ics.window_sequence[0]](s->fdsp, sce, audio);



    if (sce->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE)

        s->mdct1024.mdct_calc(&s->mdct1024, sce->coeffs, output);

    else

        for (i = 0; i < 1024; i += 128)

            s->mdct128.mdct_calc(&s->mdct128, sce->coeffs + i, output + i*2);

    memcpy(audio, audio + 1024, sizeof(audio[0]) * 1024);

    memcpy(sce->pcoeffs, sce->coeffs, sizeof(sce->pcoeffs));

}

            s->mdct128.mdct_calc(&s->mdct128, sce->coeffs + i, output + i*2);
static void FUNC_0(AACEncContext *VAR_0, SingleChannelElement *VAR_1,

                                  float *VAR_2)

{

    int VAR_3;

    float *VAR_4 = VAR_1->ret_buf;



    apply_window[VAR_1->ics.window_sequence[0]](VAR_0->fdsp, VAR_1, VAR_2);



    if (VAR_1->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE)

        VAR_0->mdct1024.mdct_calc(&VAR_0->mdct1024, VAR_1->coeffs, VAR_4);

    else

        for (VAR_3 = 0; VAR_3 < 1024; VAR_3 += 128)

            VAR_0->mdct128.mdct_calc(&VAR_0->mdct128, VAR_1->coeffs + VAR_3, VAR_4 + VAR_3*2);

    memcpy(VAR_2, VAR_2 + 1024, sizeof(VAR_2[0]) * 1024);

    memcpy(VAR_1->pcoeffs, VAR_1->coeffs, sizeof(VAR_1->pcoeffs));

}

static void FUNC_0(AACEncContext *VAR_0, SingleChannelElement *VAR_1,
float *VAR_2)
{ int VAR_3; float *VAR_4 = VAR_1->ret_buf; apply_window[VAR_1->ics.window_sequence[0]](VAR_0->fdsp, VAR_1, VAR_2); if (VAR_1->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE)
VAR_0->mdct1024.mdct_calc(&VAR_0->mdct1024, VAR_1->coeffs, VAR_4); else
for (VAR_3 = 0; VAR_3 < 1024; VAR_3 += 128) VAR_0->mdct128.mdct_calc(&VAR_0->mdct128, VAR_1->coeffs + VAR_3, VAR_4 + VAR_3*2); memcpy(VAR_2, VAR_2 + 1024, sizeof(VAR_2[0]) * 1024); memcpy(VAR_1->pcoeffs, VAR_1->coeffs, sizeof(VAR_1->pcoeffs)); }