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

2016-11-20 Thread Philip Langdale
On Sun, 20 Nov 2016 17:13:01 -0500 "Ronald S. Bultje" wrote: > Hi, > > On Sun, Nov 20, 2016 at 4:59 PM, Philip Langdale > 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

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

2016-11-20 Thread Ronald S. Bultje
Hi, On Sun, Nov 20, 2016 at 4:59 PM, Philip Langdale 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 10b

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

2016-11-20 Thread Philip Langdale
P016 is the 16-bit variant of NV12 (planar luma, packed chroma), using two bytes per component. It may, and in fact is most likely to, be used in situations where there are less than 16 bits of data. It is the responsibility of the writer to zero out any unused LSBs. Signed-off-by: Philip Langdal