# HG changeset patch # User banan # Date 1284982467 0 # Node ID 3fff0806404ac3938141363efb36fe7dc35c01a8 # Parent 6bc14239edfb90fd7fa3145aa614b459ae47e114 Support deinterlacing of YUVJ420P. diff -r 6bc14239edfb -r 3fff0806404a imgconvert.c --- a/imgconvert.c Sat Sep 18 20:44:32 2010 +0000 +++ b/imgconvert.c Mon Sep 20 11:34:27 2010 +0000 @@ -1175,6 +1175,7 @@ int i; if (pix_fmt != PIX_FMT_YUV420P && + pix_fmt != PIX_FMT_YUVJ420P && pix_fmt != PIX_FMT_YUV422P && pix_fmt != PIX_FMT_YUV444P && pix_fmt != PIX_FMT_YUV411P && @@ -1186,6 +1187,7 @@ for(i=0;i<3;i++) { if (i == 1) { switch(pix_fmt) { + case PIX_FMT_YUVJ420P: case PIX_FMT_YUV420P: width >>= 1; height >>= 1;