[FFmpeg-devel] [PATCH v5 3/3] fate/filter-video: add 10bit test for unsharp filter
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Fri Nov 6 13:02:37 EET 2020
On Mon, Nov 02, 2020 at 10:07:42AM +0800, lance.lmwang at gmail.com wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
> tests/fate/filter-video.mak | 3 +++
> tests/ref/fate/filter-unsharp-yuv420p10 | 25 +++++++++++++++++++++++++
> 2 files changed, 28 insertions(+)
> create mode 100644 tests/ref/fate/filter-unsharp-yuv420p10
>
> diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
> index 639f957..f9059f4 100644
> --- a/tests/fate/filter-video.mak
> +++ b/tests/fate/filter-video.mak
> @@ -410,6 +410,9 @@ fate-filter-untile: CMD = framecrc -lavfi testsrc2=d=1:r=2,untile=2x2
> FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp
> fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp=11:11:-1.5:11:11:-1.5
>
> +FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp-yuv420p10
> +fate-filter-unsharp-yuv420p10: CMD = framecrc -lavfi testsrc2=r=2:d=10,scale,format=yuv420p10,unsharp=11:11:-1.5:11:11:-1.5,scale -pix_fmt yuv420p10le -flags +bitexact -sws_flags +accurate_rnd+bitexact
> +
> FATE_FILTER_SAMPLES-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER HQDN3D_FILTER) += fate-filter-hqdn3d-sample
> fate-filter-hqdn3d-sample: tests/data/filtergraphs/hqdn3d
> fate-filter-hqdn3d-sample: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/hqdn3d -an
> diff --git a/tests/ref/fate/filter-unsharp-yuv420p10 b/tests/ref/fate/filter-unsharp-yuv420p10
> new file mode 100644
> index 0000000..513ee78
> --- /dev/null
> +++ b/tests/ref/fate/filter-unsharp-yuv420p10
> @@ -0,0 +1,25 @@
> +#tb 0: 1/2
> +#media_type 0: video
> +#codec_id 0: rawvideo
> +#dimensions 0: 320x240
> +#sar 0: 1/1
> +0, 0, 0, 1, 230400, 0x091f3ed7
> +0, 1, 1, 1, 230400, 0x4151292d
> +0, 2, 2, 1, 230400, 0xe7066e96
> +0, 3, 3, 1, 230400, 0x57c20d15
> +0, 4, 4, 1, 230400, 0x01269a37
> +0, 5, 5, 1, 230400, 0xb2b04e5c
> +0, 6, 6, 1, 230400, 0x98fc479f
> +0, 7, 7, 1, 230400, 0x561915bb
> +0, 8, 8, 1, 230400, 0xd60c45f7
> +0, 9, 9, 1, 230400, 0x747d8a28
> +0, 10, 10, 1, 230400, 0x92505d36
> +0, 11, 11, 1, 230400, 0x9476af1f
> +0, 12, 12, 1, 230400, 0x1382c3d0
> +0, 13, 13, 1, 230400, 0x94ea40bd
> +0, 14, 14, 1, 230400, 0x8d46229a
> +0, 15, 15, 1, 230400, 0xe5736654
> +0, 16, 16, 1, 230400, 0x04bd4db2
> +0, 17, 17, 1, 230400, 0x4d721ad2
> +0, 18, 18, 1, 230400, 0xebe151a2
> +0, 19, 19, 1, 230400, 0xa1263f01
> --
> 1.8.3.1
>
will apply the patchset tomorrow unless there are objections.
--
Thanks,
Limin Wang
More information about the ffmpeg-devel
mailing list