Пример #1
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()));
 }
Пример #2
0
 public static unsafe int GetSupportedD3D11TextureFormats(this IntelSharingFormatQueryD3d11 thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint *d3d11_formats, [Flow(FlowDirection.Out)] Span <uint> num_texture_formats)
 {
     // SpanOverloader
     return(thisApi.GetSupportedD3D11TextureFormats(context, flags, image_type, plane, num_entries, d3d11_formats, out num_texture_formats.GetPinnableReference()));
 }
Пример #3
0
 public static unsafe int GetSupportedVAApimediaSurfaceFormats <T0>(this IntelSharingFormatQueryVaApi thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span <T0> va_api_formats, [Flow(FlowDirection.Out)] Span <uint> num_surface_formats) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.GetSupportedVAApimediaSurfaceFormats(context, flags, image_type, plane, num_entries, out va_api_formats.GetPinnableReference(), out num_surface_formats.GetPinnableReference()));
 }
Пример #4
0
 public unsafe partial void *MapTexture2D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] uint access, [Count(Count = 1), Flow(FlowDirection.Out)] out int stride, [Count(Count = 1), Flow(FlowDirection.Out)] out INTEL layout);
Пример #5
0
 public unsafe partial nint CreateBufferWithProperties <T0>([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged;
Пример #6
0
 public unsafe partial void ColorPointer([Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] INTEL type, [Count(Count = 4), Flow(FlowDirection.In)] in void *pointer);
Пример #7
0
 public unsafe partial IntPtr CreateBufferWithProperties <T0>([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int *errcode_ret) where T0 : unmanaged;
Пример #8
0
 public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void *host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret);
Пример #9
0
 public unsafe IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] int context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] int resource, [Flow(FlowDirection.In)] int sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // IntPtrOverloader
     return(CreateFromDX9MediaSurface(new IntPtr(context), flags, new IntPtr(resource), new IntPtr(sharedHandle), plane, errcode_ret));
 }
Пример #10
0
 public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void *host_ptr, [Flow(FlowDirection.Out)] int *errcode_ret);
Пример #11
0
 public abstract IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] IntPtr resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span <int> errcode_ret);
Пример #12
0
 public partial nint CreateFromVAApimediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] nint surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret);
 public static unsafe int EnqueueMigrateMem <T0>(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan <T0> ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan <nint> event_wait_list, [Flow(FlowDirection.Out)] Span <nint> @event) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.EnqueueMigrateMem(command_queue, in ptr.GetPinnableReference(), size, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()));
 }
 public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void *ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [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.EnqueueMigrateMem(command_queue, ptr, size, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event));
 }
 public partial int GetSupportedD3D11TextureFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint d3d11_formats, [Flow(FlowDirection.Out)] out uint num_texture_formats);