diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-07-09 01:55:16 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-07-09 01:55:16 +0000 |
commit | 16a433d68b23cbd8c8b7ece0c4b150ef0066876b (patch) | |
tree | eb8e2fb911eb1490ddaef017e03719c4d50f1109 /libavcodec/tiffenc.c | |
parent | e2a6eb8da4fca6fdc0d7f094fd65d7240fbd4c4c (diff) | |
download | ffmpeg-16a433d68b23cbd8c8b7ece0c4b150ef0066876b.tar.gz |
tiffenc: PIX_FMT_YUV440P support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r-- | libavcodec/tiffenc.c | 3 |
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 |