ConvertRgbToYuyv Data Member Function

Converts the source range submitted to this function from RGB to YUYV. All values are stores consecutively in destination range submitted to this function.

Prototype

int32 ConvertRgbToYuyv( Uint8Iterator src, Uint8Iterator dst, int32 width, int32 height )

Parameters

Parameter Type Parameter Name Documentation
<Uint8Iterator>srcAn iterator at the start of the source range of RGB values.
<Uint8Iterator>dstAn iterator at the start of the destination range to write the YUYV values.
int32widthThe width of the source data. For example, if a range representing an <Image> object is converted. Otherwise, this value multiplied by the height value must match the count of items in the source range.
int32heightThe height of the source data. For example, if a range representing an <Image> object is converted. Otherwise, this value multiplied by the width value must match the count of items in the source range.

Examples

Copy Text To Clipboard

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