17 #ifndef __OPENCL_CL_VA_API_MEDIA_SHARING_INTEL_H
18 #define __OPENCL_CL_VA_API_MEDIA_SHARING_INTEL_H
31 #define cl_intel_sharing_format_query_va_api 1
42 VAImageFormat* va_api_formats,
52 VAImageFormat* va_api_formats,
59 #define cl_intel_va_api_media_sharing 1
62 #define CL_INVALID_VA_API_MEDIA_ADAPTER_INTEL -1098
63 #define CL_INVALID_VA_API_MEDIA_SURFACE_INTEL -1099
64 #define CL_VA_API_MEDIA_SURFACE_ALREADY_ACQUIRED_INTEL -1100
65 #define CL_VA_API_MEDIA_SURFACE_NOT_ACQUIRED_INTEL -1101
68 #define CL_VA_API_DISPLAY_INTEL 0x4094
71 #define CL_PREFERRED_DEVICES_FOR_VA_API_INTEL 0x4095
72 #define CL_ALL_DEVICES_FOR_VA_API_INTEL 0x4096
75 #define CL_CONTEXT_VA_API_DISPLAY_INTEL 0x4097
78 #define CL_MEM_VA_API_MEDIA_SURFACE_INTEL 0x4098
81 #define CL_IMAGE_VA_API_PLANE_INTEL 0x4099
84 #define CL_COMMAND_ACQUIRE_VA_API_MEDIA_SURFACES_INTEL 0x409A
85 #define CL_COMMAND_RELEASE_VA_API_MEDIA_SURFACES_INTEL 0x409B
93 cl_va_api_device_source_intel media_adapter_type,
95 cl_va_api_device_set_intel media_adapter_set,
102 cl_va_api_device_source_intel media_adapter_type,
104 cl_va_api_device_set_intel media_adapter_set,
107 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
122 cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
128 const cl_mem* mem_objects,
129 cl_uint num_events_in_wait_list,
136 const cl_mem* mem_objects,
137 cl_uint num_events_in_wait_list,
145 const cl_mem* mem_objects,
146 cl_uint num_events_in_wait_list,
153 const cl_mem* mem_objects,
154 cl_uint num_events_in_wait_list,
struct _cl_device_id * cl_device_id
struct _cl_context * cl_context
cl_uint cl_mem_object_type
struct _cl_platform_id * cl_platform_id
struct _cl_event * cl_event
struct _cl_command_queue * cl_command_queue