|
|
@ -141,8 +141,8 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, int srcFormat |
|
|
|
ssdY= getSSD(ref[0], out[0], refStride[0], refStride[0], w, h); |
|
|
|
ssdY= getSSD(ref[0], out[0], refStride[0], refStride[0], w, h); |
|
|
|
if (!isGray(srcFormat) && !isGray(dstFormat)) { |
|
|
|
if (!isGray(srcFormat) && !isGray(dstFormat)) { |
|
|
|
//FIXME check that output is really gray
|
|
|
|
//FIXME check that output is really gray
|
|
|
|
ssdU= getSSD(ref[1], out[1], refStride[1], refStride[1], (w+1)>>1, (h+1)>>1); |
|
|
|
ssdU= getSSD(ref[1], out[1], refStride[1], refStride[1], (w+1)>>1, (h+1)>>1); |
|
|
|
ssdV= getSSD(ref[2], out[2], refStride[2], refStride[2], (w+1)>>1, (h+1)>>1); |
|
|
|
ssdV= getSSD(ref[2], out[2], refStride[2], refStride[2], (w+1)>>1, (h+1)>>1); |
|
|
|
} |
|
|
|
} |
|
|
|
if (isALPHA(srcFormat) && isALPHA(dstFormat)) |
|
|
|
if (isALPHA(srcFormat) && isALPHA(dstFormat)) |
|
|
|
ssdA= getSSD(ref[3], out[3], refStride[3], refStride[3], w, h); |
|
|
|
ssdA= getSSD(ref[3], out[3], refStride[3], refStride[3], w, h); |
|
|
|