Skip to content
Snippets Groups Projects
Commit 9075bc7c authored by Ramiro Polla's avatar Ramiro Polla
Browse files

indent

Originally committed as revision 32214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 4bf44785
No related branches found
No related tags found
No related merge requests found
...@@ -205,19 +205,19 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, ...@@ -205,19 +205,19 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
} }
sws_scale(outContext, dst, dstStride, 0, dstH, out, refStride); sws_scale(outContext, dst, dstStride, 0, dstH, out, refStride);
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 (hasChroma(srcFormat) && hasChroma(dstFormat)) { if (hasChroma(srcFormat) && hasChroma(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);
ssdY/= w*h; ssdY/= w*h;
ssdU/= w*h/4; ssdU/= w*h/4;
ssdV/= w*h/4; ssdV/= w*h/4;
ssdA/= w*h; ssdA/= w*h;
sws_freeContext(outContext); sws_freeContext(outContext);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment