Closed Bug 1020280 Opened 11 years ago Closed 11 years ago

[Camera][Flame] continuous-auto-focus not working

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: wilsonpage, Unassigned)

Details

STEPS 1. Focus viewfinder on nearby subject 2. Take picture EXPECTED: Camera should focus subject and picture taken is sharp. ACTUAL: Focus never changes and picture is blurry. --- Because flame reports focus as 'continuous-auto' and not 'auto', we don't attempt to call `focus()` before taking a picture.
dmarcos: Flagging you NI as you know this area best :)
Flags: needinfo?(dmarcos)
I thought the possible values for focus were 'infinity', 'auto', 'continuous-video' and 'continuous-picture'. First time I heard about 'continuous-auto'. What is the ETA for having up to date documentation for mozCamera in MDN?
Flags: needinfo?(dmarcos) → needinfo?(mhabicher)
dmarcos: Apologies, I meant 'continuous-picture'. Can you confirm the continuous auto-focus is not working for the flame?
Flags: needinfo?(dmarcos)
MDN wouldn't have helped here--it looks like the Flame camera library is returning an unexpected (and undocumented at the Android level) value. Wilson, what is the full range of values returned by capabilities.focusModes?
Flags: needinfo?(mhabicher) → needinfo?(wilsonpage)
(In reply to Mike Habicher [:mikeh] from comment #4) > MDN wouldn't have helped here--it looks like the Flame camera library is > returning an unexpected (and undocumented at the Android level) value. > > Wilson, what is the full range of values returned by capabilities.focusModes? [ "auto", "infinity", "macro", "continuous-video", "continuous-picture" ]
Flags: needinfo?(wilsonpage)
(In reply to Wilson Page [:wilsonpage] from comment #5) > > [ "auto", "infinity", "macro", "continuous-video", "continuous-picture" ] Where does the 'continuous-auto' value come from, then? Is it the return value from CameraControl.focusMode? If so, this is a bug in the camera library, and POVB.
Flags: needinfo?(wilsonpage)
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
mikeh: See comment 3.
Flags: needinfo?(wilsonpage)
mikeh: To confirm, we are setting 'continous-picture' as the focus mode, but it appears to not be 'CAFing'. app.camera.mozCamera.focusMode; //=> "continuous-picture"
From IRC, determined that Wilson is running the v10E basebuild; recommended upgrading to v10G-2.
mikeh has informed me that I'm seeing this bug because my Gonk layer is out of date. As soon as I find a way to update this and test, I will be able to close this issue.
CAF appears working on latest base-build (Gonk) :)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(dmarcos)
You need to log in before you can comment on or make changes to this bug.