mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-12 04:44:25 +00:00
swscale-test: always use bilinear scaler to get output for SSD
Originally committed as revision 32256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
efec9ac8a9
commit
f1084cb0cd
@ -194,7 +194,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
|
|||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
outContext= sws_getContext(dstW, dstH, dstFormat, w, h, PIX_FMT_YUVA420P, flags, NULL, NULL, NULL);
|
outContext= sws_getContext(dstW, dstH, dstFormat, w, h, PIX_FMT_YUVA420P, SWS_BILINEAR, NULL, NULL, NULL);
|
||||||
if (!outContext) {
|
if (!outContext) {
|
||||||
fprintf(stderr, "Failed to get %s ---> %s\n",
|
fprintf(stderr, "Failed to get %s ---> %s\n",
|
||||||
av_pix_fmt_descriptors[dstFormat].name,
|
av_pix_fmt_descriptors[dstFormat].name,
|
||||||
|
Loading…
Reference in New Issue
Block a user