]> git.sesse.net Git - ffmpeg/commit
avutil: Add NV24 and NV42 pixel formats
authorPhilip Langdale <philipl@overt.org>
Tue, 7 May 2019 03:39:39 +0000 (20:39 -0700)
committerPhilip Langdale <philipl@overt.org>
Sun, 12 May 2019 14:51:02 +0000 (07:51 -0700)
commit5de4f1d871d60886b9630531fa8c34cad13cc9dd
tree811d11d729903ee3659592a006ed0087633fbf38
parent7c6f2bfdb25ccadf6ba82dc72eaad1b692122d9a
avutil: Add NV24 and NV42 pixel formats

These are the 4:4:4 variants of the semi-planar NV12/NV21 formats.

These formats are not used much, so we've never had a reason to add
them until now. VDPAU recently added support HEVC 4:4:4 content
and when you use the OpenGL interop, the returned surfaces are in
NV24 format, so we need the pixel format for media players, even
if there's no direct use within ffmpeg.

Separately, there are apparently webcams that use NV24, but I've
never seen one.
libavutil/pixdesc.c
libavutil/pixfmt.h
libavutil/tests/pixfmt_best.c
libavutil/version.h
tests/ref/fate/pixfmt_best