public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing 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)] Span <nint> @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()));
 }
 public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span <nint> mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint *event_wait_list, [Flow(FlowDirection.Out)] nint * @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, out mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event));
 }
 public static unsafe nint CreateFromDX9MediaSurface <T0>(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] Span <T0> resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span <int> errcode_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.CreateFromDX9MediaSurface(context, flags, out resource.GetPinnableReference(), sharedHandle, plane, out errcode_ret.GetPinnableReference()));
 }
 public static unsafe int GetDeviceIDsFromDX9 <T0>(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span <T0> dx9_object, [Flow(FlowDirection.In)] uint dx9_device_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.GetDeviceIDsFromDX9(platform, dx9_device_source, out dx9_object.GetPinnableReference(), dx9_device_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()));
 }
 public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void *dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span <nint> devices, [Flow(FlowDirection.Out)] uint *num_devices)
 {
     // SpanOverloader
     return(thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, dx9_object, dx9_device_set, num_entries, out devices.GetPinnableReference(), num_devices));
 }
Example #6
0
 public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr *mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan <IntPtr> event_wait_list, [Flow(FlowDirection.Out)] IntPtr * @event)
 {
     // SpanOverloader
     return(thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event));
 }
Example #7
0
 public static unsafe IntPtr CreateFromDX9MediaSurface(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] void *resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateFromDX9MediaSurface(context, flags, resource, sharedHandle, plane, out errcode_ret.GetPinnableReference()));
 }