示例#1
0
 public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan <nint> mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan <nint> event_wait_list, [Flow(FlowDirection.Out)] nint * @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event));
 }
示例#2
0
 public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint *mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint *event_wait_list, [Flow(FlowDirection.Out)] Span <nint> @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()));
 }
示例#3
0
 public static unsafe int GetDeviceIDsFromVAApimediaAdapter <T0>(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span <T0> media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span <nint> devices, [Flow(FlowDirection.Out)] Span <uint> num_devices) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, out media_adapter.GetPinnableReference(), media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()));
 }
示例#4
0
 public static unsafe nint CreateFromVAApimediaSurface(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] nint surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateFromVAApimediaSurface(context, flags, surface, plane, out errcode_ret.GetPinnableReference()));
 }
示例#5
0
 public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void *media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span <IntPtr> devices, [Flow(FlowDirection.Out)] Span <uint> num_devices)
 {
     // SpanOverloader
     return(thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, media_adapter, media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()));
 }