Microsoft DirectX Video Acceleration (DirectX VA) support

Feature requests for VLC.
Guest

Microsoft DirectX Video Acceleration (DirectX VA) support

Postby Guest » 23 May 2005 12:54

Microsoft DirectX Video Acceleration (DirectX VA) support

This feature/function request is both for hardware acceleration (motion compensation) and post-processing via Microsofts DirectX Video Acceleration (DXVA) API, (be nice if the options would be added in the DivX codec config settings then auto-detect if the video cards supported it and to what extent);

Hope VLC's codec/demuxer developer(s) can look into if this could be fully or partially used for most of its supported codecs and graphic/video controllers?

Summery: Microsoft DirectX Video Acceleration (DXVA) allows DirectShow based software decoders to accelerate video playback directly on the graphics processors (GPU) if your graphics processor supports DXVA and has built-in technology to accelerate MPEG-4 ASP file playback, DXVA can provide (GPU) hardware acceleration. DXVA is an application programming interface (API) with a corresponding motion compensation device driver interface (DDI) for acceleration of digital video decoding. DDIs are also provided as part of DXVA; a deinterlacing DDI for deinterlacing and frame-rate conversion of video content, and hardware upconverting, and a to support ProcAmp DDI control and postprocessing of video content. DXVA provides an interface definition focused on support of MPEG-2 "main profile" video (formally ITU-T H.262 | ISO/IEC 13818-2), but is also intended to support other key video codecs, like example, H.263 and H.261, and MPEG-1, and MPEG-4.

A good exampel of the benifits of using DVXA for video acceleration is that you could decode HDTV (720p/1080i) MPEG-4 with a PIII 1400Mhz CPU (possible even less), a task that would normaly require a P4 2,400Mhz CPU if the card does not support DVXA HWMC. Or if you have a faster CPU then you can record something at the same time as you are playing back something else on the same Windows PC, (as with DXVA most of the playback/decoding effort gets loaded onto the GPU so the CPU can be doing something more/else).

Other post-processing featutes achivable via DVXA (if the video adapter hardware support it):
- Hardware iDCT motion compensation and subpicture decoding
- Hardware based IDCT (Inverse Discrete Cosine Transform)
- IQ (Inverse quantization)
- Full-frame video playback of HDTV content on slow CPU's (1000Mhz+ ?)
- Independent hardware color controls for video overlay
- Hardware colorspace conversion (YUV 4:2:2 and 4:2:0)
- 5tap horizontal by 3tap vertical filtering
- 8:1 up/down scaling
- Perpixel color keying
- Multiple video windows supported for CSC and filtering
- Subpicture alphablended compositing
- Alpha-Blending Surface
- Real-time frame-rate conversion

Developer links:
- Microsoft Developer information on DirectX Video Acceleration
- How Decoders Use IAMVideoAccelerator
- Mapping DirectX Video Acceleration to IAMVideoAccelerator
- DVXA API/DDI Specification (Rev 1.0) (DirectX 8.1 C++ Archive)
- DirectShow DirectX Video Acceleration Video Subtypes
- Enabling DirectX Video Acceleration in a custom player
- Windows Media Format 9.5 SDK Enabling DirectX Video Acceleration
- DirectX Video Acceleration Video Subtypes (DirectX 9.0 C++ Archive)
- IAMVideoAccelerator Operational Specification (DirectX 9.0 C++ Archive)
- DirectX Video Acceleration Motion Compensation Callbacks
- Calling the Deinterlace DDI from a User-Mode Component
- Per-Pixel Alpha Blending (DirectX 9.0 C++ Archive)
....AND MUCH MORE available on a Microsoft Development Network search

PS! I know mosy GPUs don't support DVXA HWMC for MPEG-4 yet but many more will sure come out soon...

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 23 May 2005 15:40

Created corresponding ticket
https://trac.videolan.org/vlc/ticket/151
Don't use PMs for support questions.

Lotesdelere
Cone Master
Cone Master
Posts: 9960
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Microsoft DirectX Video Acceleration (DirectX VA) suppor

Postby Lotesdelere » 05 Mar 2011 15:04

May i know this feature is already in place. Sorry to dig the old thread, but for one of my old xp based machine i have serious issues with DXVA.
viewtopic.php?f=14&t=79953

Although VLC is using DXVA2 which is available on Vista and Seven only and not on XP.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Microsoft DirectX Video Acceleration (DirectX VA) suppor

Postby Jean-Baptiste Kempf » 13 Mar 2011 11:40

Oh fine.
Thank you so much for clearing that out.

Now i know I have only option to upgrade the OS to Windows 7 or VIsta.

Thanks a lot.
Or wait for us to accelerate the playback on XP.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 16 guests