Message ID | 20191030132056.21150-3-lance.lmwang@gmail.com |
---|---|
State | New |
Headers | show |
probably ok, but note that both filters use floats On 10/30/19, lance.lmwang@gmail.com <lance.lmwang@gmail.com> wrote: > From: Limin Wang <lance.lmwang@gmail.com> > > Signed-off-by: Limin Wang <lance.lmwang@gmail.com> > --- > 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 > > diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak > index 9e6351be3e..3bea0618b6 100644 > --- a/tests/fate/filter-video.mak > +++ b/tests/fate/filter-video.mak > @@ -678,6 +678,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 "" "" "" "le" > + > +FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut3d > +fate-filter-pixfmts-lut3d: CMD = pixfmts "" "" "" "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..07fcee0854 > --- /dev/null > +++ b/tests/ref/fate/filter-pixfmts-lut1d > @@ -0,0 +1,24 @@ > +0bgr 89655364415a9893ccdf403b32ff588c > +0rgb e86013d5c46c02ed6a555d669877e9d7 > +abgr fe237c269cf66969b99a028dd6a34214 > +argb d9b49a3a68087eb99ba208edcbf087a4 > +bgr0 9f8de7f2afbb07b4fa56e3386f06a1d4 > +bgr24 ec35fb477c56d6ecf5f1651797e1a456 > +bgr48le e713ca125c7a4f6d91d7a054155af81f > +bgra cd9424cf54a3a6ed65d7eaf9d412c3df > +bgra64le 7d11a05feef943d7abdecc39ad1e941a > +gbrap bc87d42fc26eb0e54323c2b1e4de4cde > +gbrap10le 732c3682336d505be11beb9624aa7866 > +gbrap12le 83699133174282c5d6ac81bf7878462b > +gbrap16le da278e22602bccc4ecef7194b462a6ff > +gbrp 5a031c0eaf96442715a7cc71b4a97f07 > +gbrp10le 56fe2aa5e1bf130aa32a24fc99ce528f > +gbrp12le 11cabeca5ae713c0fc1e08aaeddfa17d > +gbrp14le e71c1fd4277ce9873c0893740cb2cd83 > +gbrp16le f77722121d3c963da139f9e264713922 > +gbrp9le 662a7fe5a4aa94fc43252deb54fc2880 > +rgb0 c7e68621c78fcd2d198c4d4af6116911 > +rgb24 5f0bce5216958eac47159ea30b4594d5 > +rgb48le a6c5dd31afe7fdeb23e68bddb9be9589 > +rgba ae28588ea064087d2535bfc7a67273ee > +rgba64le d3c5b32463001be46927e8909cce5859 > diff --git a/tests/ref/fate/filter-pixfmts-lut3d > b/tests/ref/fate/filter-pixfmts-lut3d > new file mode 100644 > index 0000000000..56c294fa86 > --- /dev/null > +++ b/tests/ref/fate/filter-pixfmts-lut3d > @@ -0,0 +1,24 @@ > +0bgr 5087cdbb3da0d014de02fda75618f278 > +0rgb 9ccde40a857919017558353aaecfa5de > +abgr 0505ae7e852cf32ce9e2a0fc06462f48 > +argb 77e7baba2d8b4389267a2ecb67662c15 > +bgr0 cded4da42263da5bf0153e8bad09a0de > +bgr24 fef9ee2e37a1d5c1787ffb3ed5dcc3bf > +bgr48le 39fe9f41285f3325833d28ce1611d586 > +bgra 3433cdbdf07abbd8af4698a3b7a1a189 > +bgra64le 8f33508d6c0362df83296513ebee3a2d > +gbrap 4227379340c3d822dd6c59263b170972 > +gbrap10le 90721f63d6e3d5d7a6bafcefdca5151d > +gbrap12le e1eee70df0c2578937dcd7a90e22f4b7 > +gbrap16le 2fd82ec30573ed65fa23c4d1c150d596 > +gbrp e615c8ea180a0358261953812df0aa3d > +gbrp10le d61faad75dbd7cbb0271b47fa33d714e > +gbrp12le 90c4ec04807bbfbe194eddcc8d7bcb2a > +gbrp14le c424158744f9e16dbfcf00c66ba651f9 > +gbrp16le 8ccb63f9407cae03b2e061ed1249127d > +gbrp9le 4a267ed7c6535c8829e83e35c51df6bf > +rgb0 545f5c4e4a7b7f3e61373149db0b932a > +rgb24 aec4f0a1954823de17024383d6401b75 > +rgb48le 1d1e5a1849ed3c326961184bb2f45400 > +rgba ecd543877779d03bded1e8209f5bdea5 > +rgba64le b26c35d221b026304db46014260ed1db > -- > 2.21.0 > > _______________________________________________ > 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 --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 9e6351be3e..3bea0618b6 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -678,6 +678,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 "" "" "" "le" + +FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut3d +fate-filter-pixfmts-lut3d: CMD = pixfmts "" "" "" "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..07fcee0854 --- /dev/null +++ b/tests/ref/fate/filter-pixfmts-lut1d @@ -0,0 +1,24 @@ +0bgr 89655364415a9893ccdf403b32ff588c +0rgb e86013d5c46c02ed6a555d669877e9d7 +abgr fe237c269cf66969b99a028dd6a34214 +argb d9b49a3a68087eb99ba208edcbf087a4 +bgr0 9f8de7f2afbb07b4fa56e3386f06a1d4 +bgr24 ec35fb477c56d6ecf5f1651797e1a456 +bgr48le e713ca125c7a4f6d91d7a054155af81f +bgra cd9424cf54a3a6ed65d7eaf9d412c3df +bgra64le 7d11a05feef943d7abdecc39ad1e941a +gbrap bc87d42fc26eb0e54323c2b1e4de4cde +gbrap10le 732c3682336d505be11beb9624aa7866 +gbrap12le 83699133174282c5d6ac81bf7878462b +gbrap16le da278e22602bccc4ecef7194b462a6ff +gbrp 5a031c0eaf96442715a7cc71b4a97f07 +gbrp10le 56fe2aa5e1bf130aa32a24fc99ce528f +gbrp12le 11cabeca5ae713c0fc1e08aaeddfa17d +gbrp14le e71c1fd4277ce9873c0893740cb2cd83 +gbrp16le f77722121d3c963da139f9e264713922 +gbrp9le 662a7fe5a4aa94fc43252deb54fc2880 +rgb0 c7e68621c78fcd2d198c4d4af6116911 +rgb24 5f0bce5216958eac47159ea30b4594d5 +rgb48le a6c5dd31afe7fdeb23e68bddb9be9589 +rgba ae28588ea064087d2535bfc7a67273ee +rgba64le d3c5b32463001be46927e8909cce5859 diff --git a/tests/ref/fate/filter-pixfmts-lut3d b/tests/ref/fate/filter-pixfmts-lut3d new file mode 100644 index 0000000000..56c294fa86 --- /dev/null +++ b/tests/ref/fate/filter-pixfmts-lut3d @@ -0,0 +1,24 @@ +0bgr 5087cdbb3da0d014de02fda75618f278 +0rgb 9ccde40a857919017558353aaecfa5de +abgr 0505ae7e852cf32ce9e2a0fc06462f48 +argb 77e7baba2d8b4389267a2ecb67662c15 +bgr0 cded4da42263da5bf0153e8bad09a0de +bgr24 fef9ee2e37a1d5c1787ffb3ed5dcc3bf +bgr48le 39fe9f41285f3325833d28ce1611d586 +bgra 3433cdbdf07abbd8af4698a3b7a1a189 +bgra64le 8f33508d6c0362df83296513ebee3a2d +gbrap 4227379340c3d822dd6c59263b170972 +gbrap10le 90721f63d6e3d5d7a6bafcefdca5151d +gbrap12le e1eee70df0c2578937dcd7a90e22f4b7 +gbrap16le 2fd82ec30573ed65fa23c4d1c150d596 +gbrp e615c8ea180a0358261953812df0aa3d +gbrp10le d61faad75dbd7cbb0271b47fa33d714e +gbrp12le 90c4ec04807bbfbe194eddcc8d7bcb2a +gbrp14le c424158744f9e16dbfcf00c66ba651f9 +gbrp16le 8ccb63f9407cae03b2e061ed1249127d +gbrp9le 4a267ed7c6535c8829e83e35c51df6bf +rgb0 545f5c4e4a7b7f3e61373149db0b932a +rgb24 aec4f0a1954823de17024383d6401b75 +rgb48le 1d1e5a1849ed3c326961184bb2f45400 +rgba ecd543877779d03bded1e8209f5bdea5 +rgba64le b26c35d221b026304db46014260ed1db