static av_cold void init_atrac3_transforms(ATRAC3Context *q) {

    float enc_window[256];

    int i;



    /* Generate the mdct window, for details see

     * http://wiki.multimedia.cx/index.php?title=RealAudio_atrc#Windows */

    for (i=0 ; i<256; i++)

        enc_window[i] = (sin(((i + 0.5) / 256.0 - 0.5) * M_PI) + 1.0) * 0.5;



    if (!mdct_window[0])

        for (i=0 ; i<256; i++) {

            mdct_window[i] = enc_window[i]/(enc_window[i]*enc_window[i] + enc_window[255-i]*enc_window[255-i]);

            mdct_window[511-i] = mdct_window[i];

        }



    /* Initialize the MDCT transform. */

    ff_mdct_init(&mdct_ctx, 9, 1, 1.0);

}

static av_cold void init_atrac3_transforms(ATRAC3Context *q) {

    float enc_window[256];

    int i;



    



    for (i=0 ; i<256; i++)

        enc_window[i] = (sin(((i + 0.5) / 256.0 - 0.5) * M_PI) + 1.0) * 0.5;



    if (!mdct_window[0])

        for (i=0 ; i<256; i++) {

            mdct_window[i] = enc_window[i]/(enc_window[i]*enc_window[i] + enc_window[255-i]*enc_window[255-i]);

            mdct_window[511-i] = mdct_window[i];

        }



    

    ff_mdct_init(&mdct_ctx, 9, 1, 1.0);

}

    ff_mdct_init(&mdct_ctx, 9, 1, 1.0);
static av_cold void FUNC_0(ATRAC3Context *q) {

    float VAR_0[256];

    int VAR_1;



    



    for (VAR_1=0 ; VAR_1<256; VAR_1++)

        VAR_0[VAR_1] = (sin(((VAR_1 + 0.5) / 256.0 - 0.5) * M_PI) + 1.0) * 0.5;



    if (!mdct_window[0])

        for (VAR_1=0 ; VAR_1<256; VAR_1++) {

            mdct_window[VAR_1] = VAR_0[VAR_1]/(VAR_0[VAR_1]*VAR_0[VAR_1] + VAR_0[255-VAR_1]*VAR_0[255-VAR_1]);

            mdct_window[511-VAR_1] = mdct_window[VAR_1];

        }



    

    ff_mdct_init(&mdct_ctx, 9, 1, 1.0);

}

static av_cold void FUNC_0(ATRAC3Context *q) { float VAR_0[256]; int VAR_1; for (VAR_1=0 ; VAR_1<256; VAR_1++) VAR_0[VAR_1] = (sin(((VAR_1 + 0.5) / 256.0 - 0.5) * M_PI) + 1.0) * 0.5; if (!mdct_window[0])
for (VAR_1=0 ; VAR_1<256; VAR_1++) { mdct_window[VAR_1] = VAR_0[VAR_1]/(VAR_0[VAR_1]*VAR_0[VAR_1] + VAR_0[255-VAR_1]*VAR_0[255-VAR_1]); mdct_window[511-VAR_1] = mdct_window[VAR_1]; } ff_mdct_init(&mdct_ctx, 9, 1, 1.0); }