static int dct_max8x8_c(MpegEncContext *s, uint8_t *src1,

                        uint8_t *src2, ptrdiff_t stride, int h)

{

    LOCAL_ALIGNED_16(int16_t, temp, [64]);

    int sum = 0, i;



    av_assert2(h == 8);



    s->pdsp.diff_pixels(temp, src1, src2, stride);

    s->fdsp.fdct(temp);



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

        sum = FFMAX(sum, FFABS(temp[i]));



    return sum;

}

static int dct_max8x8_c(MpegEncContext *s, uint8_t *src1,

                        uint8_t *src2, ptrdiff_t stride, int h)

{

    LOCAL_ALIGNED_16(int16_t, temp, [64]);

    int sum = 0, i;



    av_assert2(h == 8);



    s->pdsp.diff_pixels(temp, src1, src2, stride);

    s->fdsp.fdct(temp);



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

        sum = FFMAX(sum, FFABS(temp[i]));



    return sum;

}

    s->pdsp.diff_pixels(temp, src1, src2, stride);     s->pdsp.diff_pixels(temp, src1, src2, stride);     s->pdsp.diff_pixels(temp, src1, src2, stride);     s->pdsp.diff_pixels(temp, src1, src2, stride);
static int FUNC_0(MpegEncContext *VAR_0, uint8_t *VAR_1,

                        uint8_t *VAR_2, ptrdiff_t VAR_3, int VAR_4)

{

    LOCAL_ALIGNED_16(int16_t, temp, [64]);

    int VAR_5 = 0, VAR_6;



    av_assert2(VAR_4 == 8);



    VAR_0->pdsp.diff_pixels(temp, VAR_1, VAR_2, VAR_3);

    VAR_0->fdsp.fdct(temp);



    for (VAR_6 = 0; VAR_6 < 64; VAR_6++)

        VAR_5 = FFMAX(VAR_5, FFABS(temp[VAR_6]));



    return VAR_5;

}

static int FUNC_0(MpegEncContext *VAR_0, uint8_t *VAR_1,
uint8_t *VAR_2, ptrdiff_t VAR_3, int VAR_4)
{ LOCAL_ALIGNED_16(int16_t, temp, [64]); int VAR_5 = 0, VAR_6; av_assert2(VAR_4 == 8); VAR_0->pdsp.diff_pixels(temp, VAR_1, VAR_2, VAR_3); VAR_0->fdsp.fdct(temp); for (VAR_6 = 0; VAR_6 < 64; VAR_6++) VAR_5 = FFMAX(VAR_5, FFABS(temp[VAR_6])); return VAR_5; }