|
VDPAU
|
The Core API. More...
#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | VdpPoint |
| A location within a surface. More... | |
| struct | VdpRect |
| A rectangular region of a surface. More... | |
| struct | VdpColor |
| struct | VdpProcamp |
| Procamp operation parameterization data. More... | |
| struct | VdpOutputSurfaceRenderBlendState |
| Complete blending operation definition. More... | |
| struct | VdpBitstreamBuffer |
| Application data buffer containing compressed video data. More... | |
| struct | VdpPictureInfoMPEG1Or2 |
| Picture parameter information for an MPEG 1 or MPEG 2 picture. More... | |
| struct | VdpReferenceFrameH264 |
| Information about an H.264 reference frame. More... | |
| struct | VdpPictureInfoH264 |
| Picture parameter information for an H.264 picture. More... | |
| struct | VdpPictureInfoH264Predictive |
| Picture parameter information for an H.264 Hi444PP picture. More... | |
| struct | VdpPictureInfoVC1 |
| Picture parameter information for a VC1 picture. More... | |
| struct | VdpPictureInfoMPEG4Part2 |
| Picture parameter information for an MPEG-4 Part 2 picture. More... | |
| struct | VdpPictureInfoHEVC |
| Picture parameter information for an H.265/HEVC picture. More... | |
| struct | VdpLayer |
| Definition of an additional VdpOutputSurface layer in the composting model. More... | |
Typedefs | |
| typedef int | VdpBool |
| A boolean value, holding VDP_TRUE or VDP_FALSE. More... | |
| typedef uint32_t | VdpChromaType |
| The set of all chroma formats for VdpVideoSurfaces. More... | |
| typedef uint32_t | VdpYCbCrFormat |
| The set of all known YCbCr surface formats. More... | |
| typedef uint32_t | VdpRGBAFormat |
| The set of all known RGB surface formats. More... | |
| typedef uint32_t | VdpIndexedFormat |
| The set of all known indexed surface formats. More... | |
| typedef char const * | VdpGetErrorString (VdpStatus status) |
| Retrieve a string describing an error code. More... | |
| typedef VdpStatus | VdpGetApiVersion (uint32_t *api_version) |
| Retrieve the VDPAU version implemented by the backend. More... | |
| typedef VdpStatus | VdpGetInformationString (char const **information_string) |
| Retrieve an implementation-specific string description of the implementation. This typically includes detailed version information. More... | |
| typedef uint32_t | VdpDevice |
| An opaque handle representing a VdpDevice object. More... | |
| typedef VdpStatus | VdpDeviceDestroy (VdpDevice device) |
| Destroy a VdpDevice. More... | |
| typedef float | VdpCSCMatrix [3][4] |
| Storage for a color space conversion matrix. More... | |
| typedef uint32_t | VdpColorStandard |
| YCbCr color space specification. More... | |
| typedef VdpStatus | VdpGenerateCSCMatrix (VdpProcamp *procamp, VdpColorStandard standard, VdpCSCMatrix *csc_matrix) |
| Generate a color space conversion matrix. More... | |
| typedef VdpStatus | VdpVideoSurfaceQueryCapabilities (VdpDevice device, VdpChromaType surface_chroma_type, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height) |
| Query the implementation's VdpVideoSurface capabilities. More... | |
| typedef VdpStatus | VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities (VdpDevice device, VdpChromaType surface_chroma_type, VdpYCbCrFormat bits_ycbcr_format, VdpBool *is_supported) |
| Query the implementation's VdpVideoSurface GetBits/PutBits capabilities. More... | |
| typedef uint32_t | VdpVideoSurface |
| An opaque handle representing a VdpVideoSurface object. More... | |
| typedef VdpStatus | VdpVideoSurfaceCreate (VdpDevice device, VdpChromaType chroma_type, uint32_t width, uint32_t height, VdpVideoSurface *surface) |
| Create a VdpVideoSurface. More... | |
| typedef VdpStatus | VdpVideoSurfaceDestroy (VdpVideoSurface surface) |
| Destroy a VdpVideoSurface. More... | |
| typedef VdpStatus | VdpVideoSurfaceGetParameters (VdpVideoSurface surface, VdpChromaType *chroma_type, uint32_t *width, uint32_t *height) |
| Retrieve the parameters used to create a VdpVideoSurface. More... | |
| typedef VdpStatus | VdpVideoSurfaceGetBitsYCbCr (VdpVideoSurface surface, VdpYCbCrFormat destination_ycbcr_format, void *const *destination_data, uint32_t const *destination_pitches) |
| Copy image data from a VdpVideoSurface to application memory in a specified YCbCr format. More... | |
| typedef VdpStatus | VdpVideoSurfacePutBitsYCbCr (VdpVideoSurface surface, VdpYCbCrFormat source_ycbcr_format, void const *const *source_data, uint32_t const *source_pitches) |
| Copy image data from application memory in a specific YCbCr format to a VdpVideoSurface. More... | |
| typedef uint32_t | VdpColorTableFormat |
| The set of all known color table formats, for use with VdpOutputSurfacePutBitsIndexed. More... | |
| typedef VdpStatus | VdpOutputSurfaceQueryCapabilities (VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height) |
| Query the implementation's VdpOutputSurface capabilities. More... | |
| typedef VdpStatus | VdpOutputSurfaceQueryGetPutBitsNativeCapabilities (VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported) |
| Query the implementation's capability to perform a PutBits operation using application data matching the surface's format. More... | |
| typedef VdpStatus | VdpOutputSurfaceQueryPutBitsIndexedCapabilities (VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpIndexedFormat bits_indexed_format, VdpColorTableFormat color_table_format, VdpBool *is_supported) |
| Query the implementation's capability to perform a PutBits operation using application data in a specific indexed format. More... | |
| typedef VdpStatus | VdpOutputSurfaceQueryPutBitsYCbCrCapabilities (VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpYCbCrFormat bits_ycbcr_format, VdpBool *is_supported) |
| Query the implementation's capability to perform a PutBits operation using application data in a specific YCbCr/YUB format. More... | |
| typedef uint32_t | VdpOutputSurface |
| An opaque handle representing a VdpOutputSurface object. More... | |
| typedef VdpStatus | VdpOutputSurfaceCreate (VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpOutputSurface *surface) |
| Create a VdpOutputSurface. More... | |
| typedef VdpStatus | VdpOutputSurfaceDestroy (VdpOutputSurface surface) |
| Destroy a VdpOutputSurface. More... | |
| typedef VdpStatus | VdpOutputSurfaceGetParameters (VdpOutputSurface surface, VdpRGBAFormat *rgba_format, uint32_t *width, uint32_t *height) |
| Retrieve the parameters used to create a VdpOutputSurface. More... | |
| typedef VdpStatus | VdpOutputSurfaceGetBitsNative (VdpOutputSurface surface, VdpRect const *source_rect, void *const *destination_data, uint32_t const *destination_pitches) |
| Copy image data from a VdpOutputSurface to application memory in the surface's native format. More... | |
| typedef VdpStatus | VdpOutputSurfacePutBitsNative (VdpOutputSurface surface, void const *const *source_data, uint32_t const *source_pitches, VdpRect const *destination_rect) |
| Copy image data from application memory in the surface's native format to a VdpOutputSurface. More... | |
| typedef VdpStatus | VdpOutputSurfacePutBitsIndexed (VdpOutputSurface surface, VdpIndexedFormat source_indexed_format, void const *const *source_data, uint32_t const *source_pitch, VdpRect const *destination_rect, VdpColorTableFormat color_table_format, void const *color_table) |
| Copy image data from application memory in a specific indexed format to a VdpOutputSurface. More... | |
| typedef VdpStatus | VdpOutputSurfacePutBitsYCbCr (VdpOutputSurface surface, VdpYCbCrFormat source_ycbcr_format, void const *const *source_data, uint32_t const *source_pitches, VdpRect const *destination_rect, VdpCSCMatrix const *csc_matrix) |
| Copy image data from application memory in a specific YCbCr format to a VdpOutputSurface. More... | |
| typedef VdpStatus | VdpBitmapSurfaceQueryCapabilities (VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height) |
| Query the implementation's VdpBitmapSurface capabilities. More... | |
| typedef uint32_t | VdpBitmapSurface |
| An opaque handle representing a VdpBitmapSurface object. More... | |
| typedef VdpStatus | VdpBitmapSurfaceCreate (VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpBool frequently_accessed, VdpBitmapSurface *surface) |
| Create a VdpBitmapSurface. More... | |
| typedef VdpStatus | VdpBitmapSurfaceDestroy (VdpBitmapSurface surface) |
| Destroy a VdpBitmapSurface. More... | |
| typedef VdpStatus | VdpBitmapSurfaceGetParameters (VdpBitmapSurface surface, VdpRGBAFormat *rgba_format, uint32_t *width, uint32_t *height, VdpBool *frequently_accessed) |
| Retrieve the parameters used to create a VdpBitmapSurface. More... | |
| typedef VdpStatus | VdpBitmapSurfacePutBitsNative (VdpBitmapSurface surface, void const *const *source_data, uint32_t const *source_pitches, VdpRect const *destination_rect) |
| Copy image data from application memory in the surface's native format to a VdpBitmapSurface. More... | |
| typedef VdpStatus | VdpOutputSurfaceRenderOutputSurface (VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpOutputSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) |
| Composite a sub-rectangle of a VdpOutputSurface into a sub-rectangle of another VdpOutputSurface; Output Surfaceobject VdpOutputSurface. More... | |
| typedef VdpStatus | VdpOutputSurfaceRenderBitmapSurface (VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpBitmapSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) |
| Composite a sub-rectangle of a VdpBitmapSurface into a sub-rectangle of a VdpOutputSurface; Output Surfaceobject VdpOutputSurface. More... | |
| typedef uint32_t | VdpDecoderProfile |
| The set of all known compressed video formats, and associated profiles, that may be decoded. More... | |
| typedef VdpStatus | VdpDecoderQueryCapabilities (VdpDevice device, VdpDecoderProfile profile, VdpBool *is_supported, uint32_t *max_level, uint32_t *max_macroblocks, uint32_t *max_width, uint32_t *max_height) |
| Query the implementation's VdpDecoder capabilities. More... | |
| typedef uint32_t | VdpDecoder |
| An opaque handle representing a VdpDecoder object. More... | |
| typedef VdpStatus | VdpDecoderCreate (VdpDevice device, VdpDecoderProfile profile, uint32_t width, uint32_t height, uint32_t max_references, VdpDecoder *decoder) |
| Create a VdpDecoder. More... | |
| typedef VdpStatus | VdpDecoderDestroy (VdpDecoder decoder) |
| Destroy a VdpDecoder. More... | |
| typedef VdpStatus | VdpDecoderGetParameters (VdpDecoder decoder, VdpDecoderProfile *profile, uint32_t *width, uint32_t *height) |
| Retrieve the parameters used to create a VdpDecoder. More... | |
| typedef void | VdpPictureInfo |
| A generic "picture information" type. More... | |
| typedef VdpPictureInfoMPEG4Part2 | VdpPictureInfoDivX4 |
| Picture parameter information for a DivX 4 picture. More... | |
| typedef VdpPictureInfoMPEG4Part2 | VdpPictureInfoDivX5 |
| Picture parameter information for a DivX 5 picture. More... | |
| typedef VdpStatus | VdpDecoderRender (VdpDecoder decoder, VdpVideoSurface target, VdpPictureInfo const *picture_info, uint32_t bitstream_buffer_count, VdpBitstreamBuffer const *bitstream_buffers) |
| Decode a compressed field/frame and render the result into a VdpVideoSurface. More... | |
| typedef uint32_t | VdpVideoMixerFeature |
| A VdpVideoMixer feature that must be requested at creation time to be used. More... | |
| typedef uint32_t | VdpVideoMixerParameter |
| A VdpVideoMixer creation parameter. More... | |
| typedef uint32_t | VdpVideoMixerAttribute |
| An adjustable attribute of VdpVideoMixer operation. More... | |
| typedef VdpStatus | VdpVideoMixerQueryFeatureSupport (VdpDevice device, VdpVideoMixerFeature feature, VdpBool *is_supported) |
| Query the implementation's support for a specific feature. More... | |
| typedef VdpStatus | VdpVideoMixerQueryParameterSupport (VdpDevice device, VdpVideoMixerParameter parameter, VdpBool *is_supported) |
| Query the implementation's support for a specific parameter. More... | |
| typedef VdpStatus | VdpVideoMixerQueryAttributeSupport (VdpDevice device, VdpVideoMixerAttribute attribute, VdpBool *is_supported) |
| Query the implementation's support for a specific attribute. More... | |
| typedef VdpStatus | VdpVideoMixerQueryParameterValueRange (VdpDevice device, VdpVideoMixerParameter parameter, void *min_value, void *max_value) |
| Query the implementation's supported for a specific parameter. More... | |
| typedef VdpStatus | VdpVideoMixerQueryAttributeValueRange (VdpDevice device, VdpVideoMixerAttribute attribute, void *min_value, void *max_value) |
| Query the implementation's supported for a specific attribute. More... | |
| typedef uint32_t | VdpVideoMixer |
| An opaque handle representing a VdpVideoMixer object. More... | |
| typedef VdpStatus | VdpVideoMixerCreate (VdpDevice device, uint32_t feature_count, VdpVideoMixerFeature const *features, uint32_t parameter_count, VdpVideoMixerParameter const *parameters, void const *const *parameter_values, VdpVideoMixer *mixer) |
| Create a VdpVideoMixer. More... | |
| typedef VdpStatus | VdpVideoMixerSetFeatureEnables (VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool const *feature_enables) |
| Enable or disable features. More... | |
| typedef VdpStatus | VdpVideoMixerSetAttributeValues (VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void const *const *attribute_values) |
| Set attribute values. More... | |
| typedef VdpStatus | VdpVideoMixerGetFeatureSupport (VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool *feature_supports) |
| Retrieve whether features were requested at creation time. More... | |
| typedef VdpStatus | VdpVideoMixerGetFeatureEnables (VdpVideoMixer mixer, uint32_t feature_count, VdpVideoMixerFeature const *features, VdpBool *feature_enables) |
| Retrieve whether features are enabled. More... | |
| typedef VdpStatus | VdpVideoMixerGetParameterValues (VdpVideoMixer mixer, uint32_t parameter_count, VdpVideoMixerParameter const *parameters, void *const *parameter_values) |
| Retrieve parameter values given at creation time. More... | |
| typedef VdpStatus | VdpVideoMixerGetAttributeValues (VdpVideoMixer mixer, uint32_t attribute_count, VdpVideoMixerAttribute const *attributes, void *const *attribute_values) |
| Retrieve current attribute values. More... | |
| typedef VdpStatus | VdpVideoMixerDestroy (VdpVideoMixer mixer) |
| Destroy a VdpVideoMixer. More... | |
| typedef VdpStatus | VdpVideoMixerRender (VdpVideoMixer mixer, VdpOutputSurface background_surface, VdpRect const *background_source_rect, VdpVideoMixerPictureStructure current_picture_structure, uint32_t video_surface_past_count, VdpVideoSurface const *video_surface_past, VdpVideoSurface video_surface_current, uint32_t video_surface_future_count, VdpVideoSurface const *video_surface_future, VdpRect const *video_source_rect, VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpRect const *destination_video_rect, uint32_t layer_count, VdpLayer const *layers) |
| Perform a video post-processing and compositing operation. More... | |
| typedef uint64_t | VdpTime |
| The representation of a point in time. More... | |
| typedef uint32_t | VdpPresentationQueueTarget |
| An opaque handle representing the location where video will be presented. More... | |
| typedef VdpStatus | VdpPresentationQueueTargetDestroy (VdpPresentationQueueTarget presentation_queue_target) |
| Destroy a VdpPresentationQueueTarget. More... | |
| typedef uint32_t | VdpPresentationQueue |
| An opaque handle representing a presentation queue object. More... | |
| typedef VdpStatus | VdpPresentationQueueCreate (VdpDevice device, VdpPresentationQueueTarget presentation_queue_target, VdpPresentationQueue *presentation_queue) |
| Create a VdpPresentationQueue. More... | |
| typedef VdpStatus | VdpPresentationQueueDestroy (VdpPresentationQueue presentation_queue) |
| Destroy a VdpPresentationQueue. More... | |
| typedef VdpStatus | VdpPresentationQueueSetBackgroundColor (VdpPresentationQueue presentation_queue, VdpColor *const background_color) |
| Configure the background color setting. More... | |
| typedef VdpStatus | VdpPresentationQueueGetBackgroundColor (VdpPresentationQueue presentation_queue, VdpColor *background_color) |
| Retrieve the current background color setting. More... | |
| typedef VdpStatus | VdpPresentationQueueGetTime (VdpPresentationQueue presentation_queue, VdpTime *current_time) |
| Retrieve the presentation queue's "current" time. More... | |
| typedef VdpStatus | VdpPresentationQueueDisplay (VdpPresentationQueue presentation_queue, VdpOutputSurface surface, uint32_t clip_width, uint32_t clip_height, VdpTime earliest_presentation_time) |
| Enter a surface into the presentation queue. More... | |
| typedef VdpStatus | VdpPresentationQueueBlockUntilSurfaceIdle (VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpTime *first_presentation_time) |
| Wait for a surface to finish being displayed. More... | |
| typedef VdpStatus | VdpPresentationQueueQuerySurfaceStatus (VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpPresentationQueueStatus *status, VdpTime *first_presentation_time) |
| Poll the current queue status of a surface. More... | |
| typedef void | VdpPreemptionCallback (VdpDevice device, void *context) |
| A callback to notify the client application that a device's display has been preempted. More... | |
| typedef VdpStatus | VdpPreemptionCallbackRegister (VdpDevice device, VdpPreemptionCallback callback, void *context) |
| Configure the display preemption callback. More... | |
| typedef uint32_t | VdpFuncId |
| A type suitable for VdpGetProcAddress's function_id parameter. More... | |
| typedef VdpStatus | VdpGetProcAddress (VdpDevice device, VdpFuncId function_id, void **function_pointer) |
| Retrieve a VDPAU function pointer. More... | |
The Core API.
This file contains the Core API.
1.8.5