Edit

Share via


VideoDevice.Yv12ToRgb(Stream, ValueTuple<UInt32,UInt32>) Method

Definition

Convert YV12(YUV420) to RGB format.

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()

Parameters

stream
Stream

YV12 stream.

size
ValueTuple<UInt32,UInt32>

Image size in the stream.

Returns

Color[]

RGB format colors.

Applies to