static inline void idct4row(DCTELEM *row)

{

    int c0, c1, c2, c3, a0, a1, a2, a3;

    //const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;



    a0 = row[0];

    a1 = row[1];

    a2 = row[2];

    a3 = row[3];

    c0 = (a0 + a2)*R3 + (1 << (R_SHIFT - 1));

    c2 = (a0 - a2)*R3 + (1 << (R_SHIFT - 1));

    c1 = a1 * R1 + a3 * R2;

    c3 = a1 * R2 - a3 * R1;

    row[0]= (c0 + c1) >> R_SHIFT;

    row[1]= (c2 + c3) >> R_SHIFT;

    row[2]= (c2 - c3) >> R_SHIFT;

    row[3]= (c0 - c1) >> R_SHIFT;

}

static inline void idct4row(DCTELEM *row)

{

    int c0, c1, c2, c3, a0, a1, a2, a3;

    



    a0 = row[0];

    a1 = row[1];

    a2 = row[2];

    a3 = row[3];

    c0 = (a0 + a2)*R3 + (1 << (R_SHIFT - 1));

    c2 = (a0 - a2)*R3 + (1 << (R_SHIFT - 1));

    c1 = a1 * R1 + a3 * R2;

    c3 = a1 * R2 - a3 * R1;

    row[0]= (c0 + c1) >> R_SHIFT;

    row[1]= (c2 + c3) >> R_SHIFT;

    row[2]= (c2 - c3) >> R_SHIFT;

    row[3]= (c0 - c1) >> R_SHIFT;

}

static inline void FUNC_0(DCTELEM *VAR_0)

{

    int VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6, VAR_7, VAR_8;

    



    VAR_5 = VAR_0[0];

    VAR_6 = VAR_0[1];

    VAR_7 = VAR_0[2];

    VAR_8 = VAR_0[3];

    VAR_1 = (VAR_5 + VAR_7)*R3 + (1 << (R_SHIFT - 1));

    VAR_3 = (VAR_5 - VAR_7)*R3 + (1 << (R_SHIFT - 1));

    VAR_2 = VAR_6 * R1 + VAR_8 * R2;

    VAR_4 = VAR_6 * R2 - VAR_8 * R1;

    VAR_0[0]= (VAR_1 + VAR_2) >> R_SHIFT;

    VAR_0[1]= (VAR_3 + VAR_4) >> R_SHIFT;

    VAR_0[2]= (VAR_3 - VAR_4) >> R_SHIFT;

    VAR_0[3]= (VAR_1 - VAR_2) >> R_SHIFT;

}

static inline void FUNC_0(DCTELEM *VAR_0)
{ int VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6, VAR_7, VAR_8; VAR_5 = VAR_0[0]; VAR_6 = VAR_0[1]; VAR_7 = VAR_0[2]; VAR_8 = VAR_0[3]; VAR_1 = (VAR_5 + VAR_7)*R3 + (1 << (R_SHIFT - 1)); VAR_3 = (VAR_5 - VAR_7)*R3 + (1 << (R_SHIFT - 1)); VAR_2 = VAR_6 * R1 + VAR_8 * R2; VAR_4 = VAR_6 * R2 - VAR_8 * R1; VAR_0[0]= (VAR_1 + VAR_2) >> R_SHIFT; VAR_0[1]= (VAR_3 + VAR_4) >> R_SHIFT; VAR_0[2]= (VAR_3 - VAR_4) >> R_SHIFT; VAR_0[3]= (VAR_1 - VAR_2) >> R_SHIFT; }