DESCRIPTION

The Y, U, V pixel streams are converted into an ABGR pixel stream. All pixel components are 8-bit unsigned integers. The Y buffer has dimensions w and h. The U and V buffers have dimensions w/2 and h/2.
Dimensions w and h are assumed to be even. Successive rows of the output buffer ABGR use successive rows of Y and the same rows of U and V.

The alpha values for this function work in the following fashion:

o
If A_array pointer is not NULL, the values are taken from there. It has to have the same dimensions as the Y buffer.

o
If A_array pointer is NULL, the alpha values for every pixel are set to A_const.