This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit b7bbcccbfe6196bcf3fc5bb59d075c74e59ed570 Author: Niklas Haas <[email protected]> AuthorDate: Fri Feb 20 17:50:39 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Thu Feb 26 18:08:49 2026 +0000 tests/swscale: disable fate-sws-ops-list on BE platforms The issue is that every le/be pair ends up with a swapped op list: rgb24 -> rgb48be: [ u8 XXXX -> +++X] SWS_OP_READ : 3 elem(s) packed >> 0 [ u8 ...X -> +++X] SWS_OP_CONVERT : u8 -> u16 (expand) - [u16 ...X -> zzzX] SWS_OP_SWAP_BYTES - [u16 ...X -> zzzX] SWS_OP_WRITE : 3 elem(s) packed >> 0 + [u16 ...X -> +++X] SWS_OP_WRITE : 3 elem(s) packed >> 0 (X = unused, z = byteswapped, + = exact, 0 = zero) rgb24 -> rgb48le: [ u8 XXXX -> +++X] SWS_OP_READ : 3 elem(s) packed >> 0 [ u8 ...X -> +++X] SWS_OP_CONVERT : u8 -> u16 (expand) - [u16 ...X -> +++X] SWS_OP_WRITE : 3 elem(s) packed >> 0 + [u16 ...X -> zzzX] SWS_OP_SWAP_BYTES + [u16 ...X -> zzzX] SWS_OP_WRITE : 3 elem(s) packed >> 0 (X = unused, z = byteswapped, + = exact, 0 = zero) I'm not sure of a good work-around that's not needlessly difficult to implement, so just disable it on BE platforms for now. The actual underlying conversions should still be covered by the sws-unscaled test. --- tests/fate/libswscale.mak | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/fate/libswscale.mak b/tests/fate/libswscale.mak index 63e203dbf7..bd037a83dd 100644 --- a/tests/fate/libswscale.mak +++ b/tests/fate/libswscale.mak @@ -36,9 +36,13 @@ FATE_LIBSWSCALE-$(CONFIG_UNSTABLE) += fate-sws-unscaled fate-sws-unscaled: libswscale/tests/swscale$(EXESUF) fate-sws-unscaled: CMD = run libswscale/tests/swscale$(EXESUF) -unscaled 1 -flags unstable -v 16 +ifneq ($(HAVE_BIGENDIAN),yes) +# Disable on big endian because big endian platforms generate different op +# lists for le vs be formats; this breaks the checksum otherwise FATE_LIBSWSCALE-$(CONFIG_UNSTABLE) += fate-sws-ops-list fate-sws-ops-list: libswscale/tests/sws_ops$(EXESUF) fate-sws-ops-list: CMD = run libswscale/tests/sws_ops$(EXESUF) | do_md5sum | cut -d" " -f1 +endif FATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes) FATE_LIBSWSCALE_SAMPLES += $(FATE_LIBSWSCALE_SAMPLES-yes) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
