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