Converts the source range submitted to this function from RGB to YUYV. Values are stored separately in the destination ranges submitted to this function.
int32 ConvertRgbToSeparatedYuyv( Uint8Iterator src, Uint8Iterator y, Uint8Iterator u, Uint8Iterator v, int32 width, int32 height )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Uint8Iterator> | src | An iterator at the start of the source range of RGB values. |
<Uint8Iterator> | y | An iterator at the start of the range that stores the Y values generated during conversion. |
<Uint8Iterator> | u | An iterator at the start of the range that stores the U values generated during conversion. |
<Uint8Iterator> | v | An iterator at the start of the range that stores the V values generated during conversion. |
int32 | width | The 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. |
int32 | height | The 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. |
None published. Please look for an example in the Scenome Scripting Language code base.