Closed
Bug 1011342
Opened 12 years ago
Closed 12 years ago
[B2G][Camera] Focus and metering areas APIs provide wrong coordinates to driver
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S2 (23may)
People
(Reporter: aosmond, Assigned: aosmond)
Details
Attachments
(1 file, 1 obsolete file)
|
1.55 KB,
patch
|
mikeh
:
review+
|
Details | Diff | Splinter Review |
The camera drivers expect the focus and metering regions to be provided in the form:
(x1,y1,x2,y2,weight)
Where x refers to left/right and y refers to top/bottom. Presently the gonk layer provides it in the form (y1,x1,y2,x2,weight).
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Target Milestone: --- → 2.0 S2 (23may)
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8423526 -
Flags: review?(dhylands)
Comment 2•12 years ago
|
||
Comment on attachment 8423526 [details] [diff] [review]
bug1011342.patch, v1
Review of attachment 8423526 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me
Attachment #8423526 -
Flags: review?(dhylands) → review+
Comment 3•12 years ago
|
||
What is the ETA for this?
| Assignee | ||
Comment 4•12 years ago
|
||
As soon as the try finishes and a sheriff checks the patch in for me.
try: https://tbpl.mozilla.org/?tree=Try&rev=e36e1f619988
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
hey Andrew have you looked at the try results (see https://tbpl.mozilla.org/php/getParsedLog.php?id=40005889&tree=Try as example). Could this be related to your push?
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Andrew, it looks like you need to fix this[1] as well.
1. http://dxr.mozilla.org/mozilla-central/source/dom/camera/GonkCameraParameters.cpp#428
| Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Mike Habicher [:mikeh] from comment #6)
> Andrew, it looks like you need to fix this[1] as well.
>
> 1.
> http://dxr.mozilla.org/mozilla-central/source/dom/camera/
> GonkCameraParameters.cpp#428
That also explains the test case failure. New try with that fix: https://tbpl.mozilla.org/?tree=Try&rev=ed2e3596df74
| Assignee | ||
Comment 8•12 years ago
|
||
Attachment #8423526 -
Attachment is obsolete: true
Comment 9•12 years ago
|
||
Comment on attachment 8425576 [details] [diff] [review]
bug1011342.patch, v2 [r=dhylands]
Review of attachment 8425576 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good.
Attachment #8425576 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Keywords: checkin-needed
Comment 11•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•