static void check_pred8x8(H264PredContext *h, uint8_t *buf0, uint8_t *buf1,

                          int codec, int chroma_format, int bit_depth)

{

    int pred_mode;

    for (pred_mode = 0; pred_mode < 11; pred_mode++) {

        if (check_pred_func(h->pred8x8[pred_mode], (chroma_format == 2) ? "8x16" : "8x8",

                            pred8x8_modes[codec][pred_mode])) {

            randomize_buffers();

            call_ref(src0, (ptrdiff_t)24*SIZEOF_PIXEL);

            call_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL);

            if (memcmp(buf0, buf1, BUF_SIZE))

                fail();

            bench_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL);

        }

    }

}

static void check_pred8x8(H264PredContext *h, uint8_t *buf0, uint8_t *buf1,

                          int codec, int chroma_format, int bit_depth)

{

    int pred_mode;

    for (pred_mode = 0; pred_mode < 11; pred_mode++) {

        if (check_pred_func(h->pred8x8[pred_mode], (chroma_format == 2) ? "8x16" : "8x8",

                            pred8x8_modes[codec][pred_mode])) {

            randomize_buffers();

            call_ref(src0, (ptrdiff_t)24*SIZEOF_PIXEL);

            call_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL);

            if (memcmp(buf0, buf1, BUF_SIZE))

                fail();

            bench_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL);

        }

    }

}

static void FUNC_0(H264PredContext *VAR_0, uint8_t *VAR_1, uint8_t *VAR_2,

                          int VAR_3, int VAR_4, int VAR_5)

{

    int VAR_6;

    for (VAR_6 = 0; VAR_6 < 11; VAR_6++) {

        if (check_pred_func(VAR_0->pred8x8[VAR_6], (VAR_4 == 2) ? "8x16" : "8x8",

                            pred8x8_modes[VAR_3][VAR_6])) {

            randomize_buffers();

            call_ref(src0, (ptrdiff_t)24*SIZEOF_PIXEL);

            call_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL);

            if (memcmp(VAR_1, VAR_2, BUF_SIZE))

                fail();

            bench_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL);

        }

    }

}

static void FUNC_0(H264PredContext *VAR_0, uint8_t *VAR_1, uint8_t *VAR_2,
int VAR_3, int VAR_4, int VAR_5)
{ int VAR_6; for (VAR_6 = 0; VAR_6 < 11; VAR_6++) { if (check_pred_func(VAR_0->pred8x8[VAR_6], (VAR_4 == 2) ? "8x16" : "8x8",
pred8x8_modes[VAR_3][VAR_6])) { randomize_buffers(); call_ref(src0, (ptrdiff_t)24*SIZEOF_PIXEL); call_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL); if (memcmp(VAR_1, VAR_2, BUF_SIZE))
fail(); bench_new(src1, (ptrdiff_t)24*SIZEOF_PIXEL); } } }