[FFmpeg-devel] [PATCH v2] swscale/unscaled: add pal8 -> gbr(a)p special converter
Michael Niedermayer
michael at niedermayer.cc
Sun Dec 22 18:31:23 EET 2024
Hi
On Fri, Dec 20, 2024 at 12:06:01PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> Fixes: ticket #9520
> Signed-off-by: Niklas Haas <git at haasn.dev>
> Sponsored-by: Sovereign Tech Fund
> ---
> libswscale/swscale.c | 8 ++++
> libswscale/swscale_unscaled.c | 81 ++++++++++++++++++++++++++++++++++-
> 2 files changed, 87 insertions(+), 2 deletions(-)
seems to break fate
TEST filter-paletteuse-sierra2_4a
--- ./tests/ref/fate/filter-paletteuse-sierra2_4a 2024-12-22 04:18:23.519320799 +0100
+++ tests/data/fate/filter-paletteuse-sierra2_4a 2024-12-22 17:30:01.476954145 +0100
@@ -3,74 +3,74 @@
#codec_id 0: rawvideo
#dimensions 0: 320x180
#sar 0: 1/1
-0, 0, 0, 1, 230400, 0xa40645e7
-0, 1, 1, 1, 230400, 0x72b63e5e
-0, 2, 2, 1, 230400, 0x030344b2
-0, 3, 3, 1, 230400, 0xab8c42b8
-0, 4, 4, 1, 230400, 0x1fcd3f00
-0, 5, 5, 1, 230400, 0x371f3c27
-0, 6, 6, 1, 230400, 0x0cfe3dff
-0, 7, 7, 1, 230400, 0x0c64f102
-0, 8, 8, 1, 230400, 0xbca2f2f7
-0, 9, 9, 1, 230400, 0x5198f134
-0, 10, 10, 1, 230400, 0xee02305e
-0, 11, 11, 1, 230400, 0x22592ff1
-0, 12, 12, 1, 230400, 0xa230311d
-0, 13, 13, 1, 230400, 0x66453278
-0, 14, 14, 1, 230400, 0x68c63165
-0, 15, 15, 1, 230400, 0xded434ae
-0, 16, 16, 1, 230400, 0xff1a4e51
-0, 17, 17, 1, 230400, 0x31064c7b
-0, 18, 18, 1, 230400, 0x3d374e74
-0, 19, 19, 1, 230400, 0x58ec59d5
-0, 20, 20, 1, 230400, 0x8c02570f
-0, 21, 21, 1, 230400, 0x5f6b56ac
-0, 22, 22, 1, 230400, 0x781f6408
-0, 23, 23, 1, 230400, 0x1c0165d2
-0, 24, 24, 1, 230400, 0xc6e66311
-0, 25, 25, 1, 230400, 0x0375635d
-0, 26, 26, 1, 230400, 0x00756822
-0, 27, 27, 1, 230400, 0xb4276753
-0, 28, 28, 1, 230400, 0x8b826638
-0, 29, 29, 1, 230400, 0x201066e2
-0, 30, 30, 1, 230400, 0x4acc6ab8
-0, 31, 31, 1, 230400, 0xa78741fe
-0, 32, 32, 1, 230400, 0xfe85481e
-0, 33, 33, 1, 230400, 0x7153dae0
-0, 34, 34, 1, 230400, 0x9b7ede62
-0, 35, 35, 1, 230400, 0x785cad21
-0, 36, 36, 1, 230400, 0x4c81ac20
-0, 37, 37, 1, 230400, 0x2e9cc57c
-0, 38, 38, 1, 230400, 0x0043c629
-0, 39, 39, 1, 230400, 0xccb1e72d
-0, 40, 40, 1, 230400, 0xf800d4d9
-0, 41, 41, 1, 230400, 0xb40ad374
-0, 42, 42, 1, 230400, 0xa94bd3eb
-0, 43, 43, 1, 230400, 0xefa8b85f
-0, 44, 44, 1, 230400, 0xa32ab85d
-0, 45, 45, 1, 230400, 0xbb89b941
-0, 46, 46, 1, 230400, 0x6556b8f0
-0, 47, 47, 1, 230400, 0x3d5ab7ab
-0, 48, 48, 1, 230400, 0x7b68afd9
-0, 49, 49, 1, 230400, 0x7518b560
-0, 50, 50, 1, 230400, 0x4d6bb43f
-0, 51, 51, 1, 230400, 0xafe7b5a0
-0, 52, 52, 1, 230400, 0x5211b1c0
-0, 53, 53, 1, 230400, 0x4ababa33
-0, 54, 54, 1, 230400, 0x90f7b7fc
-0, 55, 55, 1, 230400, 0x0b0dba13
-0, 56, 56, 1, 230400, 0xc9b6b5b4
-0, 57, 57, 1, 230400, 0xa1c5bfcd
-0, 58, 58, 1, 230400, 0xde30bdaf
-0, 59, 59, 1, 230400, 0x6ae5bc07
-0, 60, 60, 1, 230400, 0x9845b936
-0, 61, 61, 1, 230400, 0xcad4bf41
-0, 62, 62, 1, 230400, 0x90abca33
-0, 63, 63, 1, 230400, 0x2c12c614
-0, 64, 64, 1, 230400, 0x2d65c7ea
-0, 65, 65, 1, 230400, 0x1949c8f3
-0, 66, 66, 1, 230400, 0xe5adcb22
-0, 67, 67, 1, 230400, 0xa87bc06c
-0, 68, 68, 1, 230400, 0x4c43baeb
-0, 69, 69, 1, 230400, 0xbf66c7f9
-0, 70, 70, 1, 230400, 0x9883c62d
+0, 0, 0, 1, 230400, 0x198145e7
+0, 1, 1, 1, 230400, 0xe9e03e5e
+0, 2, 2, 1, 230400, 0x764a44b2
+0, 3, 3, 1, 230400, 0x20f342b8
+0, 4, 4, 1, 230400, 0x96083f00
+0, 5, 5, 1, 230400, 0xaef43c27
+0, 6, 6, 1, 230400, 0x84343dff
+0, 7, 7, 1, 230400, 0x84a8f102
+0, 8, 8, 1, 230400, 0x346bf2f7
+0, 9, 9, 1, 230400, 0xc924f134
+0, 10, 10, 1, 230400, 0x6667305e
+0, 11, 11, 1, 230400, 0x9b772ff1
+0, 12, 12, 1, 230400, 0x1b2b311d
+0, 13, 13, 1, 230400, 0xdbbd3278
+0, 14, 14, 1, 230400, 0xde993165
+0, 15, 15, 1, 230400, 0x54f934ae
+0, 16, 16, 1, 230400, 0x732a4e51
+0, 17, 17, 1, 230400, 0xa64a4c7b
+0, 18, 18, 1, 230400, 0xb2984e74
+0, 19, 19, 1, 230400, 0xcb2359d5
+0, 20, 20, 1, 230400, 0xff42570f
+0, 21, 21, 1, 230400, 0xd1b156ac
+0, 22, 22, 1, 230400, 0xe8db6408
+0, 23, 23, 1, 230400, 0x8ce865d2
+0, 24, 24, 1, 230400, 0x39646311
+0, 25, 25, 1, 230400, 0x7639635d
+0, 26, 26, 1, 230400, 0x6ffb6822
+0, 27, 27, 1, 230400, 0x24006753
+0, 28, 28, 1, 230400, 0xfbf06638
+0, 29, 29, 1, 230400, 0x7d6366e2
+0, 30, 30, 1, 230400, 0xa7b36ab8
+0, 31, 31, 1, 230400, 0x6b7541fe
+0, 32, 32, 1, 230400, 0xc122481e
+0, 33, 33, 1, 230400, 0xa165dae0
+0, 34, 34, 1, 230400, 0xcacbde62
+0, 35, 35, 1, 230400, 0xd21cad21
+0, 36, 36, 1, 230400, 0xa6b5ac20
+0, 37, 37, 1, 230400, 0x8a11c57c
+0, 38, 38, 1, 230400, 0x5b42c629
+0, 39, 39, 1, 230400, 0x26f3e72d
+0, 40, 40, 1, 230400, 0x530ad4d9
+0, 41, 41, 1, 230400, 0x0ee7d374
+0, 42, 42, 1, 230400, 0x041fd3eb
+0, 43, 43, 1, 230400, 0x4986b85f
+0, 44, 44, 1, 230400, 0xfd29b85d
+0, 45, 45, 1, 230400, 0x15f8b941
+0, 46, 46, 1, 230400, 0xbfd5b8f0
+0, 47, 47, 1, 230400, 0x97bab7ab
+0, 48, 48, 1, 230400, 0x4126afd9
+0, 49, 49, 1, 230400, 0x3978b560
+0, 50, 50, 1, 230400, 0x120fb43f
+0, 51, 51, 1, 230400, 0x7571b5a0
+0, 52, 52, 1, 230400, 0x171cb1c0
+0, 53, 53, 1, 230400, 0x0ff9ba33
+0, 54, 54, 1, 230400, 0x56e6b7fc
+0, 55, 55, 1, 230400, 0xcff4ba13
+0, 56, 56, 1, 230400, 0x8e85b5b4
+0, 57, 57, 1, 230400, 0x64e9bfcd
+0, 58, 58, 1, 230400, 0xa1c0bdaf
+0, 59, 59, 1, 230400, 0x2eb3bc07
+0, 60, 60, 1, 230400, 0x5cddb936
+0, 61, 61, 1, 230400, 0x8ec0bf41
+0, 62, 62, 1, 230400, 0x506fca33
+0, 63, 63, 1, 230400, 0xeae1c614
+0, 64, 64, 1, 230400, 0xecd7c7ea
+0, 65, 65, 1, 230400, 0xd811c8f3
+0, 66, 66, 1, 230400, 0xa455cb22
+0, 67, 67, 1, 230400, 0x6dfcc06c
+0, 68, 68, 1, 230400, 0x12a4baeb
+0, 69, 69, 1, 230400, 0x8394c7f9
+0, 70, 70, 1, 230400, 0x5e07c62d
Test filter-paletteuse-sierra2_4a failed. Look at tests/data/fate/filter-paletteuse-sierra2_4a.err for details.
make: *** [tests/Makefile:311: fate-filter-paletteuse-sierra2_4a] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20241222/1172f359/attachment.sig>
More information about the ffmpeg-devel
mailing list