mplayer with video acceleration

David Kuehling dvdkhlng at gmx.de
Mon Mar 7 05:43:51 EST 2011


>>>>> "Cristian" == Cristian Paul Peñaranda Rojas <paul at kristianpaul.org> writes:

>> just made video acceleration work with mplayer on NanoNote.
>> currently no scaling, merely YUV->RGB conversion done in hardware,
>> but this already speeds up video decoding a lot.
> Are you using SIMD some how emdebed in the code as assembler for this?

No SIMD, no assembler.  Just programming the image processing unit to
read YUV data from one part of RAM, and writing the result to the
framebuffer.  Everything in a pipeline with the video decoding (double
buffered), so actually running in parallel with the CPU.

>> Note: this driver messes with the NN hardware, make sure you backup
>> any

> Can you be more specific with the mess part? i mean you already
> noticed a side effect after running this mplayer?

No didn't notice any side effects.  But if you try to play videos
greater than screen size, the DMA engine may write somewhere it isn't
supposed to write.  This is very low-level, so a bug may cause pretty
severe side-effects (in the most likely case, just crashing the NN).

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20110307/9d7c37e0/attachment.pgp>


More information about the discussion mailing list


interactive