changeset 28287:dbebb78dda3c

Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will be used by MPlayer. Original patch by NVIDIA corporation.
author cehoyos
date Fri, 16 Jan 2009 02:14:25 +0000
parents aeb2f9d93b14
children 3ec634fbcd27
files libswscale/swscale.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Fri Jan 16 01:55:48 2009 +0000
+++ b/libswscale/swscale.c	Fri Jan 16 02:14:25 2009 +0000
@@ -454,6 +454,10 @@
             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";
     }