Decoded videp and OpenGL ES

This topic contains 5 replies, has 2 voices, and was last updated by  Gordon 8 years, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29765

    Shaista
    Member

    Hi,

    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.

    #32946

    Gordon
    Moderator

    At the moment there is no dedicated way to do this in the OpenGL ES APIs, however there may be platform-specific extensions for this purpose. I believe there is some discussion in Khronos (the group that administers OpenGL ES) about providing some solution from within the API, but nothing has been decided yet.

    The only way to display this kind of content at the moment is to upload the video frames as textures each render. This is typically not very efficient.

    #32947

    Shaista
    Member

    Thanks Gordon but it could be very helpful if you could explain more elaborately.

    #32948

    Gordon
    Moderator

    The platform specific options aren’t something I can go into on this forum. If you want information like this you’ll need to email us (devtech@imgtec.com) as you were doing previously and depending on NDAs between our companies etc. we could answer your questions more freely this way.

    The generic solution that I mention simply involves taking the video frame data and uploading it to GL (or D3D etc.) in exactly the same way as you would upload any other texture.

    #32949

    Shaista
    Member

    Thanks I got it.

    #32950

    Gordon
    Moderator

    Without knowing more about the particular platform you are working with I can’t offer any other methods than the generic update and upload a texture each frame solution mentioned above. It may be more worth your while to contact your platform provider concerning this issue.

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.