diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-08-05 14:28:45 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-08-07 13:09:41 +0200 |
commit | de48710c11cebd4c50bb51ebf3cb5fd0e6a79d40 (patch) | |
tree | 7f75be482d1e5ec17659af7dc6c82187cc12b043 /libavcodec/raw.c | |
parent | ab6d89d7ee5cdb4b5e58efbf5bbc2517e39aa705 (diff) | |
download | ffmpeg-de48710c11cebd4c50bb51ebf3cb5fd0e6a79d40.tar.gz |
libswscale: add gray9 support
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r-- | libavcodec/raw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c index c6be686c53..8da2a9735e 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -119,6 +119,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = { { AV_PIX_FMT_RGB48BE, MKTAG( 48, 'R', 'G', 'B') }, { AV_PIX_FMT_BGR48LE, MKTAG('B', 'G', 'R', 48 ) }, { AV_PIX_FMT_BGR48BE, MKTAG( 48, 'B', 'G', 'R') }, + { AV_PIX_FMT_GRAY9LE, MKTAG('Y', '1', 0 , 9 ) }, + { AV_PIX_FMT_GRAY9BE, MKTAG( 9 , 0 , '1', 'Y') }, { AV_PIX_FMT_GRAY10LE, MKTAG('Y', '1', 0 , 10 ) }, { AV_PIX_FMT_GRAY10BE, MKTAG(10 , 0 , '1', 'Y') }, { AV_PIX_FMT_GRAY12LE, MKTAG('Y', '1', 0 , 12 ) }, |