VDPAU
|
![]() |
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.
#define VDP_FUNC_ID_BASE_WINSYS 0x1000 |
#define VDP_FUNC_ID_DECODER_CREATE |
#define VDP_FUNC_ID_DECODER_DESTROY |
#define VDP_FUNC_ID_DECODER_RENDER |
#define VDP_FUNC_ID_DEVICE_DESTROY |
#define VDP_FUNC_ID_GENERATE_CSC_MATRIX |
#define VDP_FUNC_ID_GET_API_VERSION |
#define VDP_FUNC_ID_GET_ERROR_STRING |
#define VDP_FUNC_ID_GET_PROC_ADDRESS |
#define VDP_FUNC_ID_VIDEO_MIXER_CREATE |
#define VDP_FUNC_ID_VIDEO_MIXER_DESTROY |
#define VDP_FUNC_ID_VIDEO_MIXER_RENDER |
#define VDP_FUNC_ID_VIDEO_SURFACE_CREATE |
typedef uint32_t VdpFuncId |
A type suitable for VdpGetProcAddress's function_id parameter.
typedef VdpStatus VdpGetProcAddress(VdpDevice device, VdpFuncId function_id,void **function_pointer) |
Retrieve a VDPAU function pointer.
[in] | device | The device that the function will operate against. |
[in] | function_id | The specific function to retrieve. |
[out] | function_pointer | The actual pointer for the application to call. |