VDPAU
Modules
Core API

The core API encompasses all VDPAU functionality that operates in the same fashion across all Window Systems. More...

Collaboration diagram for Core API:

Modules

 Basic Types
 VDPAU primarily uses ISO C99 types from stdint.h.
 
 Miscellaneous Types
 
 Error Handling
 
 Versioning
 
 VdpDevice; Primary API object
 The VdpDevice is the root of the VDPAU object system. Using a VdpDevice object, all other object types may be created. See the sections describing those other object types for details on object creation.
 
 VdpCSCMatrix; CSC Matrix Manipulation
 When converting from YCbCr to RGB data formats, a color space conversion operation must be performed. This operation is parameterized using a "color space conversion matrix". The VdpCSCMatrix is a data structure representing this information.
 
 VdpVideoSurface; Video Surface object
 A VdpVideoSurface stores YCbCr data in an internal format, with a variety of possible chroma sub-sampling options.
 
 VdpOutputSurface; Output Surface object
 A VdpOutputSurface stores RGBA data in a defined format.
 
 VdpBitmapSurface; Bitmap Surface object
 A VdpBitmapSurface stores RGBA data in a defined format.
 
 VdpOutputSurface Rendering Functionality
 VdpOutputSurface objects directly provide some rendering/compositing operations. These are described below.
 
 VdpDecoder; Video Decoding object
 The VdpDecoder object decodes compressed video data, writing the results to a VdpVideoSurface.
 
 VdpVideoMixer; Video Post-processing and Compositing object
 VdpVideoMixer can perform some subset of the following post-processing steps on video:
 
 VdpPresentationQueue; Video presentation (display) object
 The VdpPresentationQueue manages a queue of surfaces and associated timestamps. For each surface in the queue, once the associated timestamp is reached, the surface is displayed to the user. This timestamp-based approach yields high quality video delivery.
 
 Display Preemption
 The Window System may operate within a frame-work (such as Linux's VT switching) where the display is shared between the Window System (e.g. X) and some other output mechanism (e.g. the VT.) Given this scenario, the Window System's control of the display could be preempted, and restored, at any time.
 
 Entry Point Retrieval
 In order to facilitate multiple implementations of VDPAU co-existing within a single process, all functionality is available via function pointers. The mechanism to retrieve those function pointers is described below.
 

Detailed Description

The core API encompasses all VDPAU functionality that operates in the same fashion across all Window Systems.