[Spice-devel] aspeed: video frames pass-through

Anton D. Kachalov mouse at yandex-team.ru
Thu Nov 12 09:29:07 PST 2015


Hello.

03.11.2015, 19:17, "Anton D. Kachalov" <mouse at yandex-team.ru>:
> 03.11.2015, 18:43, "Christophe Fergeau" <cfergeau at redhat.com>:
>>  Hmm, not very familiar with ARM, and not sure this has seen a lot of
>>  testing. Maybe getting a backtrace would shed more light?
>
> I'll try rewritten version with original proto spec (packed int8/int16) to check what we have now.

Framerate is low. Very low (~0.5 FPS). Like a slideshow for video streaming. Each frame's update traps:

   http://pastebin.com/Hz2k8gSJ

Would it be enough to disable "packed" attribute for structures? Marshall/demarshall code just add/consume data of the requested size direct from/to the fields. No casts / memcpy. Chunks are fine too?


>
> One more thing that I would like to raise.
> I'm doing keycode/scancode pass to the emulated USB HID. USB scancodes is different to XT codes. Is there exists any general mapping functionality? I mean the following mapping: https://www.win.tue.nl/~aeb/linux/kbd/scancodes-14.html for the US layout.

I've added hardcoded keymaps for US layout using keymaps.csv file. It looks a little ugly.


-- 
Anton D. Kachalov



More information about the Spice-devel mailing list