codec: bitpacked: add decoder

Multimedia / FFmpeg - Damien Riegel [savoirfairelinux.com] - 5 April 2017 12:02 EDT

Add a codec capable of decoding some formats of the RFC4175. For now it's only capable of handling YCbCr-4:2:2 with 8-bit or 10-bit depth.

For 8-bit it's a simple pass-through, for 10-bit it depacks the stream in the AV_PIX_FMT_YUV422P10 pixel format.

549acc9 codec: bitpacked: add decoder
libavcodec/Makefile | 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/avcodec.h | 1 +
libavcodec/bitpacked.c | 153 ++++++++++++++++++++++++++++++++++++++++++++++++
libavcodec/codec_desc.c | 7 +++
libavcodec/version.h | 2 +-
6 files changed, 164 insertions(+), 1 deletion(-)

  • Share