static void vc1_inv_trans_8x4_c(uint8_t *dest, int linesize, DCTELEM *block)

{

    int i;

    register int t1,t2,t3,t4,t5,t6,t7,t8;

    DCTELEM *src, *dst;

    const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;



    src = block;

    dst = block;

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

        t1 = 12 * (src[0] + src[4]) + 4;

        t2 = 12 * (src[0] - src[4]) + 4;

        t3 = 16 * src[2] +  6 * src[6];

        t4 =  6 * src[2] - 16 * src[6];



        t5 = t1 + t3;

        t6 = t2 + t4;

        t7 = t2 - t4;

        t8 = t1 - t3;



        t1 = 16 * src[1] + 15 * src[3] +  9 * src[5] +  4 * src[7];

        t2 = 15 * src[1] -  4 * src[3] - 16 * src[5] -  9 * src[7];

        t3 =  9 * src[1] - 16 * src[3] +  4 * src[5] + 15 * src[7];

        t4 =  4 * src[1] -  9 * src[3] + 15 * src[5] - 16 * src[7];



        dst[0] = (t5 + t1) >> 3;

        dst[1] = (t6 + t2) >> 3;

        dst[2] = (t7 + t3) >> 3;

        dst[3] = (t8 + t4) >> 3;

        dst[4] = (t8 - t4) >> 3;

        dst[5] = (t7 - t3) >> 3;

        dst[6] = (t6 - t2) >> 3;

        dst[7] = (t5 - t1) >> 3;



        src += 8;

        dst += 8;

    }



    src = block;

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

        t1 = 17 * (src[ 0] + src[16]) + 64;

        t2 = 17 * (src[ 0] - src[16]) + 64;

        t3 = 22 * src[ 8] + 10 * src[24];

        t4 = 22 * src[24] - 10 * src[ 8];



        dest[0*linesize] = cm[dest[0*linesize] + ((t1 + t3) >> 7)];

        dest[1*linesize] = cm[dest[1*linesize] + ((t2 - t4) >> 7)];

        dest[2*linesize] = cm[dest[2*linesize] + ((t2 + t4) >> 7)];

        dest[3*linesize] = cm[dest[3*linesize] + ((t1 - t3) >> 7)];



        src ++;

        dest++;

    }

}

static void vc1_inv_trans_8x4_c(uint8_t *dest, int linesize, DCTELEM *block)

{

    int i;

    register int t1,t2,t3,t4,t5,t6,t7,t8;

    DCTELEM *src, *dst;

    const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;



    src = block;

    dst = block;

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

        t1 = 12 * (src[0] + src[4]) + 4;

        t2 = 12 * (src[0] - src[4]) + 4;

        t3 = 16 * src[2] +  6 * src[6];

        t4 =  6 * src[2] - 16 * src[6];



        t5 = t1 + t3;

        t6 = t2 + t4;

        t7 = t2 - t4;

        t8 = t1 - t3;



        t1 = 16 * src[1] + 15 * src[3] +  9 * src[5] +  4 * src[7];

        t2 = 15 * src[1] -  4 * src[3] - 16 * src[5] -  9 * src[7];

        t3 =  9 * src[1] - 16 * src[3] +  4 * src[5] + 15 * src[7];

        t4 =  4 * src[1] -  9 * src[3] + 15 * src[5] - 16 * src[7];



        dst[0] = (t5 + t1) >> 3;

        dst[1] = (t6 + t2) >> 3;

        dst[2] = (t7 + t3) >> 3;

        dst[3] = (t8 + t4) >> 3;

        dst[4] = (t8 - t4) >> 3;

        dst[5] = (t7 - t3) >> 3;

        dst[6] = (t6 - t2) >> 3;

        dst[7] = (t5 - t1) >> 3;



        src += 8;

        dst += 8;

    }



    src = block;

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

        t1 = 17 * (src[ 0] + src[16]) + 64;

        t2 = 17 * (src[ 0] - src[16]) + 64;

        t3 = 22 * src[ 8] + 10 * src[24];

        t4 = 22 * src[24] - 10 * src[ 8];



        dest[0*linesize] = cm[dest[0*linesize] + ((t1 + t3) >> 7)];

        dest[1*linesize] = cm[dest[1*linesize] + ((t2 - t4) >> 7)];

        dest[2*linesize] = cm[dest[2*linesize] + ((t2 + t4) >> 7)];

        dest[3*linesize] = cm[dest[3*linesize] + ((t1 - t3) >> 7)];



        src ++;

        dest++;

    }

}

    const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;     const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;     const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;     const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;         dest[0*linesize] = cm[dest[0*linesize] + ((t1 + t3) >> 7)];         dest[1*linesize] = cm[dest[1*linesize] + ((t2 - t4) >> 7)];         dest[2*linesize] = cm[dest[2*linesize] + ((t2 + t4) >> 7)];         dest[3*linesize] = cm[dest[3*linesize] + ((t1 - t3) >> 7)];     const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;     const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;         dest[0*linesize] = cm[dest[0*linesize] + ((t1 + t3) >> 7)];         dest[1*linesize] = cm[dest[1*linesize] + ((t2 - t4) >> 7)];         dest[2*linesize] = cm[dest[2*linesize] + ((t2 + t4) >> 7)];         dest[3*linesize] = cm[dest[3*linesize] + ((t1 - t3) >> 7)];
static void FUNC_0(uint8_t *VAR_0, int VAR_1, DCTELEM *VAR_2)

