Decoded video and opengles


Can anybody please give me any idea how we can pass decoded video data/buffer to OpenGL ES via GFX aware application ?

Also I want to know that as OpenGL ES does not take user input directly nor it works in window operation as it is bassicaly low level APIs so we use GLUT or PowerShell. So does this means that the input to be given to opengles has to be directly passed to GLUT or PowerShell to be passed to OpenGL ES.

Open GL ES is proved to be extremely good for 3D games but do you know what can it do the video data which is already decoded ?

Please kindly help, a bit of information is also highly appeciated.