static av_cold void compute_alpha_vlcs(void)

{

    uint16_t run_code[129], level_code[256];

    uint8_t run_bits[129], level_bits[256];

    int run, level;



    for (run = 0; run < 128; run++) {

        if (!run) {

            /* 0 -> 0. */

            run_code[run] = 0;

            run_bits[run] = 1;

        } else if (run <= 4) {

            /* 10xx -> xx plus 1. */

            run_code[run] = ((run - 1) << 2) | 1;

            run_bits[run] = 4;

        } else {

            /* 111xxxxxxx -> xxxxxxxx. */

            run_code[run] = (run << 3) | 7;

            run_bits[run] = 10;

        }

    }



    /* 110 -> EOB. */

    run_code[128] = 3;

    run_bits[128] = 3;



    INIT_LE_VLC_STATIC(&ff_dc_alpha_run_vlc_le, ALPHA_VLC_BITS, 129,

                       run_bits, 1, 1,

                       run_code, 2, 2, 160);



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

        int8_t signed_level = (int8_t)level;

        int abs_signed_level = abs(signed_level);

        int sign = (signed_level < 0) ? 1 : 0;



        if (abs_signed_level == 1) {

            /* 1s -> -1 or +1 (depending on sign bit). */

            level_code[level] = (sign << 1) | 1;

            level_bits[level] = 2;

        } else if (abs_signed_level >= 2 && abs_signed_level <= 5) {

            /* 01sxx -> xx plus 2 (2..5 or -2..-5, depending on sign bit). */

            level_code[level] = ((abs_signed_level - 2) << 3) | (sign << 2) | 2;

            level_bits[level] = 5;

        } else {

            /*

             * 00xxxxxxxx -> xxxxxxxx, in two's complement. 0 is technically an

             * illegal code (that would be encoded by increasing run), but it

             * doesn't hurt and simplifies indexing.

             */

            level_code[level] = level << 2;

            level_bits[level] = 10;

        }

    }



    INIT_LE_VLC_STATIC(&ff_dc_alpha_level_vlc_le, ALPHA_VLC_BITS, 256,

                       level_bits, 1, 1,

                       level_code, 2, 2, 288);

}

static av_cold void compute_alpha_vlcs(void)

