[FFmpeg-devel] [PATCH 1/7] lavu/pixfmt: add AV_PIX_FMT_RGBA32
Michael Niedermayer
michael at niedermayer.cc
Sat Oct 12 00:06:15 EEST 2024
On Thu, Oct 10, 2024 at 07:32:45AM +0200, Lynne via ffmpeg-devel wrote:
> This format is useful for doing certain lossless transforms on images,
> RCT in particular, which require you to escalate the size from 16 to
> 32 bits to avoid overflows.
>
> APIchanges will be done alongside when comitting.
> ---
> libavutil/pixdesc.c | 27 +++++++++++++++++++++++++++
> libavutil/pixfmt.h | 4 ++++
> 2 files changed, 31 insertions(+)
this needs at least am update to fate:
also iam not sure about the name rgba32 instead of rgba128
thx
TEST sws-pixdesc-query
--- ./tests/ref/fate/sws-pixdesc-query 2024-10-10 18:40:54.406975861 +0200
+++ tests/data/fate/sws-pixdesc-query 2024-10-11 23:01:16.276711814 +0200
@@ -178,6 +178,7 @@
rgb48be
rgb555be
rgb565be
+ rgba32be
rgba64be
rgbaf16be
rgbaf32be
@@ -538,6 +539,8 @@
rgb565be
rgb565le
rgb8
+ rgba32be
+ rgba32le
rgba64be
rgba64le
rgbaf16be
@@ -696,6 +699,8 @@
rgb565be
rgb565le
rgb8
+ rgba32be
+ rgba32le
rgba64be
rgba64le
rgbaf16be
@@ -731,6 +736,8 @@
pal8
rgb32
rgb32_1
+ rgba32be
+ rgba32le
rgba64be
rgba64le
rgbaf16be
@@ -821,6 +828,8 @@
rgb565be
rgb565le
rgb8
+ rgba32be
+ rgba32le
rgba64be
rgba64le
rgbaf16be
@@ -1025,6 +1034,8 @@
rgb565be
rgb565le
rgb8
+ rgba32be
+ rgba32le
rgba64be
rgba64le
rgbaf16be
Test sws-pixdesc-query failed. Look at tests/data/fate/sws-pixdesc-query.err for details.
make: *** [tests/Makefile:315: fate-sws-pixdesc-query] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- 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/20241011/795e3d90/attachment.sig>
More information about the ffmpeg-devel
mailing list