diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-12-22 22:36:17 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-12-31 07:08:43 +0800 |
commit | d590e211a28cecd04559ab9a6a223a87fa974ee3 (patch) | |
tree | ce10e7150f0a17d74d43e9fa7cd4db0aa597da05 /libavformat/allformats.c | |
parent | 7cee3b37187dbf61dbebff023f07ceedfc0129bb (diff) | |
download | ffmpeg-d590e211a28cecd04559ab9a6a223a87fa974ee3.tar.gz |
avformat: add bitpacked demuxer
Allows user can playback bitpacked pixel format directly:
ffplay -video_size 1280x720 -pixel_format yuv422p10 test.bitpacked
ffplay -f bitpacked -video_size 1280x720 -pixel_format uyvy422 test.yuv
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r-- | libavformat/allformats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 1054ac9667..a100639773 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -96,6 +96,7 @@ extern const AVInputFormat ff_bink_demuxer; extern const AVInputFormat ff_binka_demuxer; extern const AVInputFormat ff_bit_demuxer; extern const AVOutputFormat ff_bit_muxer; +extern const AVInputFormat ff_bitpacked_demuxer; extern const AVInputFormat ff_bmv_demuxer; extern const AVInputFormat ff_bfstm_demuxer; extern const AVInputFormat ff_brstm_demuxer; |