Reg:OpenGL Shaders.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Reg:OpenGL Shaders.

anandcta123
Hi,

I am learning about OpenGL shaders. I am thinking to take Y420 as input format for my OpenGl path and convert to RGB format at fragment shader level. I am programming on MAC. Please suggest me whether it is possible or not. If possible, suggest me how to begin with.

Anand
Reply | Threaded
Open this post in threaded view
|

Re: Reg:OpenGL Shaders.

Sven Gothel
Administrator
On 12/20/2013 07:16 AM, anandcta123 [via jogamp] wrote:
> Hi,
>
> I am learning about OpenGL shaders. I am thinking to take Y420 as input format
> for my OpenGl path and convert to RGB format at fragment shader level. I am
> programming on MAC. Please suggest me whether it is possible or not. If
> possible, suggest me how to begin with.
>

We use shader color space conversion w/ our FFMPEGMediaPlayer:

<http://jogamp.org/git/?p=jogl.git;a=blob;f=src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java;h=344ba48ee63b3a2f5437c54262226ac894df8d69;hb=HEAD#l667>

~Sven

> Anand
>


signature.asc (911 bytes) Download Attachment