mplayer with video acceleration
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
> 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).
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
Size: 189 bytes
Desc: not available
More information about the discussion