[Liboil] GPU-assisted Dirac (de)compression

Aaron Whitehouse lists at whitehouse.org.nz
Sat Jun 7 00:03:48 PDT 2008


Hello everybody,

My key question is this:
What is the optimal way to utilise the GPU to improve
compression/decompression of Dirac files?

I understand that Schrodinger can use CUDA to utilise the GPU on
NVidia 8800s. What I am trying to determine is the best overall
approach to take in order to generally improve Dirac performance on
all graphics cards (or at least all graphics cards with a Free
driver).

As far as I can see, the best approach in a perfect world would be:
1) Add Dirac support to VAAPI;
2) Have all media applications (e.g. GStreamer) support VAAPI;
3) Add Dirac VAAPI support to Gallium3D softpipe; and
4) Add support for the Dirac VAAPI functions to the various Gallium3D
hardware drivers (presumably in shader language in order to support
OpenGL cards?).

It seems that this GSOC would go a long way to sorting this:
http://www.bitblit.org/gsoc/g3dvl/index.shtml
http://www.bitblit.org/gsoc/g3dvl/proposal.shtml
but nothing anywhere mentions Dirac.

I'm also interested in whether any of this will help encoding (it does
not sound like VAAPI currently intends to support encoding).

Can anybody shed some light on this issue?

Regards,

Aaron

Some related website references:
Gallium3D frontend for video decoding
http://dri.freedesktop.org/wiki/GSoC_2008#head-cd69e781511a590a66384d8ed1945eabf1d41f0d

GSOC '08 hardware accelerated video decoding
http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg34408.html

Gallium3D homepage:
http://www.tungstengraphics.com/wiki/index.php/Gallium3D

Add a Nouveau gallium backend
http://dri.freedesktop.org/wiki/GSoC_2008#head-2129b37e4142464120f664e09ead3ed6d89e1032

GPU-Accelerated Dirac Video Codec (CUDA)
http://www.cs.rug.nl/~wladimir/sc-cuda/

XBMC:
http://xbmc.org/wiki/?title=GSoC_-_GPU_Assisted_Video_Decoding
http://xbmc.org/forum/showthread.php?p=189828

Enable PureVideo under Linux (MPEG-4 / H.264 XvMC):
http://forums.nvidia.com/index.php?showtopic=35698&pid=262003&mode=threaded&show=&st=&

VAAPI
http://www.freedesktop.org/wiki/Software/vaapi

Generic GPU-Accelerated Video Decoding
http://www.bitblit.org/gsoc/g3dvl/index.shtml
http://www.bitblit.org/gsoc/g3dvl/proposal.shtml

-- 
FSF Associate Member: 5632
http://www.fsf.org


More information about the Liboil mailing list