CVPixelBuffer.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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