mirror of https://git.ffmpeg.org/ffmpeg.git
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will
be used by MPlayer. Original patch by NVIDIA corporation. Originally committed as revision 28322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
d37edddc09
commit
4e2b48760b
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue