[FFmpeg-devel] [PATCH 1/7] lavu/pixfmt: add AV_PIX_FMT_RGBA32
James Almer
jamrial at gmail.com
Sat Oct 12 01:07:12 EEST 2024
On 10/11/2024 6:19 PM, Lynne via ffmpeg-devel wrote:
> On 11/10/2024 23:06, Michael Niedermayer wrote:
>> 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
>
> Yeah, me neither. The thing is, the float equivalent of the format is
> RBGAF32.
> I don't mind RGBA128, but are there any other suggestions?
We have RGB48 (packed RGB 16:16:16, 48bpp) and RGBA64 (packed RGBA
16:16:16:16, 64bpp), so this new format can't be called RGBA32, lest we
want to make things confusing. So make it RGBA128 for now, and if
someone suggest something better then it can be considered.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241011/19b20409/attachment.sig>
More information about the ffmpeg-devel
mailing list