assert(h==8);
static int dct_sad8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, int stride){    MpegEncContext * const s= (MpegEncContext *)c;    uint64_t __align8 aligned_temp[sizeof(DCTELEM)*64/8];    DCTELEM * const temp= (DCTELEM*)aligned_temp;    int sum=0, i;    s->dsp.diff_pixels(temp, src1, src2, stride);    s->dsp.fdct(temp);    for(i=0; i<64; i++)        sum+= ABS(temp[i]);            return sum;}