[FFmpeg-devel] [PATCH v4 2/6] avutil/pixdesc: add alpha component information to pixfmts with reserved but undefined alpha bits

Michael Niedermayer michael at niedermayer.cc
Mon Oct 21 02:58:11 EEST 2024


On Fri, Oct 18, 2024 at 11:34:44PM -0300, James Almer wrote:
> This can be useful to simplify certain processes that need to know how many
> reserved bits there are and where they are placed, even if they are ultimately
> unused, as will be shown in the next commit.
> For any other case where the user simply looks at nb_components components, it
> will make no difference.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavutil/pixdesc.c          | 19 +++++++++++++++++--
>  libavutil/tests/pixelutils.c |  3 +--
>  2 files changed, 18 insertions(+), 4 deletions(-)

agree this makes sense

thx

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

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- 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/20241021/4cb44fa4/attachment.sig>


More information about the ffmpeg-devel mailing list