[FFmpeg-devel] [PATCH 1/3] avutil: Add NV24 and NV42 pixel formats
Fu, Linjie
linjie.fu at intel.com
Sun May 12 06:38:12 EEST 2019
> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Carl Eugen Hoyos
> Sent: Sunday, May 12, 2019 06:25
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 1/3] avutil: Add NV24 and NV42 pixel
> formats
>
> Am Sa., 11. Mai 2019 um 20:32 Uhr schrieb Philip Langdale
> <philipl at overt.org>:
> >
> > 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
>
> I wonder if there is an "only" missing somewhere.
>
> > NV24 format, so we need the pixel format for media players, even
> > if there's no direct use within ffmpeg.
>
> Thank you!
>
> > Separately, there are apparently webcams that use NV24, but I've
> > never seen one.
>
> [...]
>
> > diff --git a/libavutil/version.h b/libavutil/version.h
> > index c0968de621..4922e267cc 100644
> > --- a/libavutil/version.h
> > +++ b/libavutil/version.h
> > @@ -80,7 +80,7 @@
> >
> > #define LIBAVUTIL_VERSION_MAJOR 56
> > #define LIBAVUTIL_VERSION_MINOR 26
> > -#define LIBAVUTIL_VERSION_MICRO 101
> > +#define LIBAVUTIL_VERSION_MICRO 102
>
> We typically raise minor for new pix_fmts, resetting
> micro was forgotten the last times afaict.
>
Hi,
I'm working on adding support for HEVC 4:2:2/ 4:4:4, 8/10 bit, in vaapi decoding.
And I'm aslo thinking of add some new pix_fmt for packed FourCC:
444 8 bit : AYUV
444 10 bit: Y410
422 10 bit: Y210
So if I'd like to add these new pix_fmts, some modification is necessary too as far as I got from relevant threads:
1. add support in swscale for being able to convert to and from a format, including up and down scale;
2. add test.(maybe a query is needed too)
3. bump a new minor version.
Any other concerns should be followed?
I'm trying to make sure I understood this correctly.
Thanks in advance.
Linjie
More information about the ffmpeg-devel
mailing list