Converts a range from YUV420P, NV12, or YUYV to RGBA.
int32 ConvertYuvToRgb( Uint8Iterator src, Uint8Iterator dst, int32 p_nWidth, int32 p_nHeight )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Uint8Iterator> | src | An iterator at the start of the source range. These are the YUV420P, NV12, or YUYV values. |
<Uint8Iterator> | dst | An iterator at the start of the destination range. These will be the RGBA values. |
int32 | p_nWidth | The width in pixels of the <Image> object containing the source values. This is the display width, not the full planar width. |
int32 | p_nHeight | The height in pixels of the <Image> object containing the source values. This is the display height, not the full planar height. |
None published. Please look for an example in the Scenome Scripting Language code base.