static int dx2_decode_slice_444(GetBitContext *gb, AVFrame *frame,

                                int line, int left,

                                uint8_t lru[3][8])

{

    int x, y;



    int width   = frame->width;



    int ystride = frame->linesize[0];

    int ustride = frame->linesize[1];

    int vstride = frame->linesize[2];



    uint8_t *Y  = frame->data[0] + ystride * line;

    uint8_t *U  = frame->data[1] + ustride * line;

    uint8_t *V  = frame->data[2] + vstride * line;



    for (y = 0; y < left && get_bits_left(gb) > 16; y++) {

        for (x = 0; x < width; x++) {

            Y[x] = decode_sym(gb, lru[0]);

            U[x] = decode_sym(gb, lru[1]) ^ 0x80;

            V[x] = decode_sym(gb, lru[2]) ^ 0x80;

        }



        Y += ystride;

        U += ustride;

        V += vstride;

    }



    return y;

}

static int dx2_decode_slice_444(GetBitContext *gb, AVFrame *frame,

                                int line, int left,

                                uint8_t lru[3][8])

{

    int x, y;



    int width   = frame->width;



    int ystride = frame->linesize[0];

    int ustride = frame->linesize[1];

    int vstride = frame->linesize[2];



    uint8_t *Y  = frame->data[0] + ystride * line;

    uint8_t *U  = frame->data[1] + ustride * line;

    uint8_t *V  = frame->data[2] + vstride * line;



    for (y = 0; y < left && get_bits_left(gb) > 16; y++) {

        for (x = 0; x < width; x++) {

            Y[x] = decode_sym(gb, lru[0]);

            U[x] = decode_sym(gb, lru[1]) ^ 0x80;

            V[x] = decode_sym(gb, lru[2]) ^ 0x80;

        }



        Y += ystride;

        U += ustride;

        V += vstride;

    }



    return y;

}

    for (y = 0; y < left && get_bits_left(gb) > 16; y++) {     for (y = 0; y < left && get_bits_left(gb) > 16; y++) {     for (y = 0; y < left && get_bits_left(gb) > 16; y++) {
static int FUNC_0(GetBitContext *VAR_0, AVFrame *VAR_1,

                                int VAR_2, int VAR_3,

                                uint8_t VAR_4[3][8])

{

    int VAR_5, VAR_6;



    int VAR_7   = VAR_1->VAR_7;



    int VAR_8 = VAR_1->linesize[0];

    int VAR_9 = VAR_1->linesize[1];

    int VAR_10 = VAR_1->linesize[2];



    uint8_t *Y  = VAR_1->data[0] + VAR_8 * VAR_2;

    uint8_t *U  = VAR_1->data[1] + VAR_9 * VAR_2;

    uint8_t *V  = VAR_1->data[2] + VAR_10 * VAR_2;



    for (VAR_6 = 0; VAR_6 < VAR_3 && get_bits_left(VAR_0) > 16; VAR_6++) {

        for (VAR_5 = 0; VAR_5 < VAR_7; VAR_5++) {

            Y[VAR_5] = decode_sym(VAR_0, VAR_4[0]);

            U[VAR_5] = decode_sym(VAR_0, VAR_4[1]) ^ 0x80;

            V[VAR_5] = decode_sym(VAR_0, VAR_4[2]) ^ 0x80;

        }



        Y += VAR_8;

        U += VAR_9;

        V += VAR_10;

    }



    return VAR_6;

}

static int FUNC_0(GetBitContext *VAR_0, AVFrame *VAR_1,
int VAR_2, int VAR_3,
uint8_t VAR_4[3][8])
{ int VAR_5, VAR_6; int VAR_7   = VAR_1->VAR_7; int VAR_8 = VAR_1->linesize[0]; int VAR_9 = VAR_1->linesize[1]; int VAR_10 = VAR_1->linesize[2]; uint8_t *Y  = VAR_1->data[0] + VAR_8 * VAR_2; uint8_t *U  = VAR_1->data[1] + VAR_9 * VAR_2; uint8_t *V  = VAR_1->data[2] + VAR_10 * VAR_2; for (VAR_6 = 0; VAR_6 < VAR_3 && get_bits_left(VAR_0) > 16; VAR_6++) { for (VAR_5 = 0; VAR_5 < VAR_7; VAR_5++) { Y[VAR_5] = decode_sym(VAR_0, VAR_4[0]); U[VAR_5] = decode_sym(VAR_0, VAR_4[1]) ^ 0x80; V[VAR_5] = decode_sym(VAR_0, VAR_4[2]) ^ 0x80; } Y += VAR_8; U += VAR_9; V += VAR_10; } return VAR_6; }