VideoDevice.Yv12ToRgb(Stream, ValueTuple<UInt32,UInt32>) Method
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.
Convert YV12(YUV420) to RGB format.
C#
public static System.Drawing.Color[] Yv12ToRgb (System.IO.Stream stream, (uint Width, uint Height) size);
static member Yv12ToRgb : System.IO.Stream * ValueTuple<uint32, uint32> -> System.Drawing.Color[]
Public Shared Function Yv12ToRgb (stream As Stream, size As ValueTuple(Of UInteger, UInteger)) As Color()
- stream
- Stream
YV12 stream.
- size
- ValueTuple<UInt32,UInt32>
Image size in the stream.
Color[]
RGB format colors.
Termék | Verziók |
---|---|
.NET IoT Libraries | 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |