diff options
author | Damien Riegel <damien.riegel@savoirfairelinux.com> | 2017-03-31 11:36:15 -0400 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-04-05 17:02:20 +0100 |
commit | 549acc999533061fedb5088a33a683749c29b903 (patch) | |
tree | 9a20243e738b2a30a5451342863a77654ecdeed0 /libavcodec/avcodec.h | |
parent | 12290077d1ceda29c47ce9f222e42a5019664131 (diff) | |
download | ffmpeg-streaming-549acc999533061fedb5088a33a683749c29b903.zip ffmpeg-streaming-549acc999533061fedb5088a33a683749c29b903.tar.gz |
codec: bitpacked: add decoder
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.
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 4b7c3f1..f6bd90b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -442,6 +442,7 @@ enum AVCodecID { AV_CODEC_ID_CLEARVIDEO, AV_CODEC_ID_XPM, AV_CODEC_ID_AV1, + AV_CODEC_ID_BITPACKED, /* various PCM "codecs" */ AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs |