Login  Register

Re: Red-colored videos using libav

Posted by gouessej on Nov 26, 2016; 1:19pm
URL: https://forum.jogamp.org/Red-colored-videos-using-libav-tp4037437p4037462.html

You can use com.jogamp.opengl.util.texture.Texture.updateImage(GL, TextureData) to update the whole texture. You have to use the buffer of the texture data to store the pixels.

You can use GL2GL3.getTexImage() to get the data out from the texture.
Julien Gouesse | Personal blog | Website