Mercurial > libavcodec.hg
changeset 12515:307776e26174 libavcodec
Support deinterlacing of YUVJ422P in old deinterlacer.
Patch by Maksym Veremeyenko verem at m1stereo tv.
author | banan |
---|---|
date | Sat, 25 Sep 2010 14:37:54 +0000 |
parents | e6d711ba5760 |
children | 34beb0af8204 |
files | imgconvert.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/imgconvert.c Sat Sep 25 08:44:35 2010 +0000 +++ b/imgconvert.c Sat Sep 25 14:37:54 2010 +0000 @@ -1177,6 +1177,7 @@ if (pix_fmt != PIX_FMT_YUV420P && pix_fmt != PIX_FMT_YUVJ420P && pix_fmt != PIX_FMT_YUV422P && + pix_fmt != PIX_FMT_YUVJ422P && pix_fmt != PIX_FMT_YUV444P && pix_fmt != PIX_FMT_YUV411P && pix_fmt != PIX_FMT_GRAY8) @@ -1193,6 +1194,7 @@ height >>= 1; break; case PIX_FMT_YUV422P: + case PIX_FMT_YUVJ422P: width >>= 1; break; case PIX_FMT_YUV411P: