>-----Original Message----- >From: [email protected] [mailto:[email protected]] On >Behalf Of Stephane Marchesin >Sent: 2009年4月9日 14:32 >To: Zou, Nanhai >Cc: Corbin Simpson; Denis Martinez; [email protected] >Subject: Re: [Mesa3d-dev] Google Summer of Code > >2009/4/9 Zou, Nanhai <[email protected]>: >> Hi, >> What kind of GPU shading language are you using for mc and idct? >> > >What do you mean GPU shading language ? It generates gallium shaders, >just look at the g3dvl state tracker it's all there.
I have not been looking into gallium support yet. Are you working on software fallback or on some real hardware? I am now working on HW accelerated media support for our chip(XVMC etc), next plan is to support VAAPI. The code is now in our 2D dirver, in freedesktop.org xf86-video-driver . The master branch has MC only implement, There is a branch xvmc-vld which support offload mpeg2 decode to GPU from VLD entry. Media kernels running on GPU will do MC and IDCT and IQ, fix function unit HW will do VLD decode. I think merge the VAAPI support into mesa might be a good idea. However currently we program media kernel with very low level assembly code. I fell it is better we can have some higher level shading language for later complex H.264 support and video post processing. But I don't think GLSL like language can generate efficient enough media processing code. So I am wondering which kind of programming language are you using for GPU media decoding. Thanks Zou Nan hai > >Stephane ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
