diff options
author | Thomas Mundt <tmundt75@gmail.com> | 2017-04-20 23:33:39 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-05-02 14:09:50 -0300 |
commit | 2da5bf4c2f4cb878bad794be2b76108afbbd899d (patch) | |
tree | 509008cb5a54e60151674017dae6c88bdcd9d6a7 /tests | |
parent | 20da4135020fdf66f6060bb14926befbcc42a7dd (diff) | |
download | ffmpeg-streaming-2da5bf4c2f4cb878bad794be2b76108afbbd899d.zip ffmpeg-streaming-2da5bf4c2f4cb878bad794be2b76108afbbd899d.tar.gz |
avfilter/interlace: add complex vertical low-pass filter
This complex (-1 2 6 2 -1) filter slightly less reduces interlace 'twitter' but better retain detail and subjective sharpness impression compared to the linear (1 2 1) filter.
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/filter-video.mak | 3 | ||||
-rw-r--r-- | tests/ref/fate/filter-interlace-complex | 30 |
2 files changed, 33 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index f185897..1ca29e8 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -123,6 +123,9 @@ fate-filter-hqdn3d: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf hqdn3d FATE_FILTER_VSYNTH-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace fate-filter-interlace: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace +FATE_FILTER_VSYNTH-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace-complex +fate-filter-interlace-complex: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=lowpass=complex + FATE_FILTER_VSYNTH-$(call ALLYES, NEGATE_FILTER PERMS_FILTER) += fate-filter-negate fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf perms=random,negate diff --git a/tests/ref/fate/filter-interlace-complex b/tests/ref/fate/filter-interlace-complex new file mode 100644 index 0000000..3b78125 --- /dev/null +++ b/tests/ref/fate/filter-interlace-complex @@ -0,0 +1,30 @@ +#tb 0: 2/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 352x288 +#sar 0: 0/1 +0, 0, 0, 1, 152064, 0x91290ae6 +0, 1, 1, 1, 152064, 0x24f34baf +0, 2, 2, 1, 152064, 0x799fc436 +0, 3, 3, 1, 152064, 0xfe42c0a9 +0, 4, 4, 1, 152064, 0xb496f879 +0, 5, 5, 1, 152064, 0xc43b36c9 +0, 6, 6, 1, 152064, 0xb65abbf4 +0, 7, 7, 1, 152064, 0xd1806312 +0, 8, 8, 1, 152064, 0x0faf56c1 +0, 9, 9, 1, 152064, 0x4de73b75 +0, 10, 10, 1, 152064, 0xf90f24ce +0, 11, 11, 1, 152064, 0xc1efd6e0 +0, 12, 12, 1, 152064, 0xeb8e5894 +0, 13, 13, 1, 152064, 0xe8aacabc +0, 14, 14, 1, 152064, 0x8bd2163c +0, 15, 15, 1, 152064, 0xbfc72ac2 +0, 16, 16, 1, 152064, 0x1e8f6f56 +0, 17, 17, 1, 152064, 0xe3d19450 +0, 18, 18, 1, 152064, 0x3872af32 +0, 19, 19, 1, 152064, 0xf23be72a +0, 20, 20, 1, 152064, 0x024f8f2b +0, 21, 21, 1, 152064, 0xb49301ea +0, 22, 22, 1, 152064, 0x84f5d056 +0, 23, 23, 1, 152064, 0xd2c09ca5 +0, 24, 24, 1, 152064, 0xe9b5ddfd |