Re: JPEG Decoder Added
Posted by
Sven Gothel on
Apr 01, 2013; 10:43am
URL: https://forum.jogamp.org/JPEG-Decoder-Added-tp4028870p4028872.html
On 04/01/2013 11:34 AM, gouessej [via jogamp] wrote:
> Hi
>
> I'm going to use it very soon, one of my outdoor environments uses tons of
> JPEG files and you know I have been trying to remove all dependencies on AWT
> from my game. Nice job :)
>
> Why must the YUV-RGB color-space conversion be done in a shader?
I wrote:
> Note the YUV storage options (4x faster) would require you
> to perform the YUV->RGB color-space conversion in the GLSL shader.
> (One is available in our FFMPeg GLMediaPlayer class)
_option_, you can choose of course, use yuv/rgb conversion in shader
only to benefit from the 4x speedup - if it causes a bottleneck.
~Sven