{

    uint16_t run_code[129], level_code[256];

    uint8_t run_bits[129], level_bits[256];

    int run, level;



    for (run = 0; run < 128; run++) {

        if (!run) {

            

            run_code[run] = 0;

            run_bits[run] = 1;

        } else if (run <= 4) {

            

            run_code[run] = ((run - 1) << 2) | 1;

            run_bits[run] = 4;

        } else {

            

            run_code[run] = (run << 3) | 7;

            run_bits[run] = 10;

        }

    }



    

    run_code[128] = 3;

    run_bits[128] = 3;



    INIT_LE_VLC_STATIC(&ff_dc_alpha_run_vlc_le, ALPHA_VLC_BITS, 129,

                       run_bits, 1, 1,

                       run_code, 2, 2, 160);



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

        int8_t signed_level = (int8_t)level;

        int abs_signed_level = abs(signed_level);

        int sign = (signed_level < 0) ? 1 : 0;



        if (abs_signed_level == 1) {

            

            level_code[level] = (sign << 1) | 1;

            level_bits[level] = 2;

        } else if (abs_signed_level >= 2 && abs_signed_level <= 5) {

            

            level_code[level] = ((abs_signed_level - 2) << 3) | (sign << 2) | 2;

            level_bits[level] = 5;

        } else {

            









            level_code[level] = level << 2;

            level_bits[level] = 10;

        }

    }



    INIT_LE_VLC_STATIC(&ff_dc_alpha_level_vlc_le, ALPHA_VLC_BITS, 256,

                       level_bits, 1, 1,

                       level_code, 2, 2, 288);

}

    uint16_t run_code[129], level_code[256];     uint8_t run_bits[129], level_bits[256];     int run, level;     for (run = 0; run < 128; run++) {         if (!run) {             run_code[run] = 0;             run_bits[run] = 1;         } else if (run <= 4) {             run_code[run] = ((run - 1) << 2) | 1;             run_bits[run] = 4;         } else {             run_code[run] = (run << 3) | 7;             run_bits[run] = 10;     run_code[128] = 3;     run_bits[128] = 3;     INIT_LE_VLC_STATIC(&ff_dc_alpha_run_vlc_le, ALPHA_VLC_BITS, 129,                        run_bits, 1, 1,                        run_code, 2, 2, 160);     for (level = 0; level < 256; level++) {         int8_t signed_level = (int8_t)level;         int abs_signed_level = abs(signed_level);         int sign = (signed_level < 0) ? 1 : 0;         if (abs_signed_level == 1) {             level_code[level] = (sign << 1) | 1;             level_bits[level] = 2;         } else if (abs_signed_level >= 2 && abs_signed_level <= 5) {             level_code[level] = ((abs_signed_level - 2) << 3) | (sign << 2) | 2;             level_bits[level] = 5;         } else {             level_code[level] = level << 2;             level_bits[level] = 10;     INIT_LE_VLC_STATIC(&ff_dc_alpha_level_vlc_le, ALPHA_VLC_BITS, 256,                        level_bits, 1, 1,                        level_code, 2, 2, 288);
static av_cold void FUNC_0(void)

{

    uint16_t run_code[129], level_code[256];

    uint8_t run_bits[129], level_bits[256];

    int VAR_0, VAR_1;



    for (VAR_0 = 0; VAR_0 < 128; VAR_0++) {

        if (!VAR_0) {

            

            run_code[VAR_0] = 0;

            run_bits[VAR_0] = 1;

        } else if (VAR_0 <= 4) {

            

            run_code[VAR_0] = ((VAR_0 - 1) << 2) | 1;

            run_bits[VAR_0] = 4;

        } else {

            

            run_code[VAR_0] = (VAR_0 << 3) | 7;

            run_bits[VAR_0] = 10;

        }

    }



    

    run_code[128] = 3;

    run_bits[128] = 3;



    INIT_LE_VLC_STATIC(&ff_dc_alpha_run_vlc_le, ALPHA_VLC_BITS, 129,

                       run_bits, 1, 1,

                       run_code, 2, 2, 160);



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

        int8_t signed_level = (int8_t)VAR_1;

        int VAR_2 = abs(signed_level);

        int VAR_3 = (signed_level < 0) ? 1 : 0;



        if (VAR_2 == 1) {

            

            level_code[VAR_1] = (VAR_3 << 1) | 1;

            level_bits[VAR_1] = 2;

        } else if (VAR_2 >= 2 && VAR_2 <= 5) {

            

            level_code[VAR_1] = ((VAR_2 - 2) << 3) | (VAR_3 << 2) | 2;

            level_bits[VAR_1] = 5;

        } else {

            









            level_code[VAR_1] = VAR_1 << 2;

            level_bits[VAR_1] = 10;

        }

    }



    INIT_LE_VLC_STATIC(&ff_dc_alpha_level_vlc_le, ALPHA_VLC_BITS, 256,

                       level_bits, 1, 1,

                       level_code, 2, 2, 288);

}

static av_cold void FUNC_0(void)
{ uint16_t run_code[129], level_code[256]; uint8_t run_bits[129], level_bits[256]; int VAR_0, VAR_1; for (VAR_0 = 0; VAR_0 < 128; VAR_0++) { if (!VAR_0) { run_code[VAR_0] = 0; run_bits[VAR_0] = 1; } else if (VAR_0 <= 4) { run_code[VAR_0] = ((VAR_0 - 1) << 2) | 1; run_bits[VAR_0] = 4; } else { run_code[VAR_0] = (VAR_0 << 3) | 7; run_bits[VAR_0] = 10; } } run_code[128] = 3; run_bits[128] = 3; INIT_LE_VLC_STATIC(&ff_dc_alpha_run_vlc_le, ALPHA_VLC_BITS, 129,
run_bits, 1, 1,
run_code, 2, 2, 160); for (VAR_1 = 0; VAR_1 < 256; VAR_1++) { int8_t signed_level = (int8_t)VAR_1; int VAR_2 = abs(signed_level); int VAR_3 = (signed_level < 0) ? 1 : 0; if (VAR_2 == 1) { level_code[VAR_1] = (VAR_3 << 1) | 1; level_bits[VAR_1] = 2; } else if (VAR_2 >= 2 && VAR_2 <= 5) { level_code[VAR_1] = ((VAR_2 - 2) << 3) | (VAR_3 << 2) | 2; level_bits[VAR_1] = 5; } else { level_code[VAR_1] = VAR_1 << 2; level_bits[VAR_1] = 10; } } INIT_LE_VLC_STATIC(&ff_dc_alpha_level_vlc_le, ALPHA_VLC_BITS, 256,
level_bits, 1, 1,
level_code, 2, 2, 288); }