Announcement

Collapse
No announcement yet.

WebM, Theora Acceleration Talked About For Gallium3D

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • popper
    replied
    Originally posted by Veerappan View Post
    I decided on OpenCL purely for portability reasons. If I had written a Gallium state tracker specifically for WebM video, the state tracker would only really be useful with Mesa. By doing OpenCL, I don't have to write OpenGL/GLSL (I have basic familiarity with it, but I'm no expert), and I also get the ability to support Mac/Linux/Windows on any usable hardware. As a bonus, Mesa will be able to handle WebM over OpenCL as soon as the Clover project gets to a usable state.
    Veerappan , you might want to pop over to mesa-dev and comment on this to push your Clover wish i assume you do know that code base and can think of some generic 30 minute prototypes he might try out and add before thinking about speed and final code etc

    the mesa-dev dev mentor's as relates to new GSOC code seem very reluctant to speak more than a few word's, to much tunnel vision for 2D/3D computer generated code perhaps and no real interest in core video playback OC.

    but thumb's up for Marek speaking up http://lists.freedesktop.org/archive...ch/006253.html "BTW I haven't taken a look at the clover codebase, so some of my comments
    might be a little off.

    Marek"
    and giving some practical examples of what to consider including and how one might think about extending the current frame work well done, a real mentor helping to prod push and inspire contribution.

    Leave a comment:


  • 89c51
    replied
    hopefully there will be a gsoc project on clover and we might have something by the end of summer.

    Also i assume that since the two codecs have many similarities it wont be a huuuge thing to add the other codec on one of the projects if someone wants to do that. (shader based webm and h264 on Opencl)

    Leave a comment:


  • Veerappan
    replied
    Originally posted by 89c51 View Post
    can someone explain why the WebM format is being implemented using OpenCL (the github project and Veerappan) and they try to implement h264 using shaders???

    is it simply a different solution or there are technical reasons behind it?? from what i read many people say both formats are similar.
    I decided on OpenCL purely for portability reasons. If I had written a Gallium state tracker specifically for WebM video, the state tracker would only really be useful with Mesa. By doing OpenCL, I don't have to write OpenGL/GLSL (I have basic familiarity with it, but I'm no expert), and I also get the ability to support Mac/Linux/Windows on any usable hardware. As a bonus, Mesa will be able to handle WebM over OpenCL as soon as the Clover project gets to a usable state.

    Leave a comment:


  • popper
    replied
    "- It was also mentioned there is someone working on WebM support over OpenCL (see the GitHub), but that's currently slower than a CPU-based solution and the open-source drivers currently don't have OpenCL support. "

    hmm dont you read your own message board Michael

    Discussion of Mesa / Gallium3D components for Linux and other operating systems. This includes open-source 3D hardware drivers, state trackers, OpenCL, OpenGL, Vulkan, and SPIR-V support.

    Veerappan

    also, i wonder why non of the devs in the [Mesa-dev] GSoC : Video decoding state tracker for Gallium3d thread mention using the ffmpeg xVP8 with it's optimisations by Jason Garrett-Glaser,Ronald S. Bultje etc being the fastest CPU VP8 code http://x264dev.multimedia.cx/archives/499 and good reference to the spec as a base for any Gsoc prototype


    it also seems Alexander Strange is now being employed full time at goggle to work on VP8 so also a good fit

    Leave a comment:


  • FireBurn
    replied
    In response to the VDPAU vs VA-api comments when I was speaking with some devs previously I was told this wasn't much of a big deal as a decent state tracker would be able to expose both api's without too much dificulty

    Leave a comment:


  • agd5f
    replied
    At the end of the day, both approaches end up running on shaders.

    Leave a comment:


  • 89c51
    replied
    thanks guys

    Leave a comment:


  • bridgman
    replied
    Originally posted by 89c51 View Post
    can someone explain why the WebM format is being implemented using OpenCL (the github project and Veerappan) and they try to implement h264 using shaders???

    is it simply a different solution or there are technical reasons behind it?? from what i read many people say both formats are similar.
    I believe it is just different people approaching the problem in different ways based on their interests and comfort level with various technologies. Programming shaders directly in driver code makes it easier to integrate the resulting code into an efficient driver stack without having to copy buffers around more than necessary but results in a less portable solution -- programming in OpenCL allows to you focus more on getting the algorithms and implementation right without having to worry about hardware specifics and should give a more portable result.

    Programming in OpenGL with GLSL shaders would probably be somewhere in between but not sure if that would be best of both worlds or worst.

    Leave a comment:


  • mattst88
    replied
    Originally posted by 89c51 View Post
    can someone explain why the WebM format is being implemented using OpenCL (the github project and Veerappan) and they try to implement h264 using shaders???

    is it simply a different solution or there are technical reasons behind it?? from what i read many people say both formats are similar.
    Just different solutions. The shader approach would probably require less overall work, since there's a lot of work needed on clover before OpenCL itself works.

    Leave a comment:


  • 89c51
    replied
    can someone explain why the WebM format is being implemented using OpenCL (the github project and Veerappan) and they try to implement h264 using shaders???

    is it simply a different solution or there are technical reasons behind it?? from what i read many people say both formats are similar.

    Leave a comment:

Working...
X