CVPixelBuffer.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- 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
傳回
適用於
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
參數
- 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
傳回
適用於
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
參數
- 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
傳回
適用於
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
參數
- surface
- IOSurface
- result
- CVReturn
- pixelBufferAttributes
- CVPixelBufferAttributes
傳回
- 屬性
適用於
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
參數
- surface
- IOSurface
- pixelBufferAttributes
- CVPixelBufferAttributes
傳回
- 屬性
適用於
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
參數
- width
- System.System.IntPtr System.nativeint
- height
- System.System.IntPtr System.nativeint
- pixelFormatType
- CVPixelFormatType
- data
- Byte[]
- bytesPerRow
- System.System.IntPtr System.nativeint
- pixelBufferAttributes
- CVPixelBufferAttributes