transfer byte to effect,
Members - Reputation: 103
Posted 27 April 2012 - 06:05 AM
Crossbones+ - Reputation: 4031
Posted 27 April 2012 - 06:49 AM
Because of the simple logic, GPU can perform this operation very fast per pixel.
Some hardware is capable of using YUV format textures directly; they will perform the conversion to RGB automatically.
Whether or not you have YUV data available to begin with, depends entirely on your video codec of choice.