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

banan subversion
Sat Sep 25 16:37:54 CEST 2010


Author: banan
Date: Sat Sep 25 16:37:54 2010
New Revision: 25195

Log:
Support deinterlacing of YUVJ422P in old deinterlacer.
Patch by Maksym Veremeyenko verem at m1stereo tv.

Modified:
   trunk/libavcodec/imgconvert.c

Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c	Sat Sep 25 15:53:32 2010	(r25194)
+++ trunk/libavcodec/imgconvert.c	Sat Sep 25 16:37:54 2010	(r25195)
@@ -1177,6 +1177,7 @@ int avpicture_deinterlace(AVPicture *dst
     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 @@ int avpicture_deinterlace(AVPicture *dst
                 height >>= 1;
                 break;
             case PIX_FMT_YUV422P:
+            case PIX_FMT_YUVJ422P:
                 width >>= 1;
                 break;
             case PIX_FMT_YUV411P:



More information about the ffmpeg-cvslog mailing list