Lines Matching defs:ref
81 // test by ref -> src -> dst -> out & compare out against ref
82 // ref & out are YV12
83 static int doTest(const uint8_t * const ref[4], int refStride[4], int w, int h,
135 sws_scale(srcContext, ref, refStride, 0, h,
218 ssdY = getSSD(ref[0], out[0], refStride[0], refStride[0], w, h);
221 ssdU = getSSD(ref[1], out[1], refStride[1], refStride[1],
223 ssdV = getSSD(ref[2], out[2], refStride[2], refStride[2],
227 ssdA = getSSD(ref[3], out[3], refStride[3], refStride[3], w, h);
254 static void selfTest(const uint8_t * const ref[4], int refStride[4],
293 res = doTest(ref, refStride, w, h,
305 static int fileTest(const uint8_t * const ref[4], int refStride[4],
349 doTest(ref, refStride, w, h,
384 if (!strcmp(argv[i], "-ref")) {