HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl_dx9_media_sharing_intel.h File Reference
#include <CL/cl.h>
#include <CL/cl_platform.h>
#include <d3d9.h>
#include <dxvahd.h>
#include <wtypes.h>
#include <d3d9types.h>
+ Include dependency graph for cl_dx9_media_sharing_intel.h:

Go to the source code of this file.

Macros

#define cl_intel_dx9_media_sharing   1
 
#define CL_INVALID_DX9_DEVICE_INTEL   -1010
 
#define CL_INVALID_DX9_RESOURCE_INTEL   -1011
 
#define CL_DX9_RESOURCE_ALREADY_ACQUIRED_INTEL   -1012
 
#define CL_DX9_RESOURCE_NOT_ACQUIRED_INTEL   -1013
 
#define CL_D3D9_DEVICE_INTEL   0x4022
 
#define CL_D3D9EX_DEVICE_INTEL   0x4070
 
#define CL_DXVA_DEVICE_INTEL   0x4071
 
#define CL_PREFERRED_DEVICES_FOR_DX9_INTEL   0x4024
 
#define CL_ALL_DEVICES_FOR_DX9_INTEL   0x4025
 
#define CL_CONTEXT_D3D9_DEVICE_INTEL   0x4026
 
#define CL_CONTEXT_D3D9EX_DEVICE_INTEL   0x4072
 
#define CL_CONTEXT_DXVA_DEVICE_INTEL   0x4073
 
#define CL_MEM_DX9_RESOURCE_INTEL   0x4027
 
#define CL_MEM_DX9_SHARED_HANDLE_INTEL   0x4074
 
#define CL_IMAGE_DX9_PLANE_INTEL   0x4075
 
#define CL_COMMAND_ACQUIRE_DX9_OBJECTS_INTEL   0x402A
 
#define CL_COMMAND_RELEASE_DX9_OBJECTS_INTEL   0x402B
 

Typedefs

typedef cl_uint cl_dx9_device_source_intel
 
typedef cl_uint cl_dx9_device_set_intel
 
typedef CL_API_ENTRY cl_int(CL_API_CALLclGetDeviceIDsFromDX9INTEL_fn )(cl_platform_id, cl_dx9_device_source_intel, void *, cl_dx9_device_set_intel, cl_uint, cl_device_id *, cl_uint *) CL_EXT_SUFFIX__VERSION_1_1
 
typedef CL_API_ENTRY cl_mem(CL_API_CALLclCreateFromDX9MediaSurfaceINTEL_fn )(cl_context, cl_mem_flags, IDirect3DSurface9 *, HANDLE, UINT, cl_int *) CL_EXT_SUFFIX__VERSION_1_1
 
typedef CL_API_ENTRY cl_int(CL_API_CALLclEnqueueAcquireDX9ObjectsINTEL_fn )(cl_command_queue, cl_uint, const cl_mem *, cl_uint, const cl_event *, cl_event *) CL_EXT_SUFFIX__VERSION_1_1
 
typedef CL_API_ENTRY cl_int(CL_API_CALLclEnqueueReleaseDX9ObjectsINTEL_fn )(cl_command_queue, cl_uint, cl_mem *, cl_uint, const cl_event *, cl_event *) CL_EXT_SUFFIX__VERSION_1_1
 

Functions

CL_API_ENTRY cl_int CL_API_CALL clGetDeviceIDsFromDX9INTEL (cl_platform_id, cl_dx9_device_source_intel, void *, cl_dx9_device_set_intel, cl_uint, cl_device_id *, cl_uint *) CL_EXT_SUFFIX__VERSION_1_1
 
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromDX9MediaSurfaceINTEL (cl_context, cl_mem_flags, IDirect3DSurface9 *, HANDLE, UINT, cl_int *) CL_EXT_SUFFIX__VERSION_1_1
 
CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireDX9ObjectsINTEL (cl_command_queue, cl_uint, const cl_mem *, cl_uint, const cl_event *, cl_event *) CL_EXT_SUFFIX__VERSION_1_1
 
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseDX9ObjectsINTEL (cl_command_queue, cl_uint, cl_mem *, cl_uint, const cl_event *, cl_event *) CL_EXT_SUFFIX__VERSION_1_1
 

Macro Definition Documentation

#define CL_ALL_DEVICES_FOR_DX9_INTEL   0x4025

Definition at line 88 of file cl_dx9_media_sharing_intel.h.

#define CL_COMMAND_ACQUIRE_DX9_OBJECTS_INTEL   0x402A

Definition at line 103 of file cl_dx9_media_sharing_intel.h.

#define CL_COMMAND_RELEASE_DX9_OBJECTS_INTEL   0x402B

