aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-09 01:55:16 +0000
committerPaul B Mahol <onemda@gmail.com>2012-07-09 01:55:16 +0000
commit16a433d68b23cbd8c8b7ece0c4b150ef0066876b (patch)
treeeb8e2fb911eb1490ddaef017e03719c4d50f1109
parente2a6eb8da4fca6fdc0d7f094fd65d7240fbd4c4c (diff)
downloadffmpeg-16a433d68b23cbd8c8b7ece0c4b150ef0066876b.tar.gz
tiffenc: PIX_FMT_YUV440P support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/tiffenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 32a682d069..41d73bfbbd 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -271,6 +271,7 @@ static int encode_frame(AVCodecContext * avctx, AVPacket *pkt,
break;
case PIX_FMT_YUV420P:
case PIX_FMT_YUV422P:
+ case PIX_FMT_YUV440P:
case PIX_FMT_YUV444P:
case PIX_FMT_YUV410P:
case PIX_FMT_YUV411P:
@@ -490,7 +491,7 @@ AVCodec ff_tiff_encoder = {
.pix_fmts = (const enum PixelFormat[]) {
PIX_FMT_RGB24, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_GRAY8A, PIX_FMT_GRAY16LE,
PIX_FMT_MONOBLACK, PIX_FMT_MONOWHITE,
- PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P,
+ PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV440P, PIX_FMT_YUV444P,
PIX_FMT_YUV410P, PIX_FMT_YUV411P, PIX_FMT_RGB48LE,
PIX_FMT_RGBA, PIX_FMT_RGBA64LE,
PIX_FMT_NONE