Esempio n. 1
0
 public static unsafe void VdpauunmapSurfaces(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] uint numSurface, [Count(Parameter = "numSurface"), Flow(FlowDirection.In)] ReadOnlySpan <nint> surfaces)
 {
     // SpanOverloader
     thisApi.VdpauunmapSurfaces(numSurface, in surfaces.GetPinnableReference());
 }
Esempio n. 2
0
 public static unsafe nint VdpauregisterVideoSurface <T0>(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan <T0> vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan <uint> textureNames) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.VdpauregisterVideoSurface(in vdpSurface.GetPinnableReference(), target, numTextureNames, in textureNames.GetPinnableReference()));
 }
Esempio n. 3
0
 public static unsafe void Vdpauinit <T0, T1>(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan <T0> vdpDevice, [Flow(FlowDirection.In)] ReadOnlySpan <T1> getProcAddress) where T0 : unmanaged where T1 : unmanaged
 {
     // SpanOverloader
     thisApi.Vdpauinit(in vdpDevice.GetPinnableReference(), in getProcAddress.GetPinnableReference());
 }
Esempio n. 4
0
 public static unsafe nint VdpauregisterOutputSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] void *vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan <uint> textureNames)
 {
     // SpanOverloader
     return(thisApi.VdpauregisterOutputSurface(vdpSurface, target, numTextureNames, in textureNames.GetPinnableReference()));
 }
Esempio n. 5
0
 public static unsafe void VdpaugetSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span <uint> length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span <int> values)
 {
     // SpanOverloader
     thisApi.VdpaugetSurface(surface, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference());
 }