aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-10-08 19:24:11 +0200
committerPaul B Mahol <onemda@gmail.com>2020-10-12 12:19:29 +0200
commitaf5ad79fe1d5efbc24ba6456fe7a1b7bc63574d9 (patch)
tree251ed72a17fec213ace1033ec443404aef224dd8
parent7800cc6e82068c6dfb5af53817f03dfda794c568 (diff)
downloadffmpeg-af5ad79fe1d5efbc24ba6456fe7a1b7bc63574d9.tar.gz
avformat/isom: add support for RAW ASC Bayer BGGR in mov
-rw-r--r--libavcodec/raw.c1
-rw-r--r--libavformat/isom.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index b6fb91c1c6..079d5c5d10 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -246,6 +246,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_GRAY16BE,MKTAG('b', '1', '6', 'g') },
{ AV_PIX_FMT_RGB48BE, MKTAG('b', '4', '8', 'r') },
{ AV_PIX_FMT_RGBA64BE,MKTAG('b', '6', '4', 'a') },
+ { AV_PIX_FMT_BAYER_RGGB16BE, MKTAG('B', 'G', 'G', 'R') },
/* vlc */
{ AV_PIX_FMT_YUV410P, MKTAG('I', '4', '1', '0') },
diff --git a/libavformat/isom.c b/libavformat/isom.c
index 019175d814..d1ef6e3407 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -316,6 +316,8 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{ AV_CODEC_ID_NOTCHLC, MKTAG('n', 'c', 'l', 'c') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'G', 'R') }, /* ASC Bayer BGGR */
+
{ AV_CODEC_ID_NONE, 0 },
};