diff options
author | Clément Bœsch <u@pkh.me> | 2013-06-07 10:57:29 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-06-21 19:22:55 +0200 |
commit | ded3c9fd32afe4174b65d5bae843cea9149c8f11 (patch) | |
tree | e2d1046f90a70a6e6e9f820d583bf90ea6989d7f /tests | |
parent | 5ab51f75358360c7a9389fb3157efb919ff0e656 (diff) |
avfilter: add hqx filter (hq2x, hq3x, hq4x)
Partially fixes Ticket #3404 (xbr filter remaining)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/filter-video.mak | 7 | ||||
-rw-r--r-- | tests/ref/fate/filter-hq2x | 3 | ||||
-rw-r--r-- | tests/ref/fate/filter-hq3x | 3 | ||||
-rw-r--r-- | tests/ref/fate/filter-hq4x | 3 |
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 0241f02fcd..f5f7573de4 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -146,6 +146,13 @@ FATE_FILTER-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER HQDN3D_FILT 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 +FATE_FILTER_HQX-$(call ALLYES, IMAGE2_DEMUXER PNG_DECODER HQX_FILTER) = fate-filter-hq2x fate-filter-hq3x fate-filter-hq4x +FATE_FILTER-yes += $(FATE_FILTER_HQX-yes) +fate-filter-hq2x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf hqx=2 +fate-filter-hq3x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf hqx=3 +fate-filter-hq4x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf hqx=4 +fate-filter-hqx: $(FATE_FILTER_HQX-yes) + FATE_FILTER-$(call ALLYES, UTVIDEO_DECODER AVI_DEMUXER PERMS_FILTER CURVES_FILTER) += fate-filter-curves fate-filter-curves: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgb_median.avi -vf perms=random,curves=vintage diff --git a/tests/ref/fate/filter-hq2x b/tests/ref/fate/filter-hq2x new file mode 100644 index 0000000000..dcf2a291cd --- /dev/null +++ b/tests/ref/fate/filter-hq2x @@ -0,0 +1,3 @@ +#tb 0: 1/25 +0, 0, 0, 1, 877072, 0x9369339e +0, 1, 1, 1, 877072, 0x32d119a1 diff --git a/tests/ref/fate/filter-hq3x b/tests/ref/fate/filter-hq3x new file mode 100644 index 0000000000..82153881d4 --- /dev/null +++ b/tests/ref/fate/filter-hq3x @@ -0,0 +1,3 @@ +#tb 0: 1/25 +0, 0, 0, 1, 1973412, 0xafc227fa +0, 1, 1, 1, 1973412, 0x93aebf19 diff --git a/tests/ref/fate/filter-hq4x b/tests/ref/fate/filter-hq4x new file mode 100644 index 0000000000..c1d6fd8fac --- /dev/null +++ b/tests/ref/fate/filter-hq4x @@ -0,0 +1,3 @@ +#tb 0: 1/25 +0, 0, 0, 1, 3508288, 0x034ef75e +0, 1, 1, 1, 3508288, 0x738e9bbb |