You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
tests/swscale: use hex format for flags values
This commit is contained in:
@@ -201,7 +201,7 @@ static int run_test(enum AVPixelFormat src_fmt, enum AVPixelFormat dst_fmt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_mse(mse, out, ref, comps);
|
get_mse(mse, out, ref, comps);
|
||||||
printf("%s %dx%d -> %s %3dx%3d, flags=%u dither=%u, "
|
printf("%s %dx%d -> %s %3dx%3d, flags=0x%x dither=%u, "
|
||||||
"MSE={%5d %5d %5d %5d}\n",
|
"MSE={%5d %5d %5d %5d}\n",
|
||||||
av_get_pix_fmt_name(src->format), src->width, src->height,
|
av_get_pix_fmt_name(src->format), src->width, src->height,
|
||||||
av_get_pix_fmt_name(dst->format), dst->width, dst->height,
|
av_get_pix_fmt_name(dst->format), dst->width, dst->height,
|
||||||
@@ -314,7 +314,7 @@ static int run_file_tests(const AVFrame *ref, FILE *fp, struct options opts)
|
|||||||
struct mode mode;
|
struct mode mode;
|
||||||
|
|
||||||
ret = sscanf(buf,
|
ret = sscanf(buf,
|
||||||
" %20s %dx%d -> %20s %dx%d, flags=%u dither=%u, "
|
" %20s %dx%d -> %20s %dx%d, flags=0x%x dither=%u, "
|
||||||
"MSE={%d %d %d %d}\n",
|
"MSE={%d %d %d %d}\n",
|
||||||
src_fmt_str, &sw, &sh, dst_fmt_str, &dw, &dh,
|
src_fmt_str, &sw, &sh, dst_fmt_str, &dw, &dh,
|
||||||
&mode.flags, &mode.dither,
|
&mode.flags, &mode.dither,
|
||||||
|
Reference in New Issue
Block a user