Upravit

Sdílet prostřednictvím


CVPixelBuffer.Create Method

Definition

Overloads

Create(nint, nint, CVPixelFormatType, Byte[][], nint[], nint[], nint[], CVPixelBufferAttributes, CVReturn)
Create(nint, nint, CVPixelFormatType, Byte[], nint, CVPixelBufferAttributes, CVReturn)
Create(nint, nint, CVPixelFormatType, Byte[][], nint[], nint[], nint[], CVPixelBufferAttributes)
Create(IOSurface, CVReturn, CVPixelBufferAttributes)
Create(IOSurface, CVPixelBufferAttributes)
Create(nint, nint, CVPixelFormatType, Byte[], nint, CVPixelBufferAttributes)

Create(nint, nint, CVPixelFormatType, Byte[][], nint[], nint[], nint[], CVPixelBufferAttributes, CVReturn)

public static CoreVideo.CVPixelBuffer Create (nint width, nint height, CoreVideo.CVPixelFormatType pixelFormatType, byte[][] planes, nint[] planeWidths, nint[] planeHeights, nint[] planeBytesPerRow, CoreVideo.CVPixelBufferAttributes pixelBufferAttributes, out CoreVideo.CVReturn status);
static member Create : nint * nint * CoreVideo.CVPixelFormatType * byte[][] * nint[] * nint[] * nint[] * CoreVideo.CVPixelBufferAttributes *  -> CoreVideo.CVPixelBuffer

Parameters

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
pixelFormatType
CVPixelFormatType
planes
Byte[][]
planeWidths

System.System.IntPtr[]

System.nativeint[]

planeHeights

System.System.IntPtr[]

System.nativeint[]

planeBytesPerRow

System.System.IntPtr[]

System.nativeint[]

pixelBufferAttributes
CVPixelBufferAttributes
status
CVReturn

Returns

Applies to

Create(nint, nint, CVPixelFormatType, Byte[], nint, CVPixelBufferAttributes, CVReturn)

public static CoreVideo.CVPixelBuffer Create (nint width, nint height, CoreVideo.CVPixelFormatType pixelFormatType, byte[] data, nint bytesPerRow, CoreVideo.CVPixelBufferAttributes pixelBufferAttributes, out CoreVideo.CVReturn status);
static member Create : nint * nint * CoreVideo.CVPixelFormatType * byte[] * nint * CoreVideo.CVPixelBufferAttributes *  -> CoreVideo.CVPixelBuffer

Parameters

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
pixelFormatType
CVPixelFormatType
data
Byte[]
bytesPerRow
System.System.IntPtr System.nativeint
pixelBufferAttributes
CVPixelBufferAttributes
status
CVReturn

Returns

Applies to

Create(nint, nint, CVPixelFormatType, Byte[][], nint[], nint[], nint[], CVPixelBufferAttributes)

public static CoreVideo.CVPixelBuffer Create (nint width, nint height, CoreVideo.CVPixelFormatType pixelFormatType, byte[][] planes, nint[] planeWidths, nint[] planeHeights, nint[] planeBytesPerRow, CoreVideo.CVPixelBufferAttributes pixelBufferAttributes);
static member Create : nint * nint * CoreVideo.CVPixelFormatType * byte[][] * nint[] * nint[] * nint[] * CoreVideo.CVPixelBufferAttributes -> CoreVideo.CVPixelBuffer

Parameters

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
pixelFormatType
CVPixelFormatType
planes
Byte[][]
planeWidths

System.System.IntPtr[]

System.nativeint[]

planeHeights

System.System.IntPtr[]

System.nativeint[]

planeBytesPerRow

System.System.IntPtr[]

System.nativeint[]

pixelBufferAttributes
CVPixelBufferAttributes

Returns

Applies to

Create(IOSurface, CVReturn, CVPixelBufferAttributes)

[ObjCRuntime.NoWatch]
[ObjCRuntime.TV(11, 0)]
public static CoreVideo.CVPixelBuffer Create (IOSurface.IOSurface surface, out CoreVideo.CVReturn result, CoreVideo.CVPixelBufferAttributes pixelBufferAttributes = null);
static member Create : IOSurface.IOSurface *  * CoreVideo.CVPixelBufferAttributes -> CoreVideo.CVPixelBuffer

Parameters

surface
IOSurface
result
CVReturn
pixelBufferAttributes
CVPixelBufferAttributes

Returns

Attributes

Applies to

Create(IOSurface, CVPixelBufferAttributes)

[ObjCRuntime.NoWatch]
[ObjCRuntime.TV(11, 0)]
public static CoreVideo.CVPixelBuffer Create (IOSurface.IOSurface surface, CoreVideo.CVPixelBufferAttributes pixelBufferAttributes = null);
static member Create : IOSurface.IOSurface * CoreVideo.CVPixelBufferAttributes -> CoreVideo.CVPixelBuffer

Parameters

surface
IOSurface
pixelBufferAttributes
CVPixelBufferAttributes

Returns

Attributes

Applies to

Create(nint, nint, CVPixelFormatType, Byte[], nint, CVPixelBufferAttributes)

public static CoreVideo.CVPixelBuffer Create (nint width, nint height, CoreVideo.CVPixelFormatType pixelFormatType, byte[] data, nint bytesPerRow, CoreVideo.CVPixelBufferAttributes pixelBufferAttributes);
static member Create : nint * nint * CoreVideo.CVPixelFormatType * byte[] * nint * CoreVideo.CVPixelBufferAttributes -> CoreVideo.CVPixelBuffer

Parameters

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
pixelFormatType
CVPixelFormatType
data
Byte[]
bytesPerRow
System.System.IntPtr System.nativeint
pixelBufferAttributes
CVPixelBufferAttributes

Returns

Applies to