DirectX Video Acceleration

DirectX Video Acceleration

DirectX Video Acceleration (DXVA) is a Microsoft API specification for the Microsoft Windows and Xbox 360 platforms that allows video decoding to be hardware accelerated. The pipeline allows certain CPU-intensive operations such as iDCT, motion compensation and deinterlacing to be offloaded to the GPU. DXVA 2.0 allows more operations, including video capturing and processing operations, to be hardware accelerated as well.

DXVA works in conjunction with the video rendering model used by the video card. DXVA 1.0, which was introduced as a standardized API with Windows 2000 and is currently available on Windows 98 or later, can use either the overlay rendering mode or VMR 7/9.[1] DXVA 2.0, available only on Windows Vista, Windows 7, Windows 8 and later OSs, integrates with Media Foundation (MF) and uses the Enhanced Video Renderer (EVR) present in MF.[1]

Contents

Overview

The DXVA is used by software video decoders to define a codec-specific pipeline for hardware-accelerated decoding and rendering of the codec. The pipeline starts at the CPU which is used for parsing the media stream and conversion to DXVA-compatible structures. DXVA specifies a set of operations that can be hardware accelerated and device driver interfaces (DDIs) that the graphic driver can implement to accelerate the operations. If the codec needs any of the supported operations, it can use these interfaces to access the hardware-accelerated implementation of these operations. If the graphic driver does not implement one or more of the interfaces, it is up to the codec to provide a software fallback for it. The decoded video is handed over to the hardware video renderer where further video post-processing might be applied to it before being rendered to the device. The resulting pipeline is usable in a DirectShow compatible application.

DXVA specifies the Motion Compensation DDI, which specifies the interfaces for iDCT operations, Huffman coding, motion compensation, alpha blending, inverse quantization, color space conversion and frame-rate conversion operations, among others.[2][3] It also includes three sub-specifications: Deinterlacing DDI, COPP DDI and ProcAmp DDI.[4] The Deinterlacing DDI specifies the callbacks for deinterlacing operations. The COPP (Certified Output Protection Protocol) DDI functions allow the pipeline to be secured for DRM-protected media, by specifying encryption functions. The ProcAmp DDI is used to accelerate post-processing video. The ProcAmp driver module sits between the hardware video renderer and the display driver and provides functions for applying post-processing filters on the decompressed video.

The functions exposed by DXVA DDIs are not accessible directly by a DirectShow client, but are supplied as callback functions to the video renderer. As such, the renderer plays a very important role in anchoring the pipeline.

DXVA on Windows Vista and later

DXVA 2.0 enhances the implementation of the video pipeline and adds a host of other DDIs, including a Capture DDI for video capture. The DDIs it shares with DXVA 1.0 are also enhanced with support for hardware acceleration of more operations. Also, the DDI functions are directly available to callers and need not be mediated by the video renderer.[5] As such, pipelines for simply decoding the media (without rendering) or post-processing and rendering (without decoding) can also be created. These features require the Windows Display Driver Model drivers, which limit DXVA 2.0 to Windows Vista, Windows Server 2008[5][1], Windows 7, Windows Server 2008 R2 and Windows 8. DXVA 2.0 supports only Enhanced Video Renderer as the video renderer on Vista, Windows 7 & Windows 8.[1] (With Windows XP, DXVA-Rendering is possible with VMR9 and the well-known Overlay Mixer.) DXVA integrates with Media Foundation and allows DXVA pipelines to be exposed as Media Foundation Transforms (MFTs). Even decoder pipelines or post-processing pipelines can be exposed as MFTs, which can be used by the Media Foundation topology loader to create a full media playback pipeline. DXVA 1.0 is emulated using DXVA 2.0.[1] DXVA 2.0 does not include the COPP DDI, rather it uses PVP for protected content. For Windows XP and Windows 2000 DXVA 1.0 can be used. Windows 7 supports DXVA-HD[6] if WDDM 1.1 is supported.

Software support

See also

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • DirectX Video Acceleration — (сокращённо DXVA, дословно рус. ускорение видео DirectX)  интерфейс программирования приложений (API), компонент DirectX, разработанный корпорацией Microsoft и предназначенный для обработки (в первую очередь, декодирования) битового потока… …   Википедия

  • DirectX Video Acceleration — Dieser Artikel wurde aufgrund von inhaltlichen Mängeln auf der Qualitätssicherungsseite der Redaktion Informatik eingetragen. Dies geschieht, um die Qualität der Artikel aus dem Themengebiet Informatik auf ein akzeptables Niveau zu bringen. Hilf… …   Deutsch Wikipedia

  • Video Acceleration API — (VA API) is a software API specification which provides access to graphics hardware (GPU) acceleration for video processing. Accelerated processing includes video decoding, subpicture blending and rendering.VA API is meant to some day replace… …   Wikipedia

  • Video Acceleration API — (VA API) o API de aceleración de video es una especificación que proporciona el acceso a hardware de gráficos (GPU) y la aceleración de vídeo para su procesamiento. La aceleración de video incluye códecs de video, mezclas de subimagen y… …   Wikipedia Español

  • DirectX — A component of Microsoft Windows Details Included with Windows 95 OSR2 Windows NT 4.0 and all subsequent releases Microsoft Direct …   Wikipedia

  • DirectX — Développeur Microsoft Dernière version 11 [ …   Wikipédia en Français

  • DirectX 10 — DirectX DirectX Développeur Microsoft Dernière version 11 (le …   Wikipédia en Français

  • Directx — Développeur Microsoft Dernière version 11 (le …   Wikipédia en Français

  • DirectX Media — Logo of the DirectX Media SDK DirectX Media is a set of multimedia related APIs for Microsoft Windows complementing DirectX. It included DirectAnimation for 2D/3D[1] web animation, DirectShow for multimedia playback and …   Wikipedia

  • Video Decode and Presentation API for Unix — libvdpau(VDPAU] Maintainer Nvidia Entwickler Nvidia Aktuelle Version 0.4 (28. Januar 2010) Betriebssystem unixoide Kategorie …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”