[FFmpeg-devel] [PATCH] avutil: add P016 pixel format

Philip Langdale philipl at overt.org
Mon Nov 21 00:30:16 EET 2016


On Sun, 20 Nov 2016 17:13:01 -0500
"Ronald S. Bultje" <rsbultje at gmail.com> wrote:

> Hi,
> 
> On Sun, Nov 20, 2016 at 4:59 PM, Philip Langdale <philipl at overt.org>
> wrote:
> 
> > diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
> > index 96860ce..4cd3a77 100644
> > --- a/libavutil/pixfmt.h
> > +++ b/libavutil/pixfmt.h
> > @@ -297,6 +297,8 @@ enum AVPixelFormat {
> >
> >      AV_PIX_FMT_P010LE, ///< like NV12, with 10bpp per component,
> > data in the high bits, zeros in the low bits, little-endian
> >      AV_PIX_FMT_P010BE, ///< like NV12, with 10bpp per component,
> > data in the high bits, zeros in the low bits, big-endian
> > +    AV_PIX_FMT_P016LE, ///< like NV12, with 16bpp per component,
> > little-endian
> > +    AV_PIX_FMT_P016BE, ///< like NV12, with 16bpp per component,
> > big-endian
> >
> >      AV_PIX_FMT_GBRAP12BE,  ///< planar GBR 4:4:4:4 48bpp,
> > big-endian AV_PIX_FMT_GBRAP12LE,  ///< planar GBR 4:4:4:4 48bpp,
> > little-endian  
> 
> 
> Doesn't this break ABI?
> 
> Ronald

Yep. Whoops.

--phil


More information about the ffmpeg-devel mailing list