[FFmpeg-devel] [PATCH] fate: add test for lut filter
Paul B Mahol
onemda at gmail.com
Wed May 8 11:15:35 CEST 2013
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
tests/fate/filter-video.mak | 3 +++
tests/ref/fate/filter-pixfmts-lut | 19 +++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 tests/ref/fate/filter-pixfmts-lut
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 1a0f5d9..3c66c4f 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 0000000..387464b
--- /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
--
1.7.11.2
More information about the ffmpeg-devel
mailing list