avutil: add P016 pixel format

Multimedia / FFmpeg - Philip Langdale [overt.org] - 22 November 2016 12:07 EST

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.

237421f avutil: add P016 pixel format
libavutil/pixdesc.c | 24 ++++++++++++++++++++++++
libavutil/pixfmt.h | 4 ++++
libavutil/version.h | 4 ++--
3 files changed, 30 insertions(+), 2 deletions(-)

  • Share