[FFmpeg-cvslog] r25148 - trunk/libavcodec/imgconvert.c

banan subversion
Mon Sep 20 13:34:27 CEST 2010


Author: banan
Date: Mon Sep 20 13:34:27 2010
New Revision: 25148

Log:
Support deinterlacing of YUVJ420P.

Modified:
   trunk/libavcodec/imgconvert.c

Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c	Mon Sep 20 08:38:40 2010	(r25147)
+++ trunk/libavcodec/imgconvert.c	Mon Sep 20 13:34:27 2010	(r25148)
@@ -1175,6 +1175,7 @@ int avpicture_deinterlace(AVPicture *dst
     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 @@ int avpicture_deinterlace(AVPicture *dst
     for(i=0;i<3;i++) {
         if (i == 1) {
             switch(pix_fmt) {
+            case PIX_FMT_YUVJ420P:
             case PIX_FMT_YUV420P:
                 width >>= 1;
                 height >>= 1;



More information about the ffmpeg-cvslog mailing list