{

    int VAR_3;

    register int VAR_4,VAR_5,VAR_6,VAR_7,VAR_8,VAR_9,VAR_10,VAR_11;

    DCTELEM *src, *dst;

    const uint8_t *VAR_12 = ff_cropTbl + MAX_NEG_CROP;



    src = VAR_2;

    dst = VAR_2;

    for(VAR_3 = 0; VAR_3 < 4; VAR_3++){

        VAR_4 = 12 * (src[0] + src[4]) + 4;

        VAR_5 = 12 * (src[0] - src[4]) + 4;

        VAR_6 = 16 * src[2] +  6 * src[6];

        VAR_7 =  6 * src[2] - 16 * src[6];



        VAR_8 = VAR_4 + VAR_6;

        VAR_9 = VAR_5 + VAR_7;

        VAR_10 = VAR_5 - VAR_7;

        VAR_11 = VAR_4 - VAR_6;



        VAR_4 = 16 * src[1] + 15 * src[3] +  9 * src[5] +  4 * src[7];

        VAR_5 = 15 * src[1] -  4 * src[3] - 16 * src[5] -  9 * src[7];

        VAR_6 =  9 * src[1] - 16 * src[3] +  4 * src[5] + 15 * src[7];

        VAR_7 =  4 * src[1] -  9 * src[3] + 15 * src[5] - 16 * src[7];



        dst[0] = (VAR_8 + VAR_4) >> 3;

        dst[1] = (VAR_9 + VAR_5) >> 3;

        dst[2] = (VAR_10 + VAR_6) >> 3;

        dst[3] = (VAR_11 + VAR_7) >> 3;

        dst[4] = (VAR_11 - VAR_7) >> 3;

        dst[5] = (VAR_10 - VAR_6) >> 3;

        dst[6] = (VAR_9 - VAR_5) >> 3;

        dst[7] = (VAR_8 - VAR_4) >> 3;



        src += 8;

        dst += 8;

    }



    src = VAR_2;

    for(VAR_3 = 0; VAR_3 < 8; VAR_3++){

        VAR_4 = 17 * (src[ 0] + src[16]) + 64;

        VAR_5 = 17 * (src[ 0] - src[16]) + 64;

        VAR_6 = 22 * src[ 8] + 10 * src[24];

        VAR_7 = 22 * src[24] - 10 * src[ 8];



        VAR_0[0*VAR_1] = VAR_12[VAR_0[0*VAR_1] + ((VAR_4 + VAR_6) >> 7)];

        VAR_0[1*VAR_1] = VAR_12[VAR_0[1*VAR_1] + ((VAR_5 - VAR_7) >> 7)];

        VAR_0[2*VAR_1] = VAR_12[VAR_0[2*VAR_1] + ((VAR_5 + VAR_7) >> 7)];

        VAR_0[3*VAR_1] = VAR_12[VAR_0[3*VAR_1] + ((VAR_4 - VAR_6) >> 7)];



        src ++;

        VAR_0++;

    }

}

static void FUNC_0(uint8_t *VAR_0, int VAR_1, DCTELEM *VAR_2)
{ int VAR_3; register int VAR_4,VAR_5,VAR_6,VAR_7,VAR_8,VAR_9,VAR_10,VAR_11; DCTELEM *src, *dst; const uint8_t *VAR_12 = ff_cropTbl + MAX_NEG_CROP; src = VAR_2; dst = VAR_2; for(VAR_3 = 0; VAR_3 < 4; VAR_3++){ VAR_4 = 12 * (src[0] + src[4]) + 4; VAR_5 = 12 * (src[0] - src[4]) + 4; VAR_6 = 16 * src[2] +  6 * src[6]; VAR_7 =  6 * src[2] - 16 * src[6]; VAR_8 = VAR_4 + VAR_6; VAR_9 = VAR_5 + VAR_7; VAR_10 = VAR_5 - VAR_7; VAR_11 = VAR_4 - VAR_6; VAR_4 = 16 * src[1] + 15 * src[3] +  9 * src[5] +  4 * src[7]; VAR_5 = 15 * src[1] -  4 * src[3] - 16 * src[5] -  9 * src[7]; VAR_6 =  9 * src[1] - 16 * src[3] +  4 * src[5] + 15 * src[7]; VAR_7 =  4 * src[1] -  9 * src[3] + 15 * src[5] - 16 * src[7]; dst[0] = (VAR_8 + VAR_4) >> 3; dst[1] = (VAR_9 + VAR_5) >> 3; dst[2] = (VAR_10 + VAR_6) >> 3; dst[3] = (VAR_11 + VAR_7) >> 3; dst[4] = (VAR_11 - VAR_7) >> 3; dst[5] = (VAR_10 - VAR_6) >> 3; dst[6] = (VAR_9 - VAR_5) >> 3; dst[7] = (VAR_8 - VAR_4) >> 3; src += 8; dst += 8; } src = VAR_2; for(VAR_3 = 0; VAR_3 < 8; VAR_3++){ VAR_4 = 17 * (src[ 0] + src[16]) + 64; VAR_5 = 17 * (src[ 0] - src[16]) + 64; VAR_6 = 22 * src[ 8] + 10 * src[24]; VAR_7 = 22 * src[24] - 10 * src[ 8]; VAR_0[0*VAR_1] = VAR_12[VAR_0[0*VAR_1] + ((VAR_4 + VAR_6) >> 7)]; VAR_0[1*VAR_1] = VAR_12[VAR_0[1*VAR_1] + ((VAR_5 - VAR_7) >> 7)]; VAR_0[2*VAR_1] = VAR_12[VAR_0[2*VAR_1] + ((VAR_5 + VAR_7) >> 7)]; VAR_0[3*VAR_1] = VAR_12[VAR_0[3*VAR_1] + ((VAR_4 - VAR_6) >> 7)]; src ++; VAR_0++; } }