[FFmpeg-devel] [PATCH] swscale/output: fix x2rbg10/x2bgr10 output

Michael Niedermayer michael at niedermayer.cc
Fri Nov 1 18:52:11 EET 2024


On Tue, Oct 29, 2024 at 07:19:13PM -0300, James Almer wrote:
> Checking for AV_PIX_FMT_X2RGB10 means the condition will succeed only for the
> version matching the host's endinaness, when only LE is supported, and thus
> the wrong path will be taken on BE systems.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libswscale/output.c | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)

breaks (qemu) mips

--- src/tests/ref/fate/filter-pixdesc-x2rgb10le	2024-10-26 22:34:14.532454440 +0200
+++ tests/data/fate/filter-pixdesc-x2rgb10le	2024-11-01 17:50:04.659478576 +0100
@@ -1 +1 @@
-pixdesc-x2rgb10le   d34a932222b55f4041742b95837b272e
+pixdesc-x2rgb10le   45f6ccc4efa56ae1b38f4741b12e1a75
Test filter-pixdesc-x2rgb10le failed. Look at tests/data/fate/filter-pixdesc-x2rgb10le.err for details.
make: *** [src/tests/Makefile:315: fate-filter-pixdesc-x2rgb10le] Error 1
make: *** Waiting for unfinished jobs....
--- src/tests/ref/fate/filter-pixdesc-x2bgr10le	2024-10-26 22:34:14.532454440 +0200
+++ tests/data/fate/filter-pixdesc-x2bgr10le	2024-11-01 17:50:04.675478694 +0100
@@ -1 +1 @@
-pixdesc-x2bgr10le   0ea287ba7ea42330714e7020f2fde7d0
+pixdesc-x2bgr10le   f9ce2cc71dc00df2c212b68caf181765
Test filter-pixdesc-x2bgr10le failed. Look at tests/data/fate/filter-pixdesc-x2bgr10le.err for details.
make: *** [src/tests/Makefile:315: fate-filter-pixdesc-x2bgr10le] Error 1



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241101/adffa57d/attachment.sig>


More information about the ffmpeg-devel mailing list