[FFmpeg-devel] [PATCH v2 3/5] tests/fate/filter-video: add fate pixfmts test for lut1d and lut3d

Limin Wang lance.lmwang at gmail.com
Sat Nov 2 05:38:20 EET 2019


On Fri, Nov 01, 2019 at 01:56:06PM +0100, Michael Niedermayer wrote:
> On Wed, Oct 30, 2019 at 09:20:54PM +0800, lance.lmwang at gmail.com wrote:
> > From: Limin Wang <lance.lmwang at gmail.com>
> > 
> > Signed-off-by: Limin Wang <lance.lmwang at 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
> 
> fails
> make: *** [fate-filter-pixfmts-lut3d] Error 1
> make: *** [fate-filter-pixfmts-lut1d] Error 1
> on x86-32

It seems that the float operation can't get consistent result, I have
tested with interp=nearest, however there're 2 pixfmt is different still.
So please ignore the patch.

> 
> --- src/tests/ref/fate/filter-pixfmts-lut3d	2019-11-01 13:51:40.807408107 +0100
> +++ tests/data/fate/filter-pixfmts-lut3d	2019-11-01 13:53:45.595410736 +0100
> @@ -1,24 +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
> +0bgr                7b83991d73694572a29f9655ad4a1c84
> +0rgb                d559f4a889a119ecede1821b561fdded
> +abgr                c09eeb64d67b2feee042fec6c82d19f2
> +argb                a18a4a3a1125cfe8cba94e9472a9d255
> +bgr0                f7db08eaee52afa722aabb67adaaf4ea
> +bgr24               11db3c5fe5f705ba4994ec9a5ada3cff
> +bgr48le             569c425858f68a809ba30e4599a48fe4
> +bgra                f6c5a568b5c41238a7a64cf62330f337
> +bgra64le            a8e90780f59afb31cd11ee35d5e476c2
> +gbrap               ae8ce6a9a43b1a29c77e768bb3219ced
> +gbrap10le           d91ec08222f53ad2d13eb55526c4ebbe
> +gbrap12le           d9902c437e1a634c7debb9b26a78af05
> +gbrap16le           45eb3cd875157c057c1c9931fe7cc0e2
> +gbrp                92873a0fa33a0e71b57654ad883aa902
> +gbrp10le            d7008353207928923330a484c255a31d
> +gbrp12le            6ccaad2d08e11f06f41d1f925fc91e7f
> +gbrp14le            b1d20a9df7193d524e20e0c057307176
> +gbrp16le            e23c0cdec81cea1ddc9be45ac610ca64
> +gbrp9le             06173cd4a5569f303eecbe1d19f9e9d3
> +rgb0                05b576915d8fd30b1de3d3a7d59aba06
> +rgb24               7ec80634e169ea94adc4efde25592e31
> +rgb48le             f4671cad79547953dc1ca8a0661ad131
> +rgba                e98ce9f6b490413fe325bcb30b9c0eac
> +rgba64le            eda79f1558a53d14e4e236c8c4aaef4d
> Test filter-pixfmts-lut3d failed. Look at tests/data/fate/filter-pixfmts-lut3d.err for details.
> 
> 
> --- src/tests/ref/fate/filter-pixfmts-lut1d	2019-11-01 13:51:40.807408107 +0100
> +++ tests/data/fate/filter-pixfmts-lut1d	2019-11-01 13:53:45.587410736 +0100
> @@ -1,24 +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
> +0bgr                7b83991d73694572a29f9655ad4a1c84
> +0rgb                d559f4a889a119ecede1821b561fdded
> +abgr                c09eeb64d67b2feee042fec6c82d19f2
> +argb                a18a4a3a1125cfe8cba94e9472a9d255
> +bgr0                f7db08eaee52afa722aabb67adaaf4ea
> +bgr24               11db3c5fe5f705ba4994ec9a5ada3cff
> +bgr48le             569c425858f68a809ba30e4599a48fe4
> +bgra                f6c5a568b5c41238a7a64cf62330f337
> +bgra64le            a8e90780f59afb31cd11ee35d5e476c2
> +gbrap               ae8ce6a9a43b1a29c77e768bb3219ced
> +gbrap10le           d91ec08222f53ad2d13eb55526c4ebbe
> +gbrap12le           d9902c437e1a634c7debb9b26a78af05
> +gbrap16le           45eb3cd875157c057c1c9931fe7cc0e2
> +gbrp                92873a0fa33a0e71b57654ad883aa902
> +gbrp10le            d7008353207928923330a484c255a31d
> +gbrp12le            6ccaad2d08e11f06f41d1f925fc91e7f
> +gbrp14le            b1d20a9df7193d524e20e0c057307176
> +gbrp16le            e23c0cdec81cea1ddc9be45ac610ca64
> +gbrp9le             06173cd4a5569f303eecbe1d19f9e9d3
> +rgb0                05b576915d8fd30b1de3d3a7d59aba06
> +rgb24               7ec80634e169ea94adc4efde25592e31
> +rgb48le             f4671cad79547953dc1ca8a0661ad131
> +rgba                e98ce9f6b490413fe325bcb30b9c0eac
> +rgba64le            eda79f1558a53d14e4e236c8c4aaef4d
> 
> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Those who are best at talking, realize last or never when they are wrong.



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



More information about the ffmpeg-devel mailing list