projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37eddd
)
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will
author
NVIDIA Corporation
<>
Fri, 16 Jan 2009 02:14:25 +0000
(
02:14
+0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Fri, 16 Jan 2009 02:14:25 +0000
(
02:14
+0000)
be used by MPlayer.
Original patch by NVIDIA corporation.
Originally committed as revision 28322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index 8ee363fafc70a132d7f1a8fd8b11bc19fb0302bd..52b709aaa0f7a032ae3e490ae7101c27075770a4 100644
(file)
--- a/
libswscale/swscale.c
+++ b/
libswscale/swscale.c
@@
-454,6
+454,10
@@
const char *sws_format_name(enum PixelFormat format)
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";
}