Converts the source range submitted to this function from RGB to YUV. All values are stores consecutively in destination range submitted to this function.
int32 ConvertRgbToYuv( Uint8Iterator src, Uint8Iterator dst, int32 width, int32 height )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Uint8Iterator> | src | An iterator at the start of the source range of RGB values. |
<Uint8Iterator> | dst | An iterator at the start of the destination range to write the YUV values. |
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.