Definition at line 104 of file cl_dx9_media_sharing_intel.h.

#define CL_CONTEXT_D3D9_DEVICE_INTEL   0x4026

Definition at line 91 of file cl_dx9_media_sharing_intel.h.

#define CL_CONTEXT_D3D9EX_DEVICE_INTEL   0x4072

Definition at line 92 of file cl_dx9_media_sharing_intel.h.

#define CL_CONTEXT_DXVA_DEVICE_INTEL   0x4073

Definition at line 93 of file cl_dx9_media_sharing_intel.h.

#define CL_D3D9_DEVICE_INTEL   0x4022

Definition at line 82 of file cl_dx9_media_sharing_intel.h.

#define CL_D3D9EX_DEVICE_INTEL   0x4070

Definition at line 83 of file cl_dx9_media_sharing_intel.h.

#define CL_DX9_RESOURCE_ALREADY_ACQUIRED_INTEL   -1012

Definition at line 78 of file cl_dx9_media_sharing_intel.h.

#define CL_DX9_RESOURCE_NOT_ACQUIRED_INTEL   -1013

Definition at line 79 of file cl_dx9_media_sharing_intel.h.

#define CL_DXVA_DEVICE_INTEL   0x4071

Definition at line 84 of file cl_dx9_media_sharing_intel.h.

#define CL_IMAGE_DX9_PLANE_INTEL   0x4075

Definition at line 100 of file cl_dx9_media_sharing_intel.h.

#define cl_intel_dx9_media_sharing   1

Definition at line 70 of file cl_dx9_media_sharing_intel.h.

#define CL_INVALID_DX9_DEVICE_INTEL   -1010

Definition at line 76 of file cl_dx9_media_sharing_intel.h.

#define CL_INVALID_DX9_RESOURCE_INTEL   -1011

Definition at line 77 of file cl_dx9_media_sharing_intel.h.

#define CL_MEM_DX9_RESOURCE_INTEL   0x4027

Definition at line 96 of file cl_dx9_media_sharing_intel.h.

#define CL_MEM_DX9_SHARED_HANDLE_INTEL   0x4074

Definition at line 97 of file cl_dx9_media_sharing_intel.h.

#define CL_PREFERRED_DEVICES_FOR_DX9_INTEL   0x4024

Definition at line 87 of file cl_dx9_media_sharing_intel.h.

Typedef Documentation

typedef cl_uint cl_dx9_device_set_intel

Definition at line 73 of file cl_dx9_media_sharing_intel.h.

typedef cl_uint cl_dx9_device_source_intel

Definition at line 72 of file cl_dx9_media_sharing_intel.h.

typedef CL_API_ENTRY cl_mem(CL_API_CALL * clCreateFromDX9MediaSurfaceINTEL_fn)(cl_context, cl_mem_flags, IDirect3DSurface9 *, HANDLE, UINT, cl_int *) CL_EXT_SUFFIX__VERSION_1_1

Definition at line 135 of file cl_dx9_media_sharing_intel.h.

typedef CL_API_ENTRY cl_int(CL_API_CALL * clEnqueueAcquireDX9ObjectsINTEL_fn)(cl_command_queue, cl_uint, const cl_mem *, cl_uint, const cl_event *, cl_event *) CL_EXT_SUFFIX__VERSION_1_1

Definition at line 152 of file cl_dx9_media_sharing_intel.h.

typedef CL_API_ENTRY cl_int(CL_API_CALL * clEnqueueReleaseDX9ObjectsINTEL_fn)(cl_command_queue, cl_uint, cl_mem *, cl_uint, const cl_event *, cl_event *) CL_EXT_SUFFIX__VERSION_1_1

Definition at line 169 of file cl_dx9_media_sharing_intel.h.

Definition at line 117 of file cl_dx9_media_sharing_intel.h.

Function Documentation

CL_API_ENTRY cl_mem CL_API_CALL clCreateFromDX9MediaSurfaceINTEL ( cl_context  ,
cl_mem_flags  ,
IDirect3DSurface9 *  ,
HANDLE  ,
UINT  ,
cl_int *   
)
CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireDX9ObjectsINTEL ( cl_command_queue  ,
cl_uint  ,
const cl_mem ,
cl_uint  ,
const cl_event ,
cl_event  
)
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseDX9ObjectsINTEL ( cl_command_queue  ,
cl_uint  ,
cl_mem ,
cl_uint  ,
const cl_event ,
cl_event  
)
CL_API_ENTRY cl_int CL_API_CALL clGetDeviceIDsFromDX9INTEL ( cl_platform_id  ,
cl_dx9_device_source_intel  ,
void ,
cl_dx9_device_set_intel  ,
cl_uint  ,
cl_device_id ,
cl_uint *   
)