Why would you do a YUY2->RGB->YUY2 conversion? Adjusting brightness,
contrast and saturation is much easier in YUV space:
brightness - add a constant to Y
contrast - multiply Y by a constant
saturation - multiply U&V by a constant, allowing for the 128 offset.
Domestic TV sets in Europe have RGB inputs. They convert to YUV before
the brightness, contrast and saturation controls, then convert back to
RGB for display. There are good reasons for this.
BBC Research & Development < http://www.yqcomputer.com/
*** All opinions are mine and might not be shared by the BBC ***