diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-08 13:04:16 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-05-09 14:37:58 +0400 |
commit | d1cb559a6a358a141d5c8672e893f5561343baf5 (patch) | |
tree | f77f746ea90178d73bac346f12460dae44e2c76c /tests | |
parent | 769efe56b145469cfdf45130bb3fdd2c5eb595d0 (diff) |
fate: add test for lut filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/filter-video.mak | 3 | ||||
-rw-r--r-- | tests/ref/fate/filter-pixfmts-lut | 19 |
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 09126cab00..9022670863 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -215,6 +215,9 @@ fate-filter-pixfmts-il: CMD = pixfmts "luma_mode=d:chroma_mode=d:alpha_mode=d FATE_FILTER_PIXFMTS-$(CONFIG_KERNDEINT_FILTER) += fate-filter-pixfmts-kerndeint fate-filter-pixfmts-kerndeint: CMD = pixfmts "" "tinterlace=interleave_top," +FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut +fate-filter-pixfmts-lut: CMD = pixfmts "c0=2*val:c1=2*val:c2=val/2:c3=negval+40" + FATE_FILTER_PIXFMTS-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null fate-filter-pixfmts-null: CMD = pixfmts diff --git a/tests/ref/fate/filter-pixfmts-lut b/tests/ref/fate/filter-pixfmts-lut new file mode 100644 index 0000000000..387464be27 --- /dev/null +++ b/tests/ref/fate/filter-pixfmts-lut @@ -0,0 +1,19 @@ +abgr c1e31c876e806cbfa8ef58441d1dee6f +argb 1239bf03999d8767c2e03863e22955a8 +bgr24 0ed1377b8c34489e716650edb593494d +bgra 87a4b656459a5f8ee2a0e5a994c61439 +rgb24 a1466d9fc7d1726dda3bfe80dfcc1b44 +rgba 980b5fb376926ca9c5a0a5b82a0ab162 +yuv410p ec9e2e31c1c702676362f5445efd4354 +yuv411p 9caecd7961e1011db685cc4d60220fd1 +yuv420p 8796295e7d132dd0f616fed149633ad9 +yuv422p 2a3f79670546a0e582ab00cb83bb3b79 +yuv440p d7e3ffabdb376f49a02cd641907df726 +yuv444p 13ef53a3dd3f77516e2c5237bf43b0c5 +yuva420p 34c07d6c05233f333a933a50a3dbfa61 +yuva422p 352406873ef88f865af0f27760f37663 +yuva444p 8efb7b3d809946fdf01f3c426a6cdf83 +yuvj420p 5a8771944ba995a831ca272526f440e5 +yuvj422p ab379523c4e79ca1e3c72adc46b918ff +yuvj440p 8e82847ed2f7a3a22ebdb2372e941fc4 +yuvj444p 4a98641643a7a51292c61c71e221ddc4 |