#1387 HIGH Trial-2: Rotating screen with video running hangs entire system
Zarro Boogs per Child
bugtracker at laptop.org
Tue Jun 19 19:48:18 EDT 2007
#1387: Rotating screen with video running hangs entire system
------------------------------+---------------------------------------------
Reporter: gnu | Owner: JordanCrouse
Type: defect | Status: new
Priority: high | Milestone: Trial-2
Component: x window system | Version:
Resolution: | Keywords:
Verified: 0 |
------------------------------+---------------------------------------------
Comment (by JordanCrouse):
The supereasybonusfix is to just return "Success" in XvPutImage when we
are rotated - this will prevent failures - but note that it won't prevent
the camera app from drawing its pretty pink window patiently expecting
some video to appear there. A small price to pay for not dying horribly.
The scaryhorribleohgodithurts! fix is to actually rotate the video. There
be dragons here. The best way I can think to do it is to use two
offscreen video buffers - in stage 1, we copy the YUV data to video space,
and in stage 2 we rotate the data (and not screw up the YUV data in the
process), and adjust the coordinates accordingly. And by the last item, I
mean figuring out the proper scaling for the rotated mode, adjusting the
Y,U, and V offsets, and hoping that we get it all right. All this and not
regressing on the regular mode too.
So the question is - how important is rotated video? Can we win without
it? If the answer is yes, then I say we go with the easy fix, and make
sure the camera app does the right thing.
--
Ticket URL: <http://dev.laptop.org/ticket/1387#comment:10>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list