On 16 December 2010 19:28, Mikhail Ramendik <m...@ramendik.ru> wrote:
> On 7 December 2010 01:07, Jimmy Rentz <jb17bs...@gmail.com> wrote:
>
>> Initially I would say XVMC.  VDPAU expects full hw bitstream
>> decode.  XVMC only does decode starting at idct/mb.  I am guessing it
>> is possible to support VDPAU by doing the earlier stages in software
>> then handling the reset to hw.  Well, unless someone figures out some
>> way to handle the full pipeline in hw via shaders which is something
>> I have no time or knowledge.
>
> Just had an idea - perhaps VAAPI would be easier to support than VDPAU?
>
> The main thing would probably be h264, as that is the only format
> which some modern CPUs are not strong enough to decode.
>

That is correct. XVMC only does MPEG2 that most PCs can do with just
XV, and nouveau already supports XV.
I can run nouveau on a ATOM-ION box using the nouveau XV driver for
MPEG2 SD movies.
VDPAU is required for HD H264/MPEG4 movies as the ATOM-ION cannot do
HD H264 with XV.

So, i agree, getting nouveau to support H264/MPEG4 playback would be good.
It does not even have to be vdpau or vaapi. It could be a new API if
that would be easier.
The idct/mb parts of decoding H264/MPEG4 is still the most CPU
intensive and best to do on the graphics card if possible.
Decoding the bitstream decoding is probably OK to do in software on
the CPU instead of the GPU.

Kind Regards

James
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to