diff mbox

[FFmpeg-devel,v2,3/4] FATE: add a test for lut1d and lut3d

Message ID 20191114134623.17390-3-lance.lmwang@gmail.com
State New
Headers show

Commit Message

Limin Wang Nov. 14, 2019, 1:46 p.m. UTC
From: Limin Wang <lance.lmwang@gmail.com>

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
---
have tested with x86_64(apple darwin, linux gcc), x86_32(linux), mips

 tests/fate/filter-video.mak         |  6 ++++++
 tests/ref/fate/filter-pixfmts-lut1d | 24 ++++++++++++++++++++++++
 tests/ref/fate/filter-pixfmts-lut3d | 24 ++++++++++++++++++++++++
 3 files changed, 54 insertions(+)
 create mode 100644 tests/ref/fate/filter-pixfmts-lut1d
 create mode 100644 tests/ref/fate/filter-pixfmts-lut3d

Comments

Michael Niedermayer Nov. 14, 2019, 9:55 p.m. UTC | #1
On Thu, Nov 14, 2019 at 09:46:22PM +0800, lance.lmwang@gmail.com wrote:
> From: Limin Wang <lance.lmwang@gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> ---
> have tested with x86_64(apple darwin, linux gcc), x86_32(linux), mips

tested on mingw32/64, qemu arm/mips 

[...]
Limin Wang Dec. 1, 2019, 2:06 p.m. UTC | #2
On Thu, Nov 14, 2019 at 10:55:30PM +0100, Michael Niedermayer wrote:
> On Thu, Nov 14, 2019 at 09:46:22PM +0800, lance.lmwang@gmail.com wrote:
> > From: Limin Wang <lance.lmwang@gmail.com>
> > 
> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> > ---
> > have tested with x86_64(apple darwin, linux gcc), x86_32(linux), mips
> 
> tested on mingw32/64, qemu arm/mips 

ping the patchset, thx.

> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Freedom in capitalist society always remains about the same as it was in
> ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin



> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
Limin Wang Dec. 29, 2019, 2:54 a.m. UTC | #3
On Thu, Nov 14, 2019 at 10:55:30PM +0100, Michael Niedermayer wrote:
> On Thu, Nov 14, 2019 at 09:46:22PM +0800, lance.lmwang@gmail.com wrote:
> > From: Limin Wang <lance.lmwang@gmail.com>
> > 
> > Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
> > ---
> > have tested with x86_64(apple darwin, linux gcc), x86_32(linux), mips
> 
> tested on mingw32/64, qemu arm/mips 

ping, please help to push the patchset(except 4) if no other issues.


> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Freedom in capitalist society always remains about the same as it was in
> ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin



> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox

Patch

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index b5206909aa..8d617c62fc 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -684,6 +684,12 @@  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_LUT_FILTER) += fate-filter-pixfmts-lut1d
+fate-filter-pixfmts-lut1d: CMD = pixfmts "interp=nearest" "" "" "le"
+
+FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut3d
+fate-filter-pixfmts-lut3d: CMD = pixfmts "interp=nearest" "" "" "le"
+
 FATE_FILTER_PIXFMTS-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null
 fate-filter-pixfmts-null:  CMD = pixfmts
 
diff --git a/tests/ref/fate/filter-pixfmts-lut1d b/tests/ref/fate/filter-pixfmts-lut1d
new file mode 100644
index 0000000000..62b024eab9
--- /dev/null
+++ b/tests/ref/fate/filter-pixfmts-lut1d
@@ -0,0 +1,24 @@ 
+0bgr                074f16a502fe65d34a7933ff3575c7a8
+0rgb                f5a434b811185534393f7144127a8625
+abgr                e1631a7ebcf6d1d80ef2a3de44605391
+argb                6e898ace2a1a020df40050927eedea31
+bgr0                9133afba160bf37de9f8cb7cbe154539
+bgr24               2723c862eba4dc18776b908ee3e96015
+bgr48le             ab0f343cd4f15e2a2a6cbe552777ede9
+bgra                1771a74cceffb1dc8cb4a7b754c31cbe
+bgra64le            ca8f99b90f4727907824964b2f024115
+gbrap               04d467134a42becf7c2ddd8fbbb2c8e8
+gbrap10le           c36078e25fa8fdcf2d1965122e84a974
+gbrap12le           d41627c671d8cebf68a4ab1e340e3692
+gbrap16le           9acf810f050969b589c1c4040ad463bf
+gbrp                48216afac8939342dd57e6a6d7bffa77
+gbrp10le            a43244e4ac58b9b7321d1054f97362b5
+gbrp12le            3acc433145a00b02517759a3d08ecbaa
+gbrp14le            8d5c259928b5b13201deb0413661c58f
+gbrp16le            4d0fe663751b111f1328244cbd194627
+gbrp9le             b4d50fa86a796d57a93ea5ae14780f7a
+rgb0                e780a70aabf6451ef9c27e448cb12e27
+rgb24               7c4fb568561631e596bec0ca7525d999
+rgb48le             aba2a2d23af49c892d57b1bcd01317ea
+rgba                51e48e3ffe1f208c613f3a3372516fc5
+rgba64le            6468a415e6effee141a2022973275006
diff --git a/tests/ref/fate/filter-pixfmts-lut3d b/tests/ref/fate/filter-pixfmts-lut3d
new file mode 100644
index 0000000000..62b024eab9
--- /dev/null
+++ b/tests/ref/fate/filter-pixfmts-lut3d
@@ -0,0 +1,24 @@ 
+0bgr                074f16a502fe65d34a7933ff3575c7a8
+0rgb                f5a434b811185534393f7144127a8625
+abgr                e1631a7ebcf6d1d80ef2a3de44605391
+argb                6e898ace2a1a020df40050927eedea31
+bgr0                9133afba160bf37de9f8cb7cbe154539
+bgr24               2723c862eba4dc18776b908ee3e96015
+bgr48le             ab0f343cd4f15e2a2a6cbe552777ede9
+bgra                1771a74cceffb1dc8cb4a7b754c31cbe
+bgra64le            ca8f99b90f4727907824964b2f024115
+gbrap               04d467134a42becf7c2ddd8fbbb2c8e8
+gbrap10le           c36078e25fa8fdcf2d1965122e84a974
+gbrap12le           d41627c671d8cebf68a4ab1e340e3692
+gbrap16le           9acf810f050969b589c1c4040ad463bf
+gbrp                48216afac8939342dd57e6a6d7bffa77
+gbrp10le            a43244e4ac58b9b7321d1054f97362b5
+gbrp12le            3acc433145a00b02517759a3d08ecbaa
+gbrp14le            8d5c259928b5b13201deb0413661c58f
+gbrp16le            4d0fe663751b111f1328244cbd194627
+gbrp9le             b4d50fa86a796d57a93ea5ae14780f7a
+rgb0                e780a70aabf6451ef9c27e448cb12e27
+rgb24               7c4fb568561631e596bec0ca7525d999
+rgb48le             aba2a2d23af49c892d57b1bcd01317ea
+rgba                51e48e3ffe1f208c613f3a3372516fc5
+rgba64le            6468a415e6effee141a2022973275006