[FFmpeg-cvslog] r28322 - trunk/libswscale/swscale.c

cehoyos subversion
Fri Jan 16 03:14:25 CET 2009


Author: cehoyos
Date: Fri Jan 16 03:14:25 2009
New Revision: 28322

Log:
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will
be used by MPlayer.

Original patch by NVIDIA corporation.

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Fri Jan 16 02:55:48 2009	(r28321)
+++ trunk/libswscale/swscale.c	Fri Jan 16 03:14:25 2009	(r28322)
@@ -454,6 +454,10 @@ const char *sws_format_name(enum PixelFo
             return "yuv440p";
         case PIX_FMT_VDPAU_H264:
             return "vdpau_h264";
+        case PIX_FMT_VDPAU_MPEG1:
+            return "vdpau_mpeg1";
+        case PIX_FMT_VDPAU_MPEG2:
+            return "vdpau_mpeg2";
         default:
             return "Unknown format";
     }




More information about the ffmpeg-cvslog mailing list