static void avoid_clipping(AACEncContext *s, SingleChannelElement *sce)

{

    int start, i, j, w;



    if (sce->ics.clip_avoidance_factor < 1.0f) {

        for (w = 0; w < sce->ics.num_windows; w++) {

            start = 0;

            for (i = 0; i < sce->ics.max_sfb; i++) {

                float *swb_coeffs = sce->coeffs + start + w*128;

                for (j = 0; j < sce->ics.swb_sizes[i]; j++)

                    swb_coeffs[j] *= sce->ics.clip_avoidance_factor;

                start += sce->ics.swb_sizes[i];

            }

        }

    }

}

static void avoid_clipping(AACEncContext *s, SingleChannelElement *sce)

{

    int start, i, j, w;



    if (sce->ics.clip_avoidance_factor < 1.0f) {

        for (w = 0; w < sce->ics.num_windows; w++) {

            start = 0;

            for (i = 0; i < sce->ics.max_sfb; i++) {

                float *swb_coeffs = sce->coeffs + start + w*128;

                for (j = 0; j < sce->ics.swb_sizes[i]; j++)

                    swb_coeffs[j] *= sce->ics.clip_avoidance_factor;

                start += sce->ics.swb_sizes[i];

            }

        }

    }

}

                float *swb_coeffs = sce->coeffs + start + w*128;
static void FUNC_0(AACEncContext *VAR_0, SingleChannelElement *VAR_1)

{

    int VAR_2, VAR_3, VAR_4, VAR_5;



    if (VAR_1->ics.clip_avoidance_factor < 1.0f) {

        for (VAR_5 = 0; VAR_5 < VAR_1->ics.num_windows; VAR_5++) {

            VAR_2 = 0;

            for (VAR_3 = 0; VAR_3 < VAR_1->ics.max_sfb; VAR_3++) {

                float *swb_coeffs = VAR_1->coeffs + VAR_2 + VAR_5*128;

                for (VAR_4 = 0; VAR_4 < VAR_1->ics.swb_sizes[VAR_3]; VAR_4++)

                    swb_coeffs[VAR_4] *= VAR_1->ics.clip_avoidance_factor;

                VAR_2 += VAR_1->ics.swb_sizes[VAR_3];

            }

        }

    }

}

static void FUNC_0(AACEncContext *VAR_0, SingleChannelElement *VAR_1)
{ int VAR_2, VAR_3, VAR_4, VAR_5; if (VAR_1->ics.clip_avoidance_factor < 1.0f) { for (VAR_5 = 0; VAR_5 < VAR_1->ics.num_windows; VAR_5++) { VAR_2 = 0; for (VAR_3 = 0; VAR_3 < VAR_1->ics.max_sfb; VAR_3++) { float *swb_coeffs = VAR_1->coeffs + VAR_2 + VAR_5*128; for (VAR_4 = 0; VAR_4 < VAR_1->ics.swb_sizes[VAR_3]; VAR_4++) swb_coeffs[VAR_4] *= VAR_1->ics.clip_avoidance_factor; VAR_2 += VAR_1->ics.swb_sizes[VAR_3]; } } } }