ConvertYuvToRgb Data Member Function

Converts a range from YUV420P, NV12, or YUYV to RGBA.

Prototype

int32 ConvertYuvToRgb( Uint8Iterator src, Uint8Iterator dst, int32 p_nWidth, int32 p_nHeight )

Parameters

Parameter Type Parameter Name Documentation
<Uint8Iterator>srcAn iterator at the start of the source range. These are the YUV420P, NV12, or YUYV values.
<Uint8Iterator>dstAn iterator at the start of the destination range. These will be the RGBA values.
int32p_nWidthThe width in pixels of the <Image> object containing the source values. This is the display width, not the full planar width.
int32p_nHeightThe height in pixels of the <Image> object containing the source values. This is the display height, not the full planar height.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.