Closed Bug 903961 Opened 12 years ago Closed 11 years ago

Camera Driver Problem

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: cosminadrianpopescu, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 Steps to reproduce: On a Peak device, I've changed the camera.js code trying to get a photo at 3MP (jpeg format). Actual results: When taking the photo, the camera application hangs on the preview, and the photo is not taken. The camera application is still responsive, but the picture is not taken. I have to restart the phone to have the camera working again. Apparently when taking the picture, the execution reaches the takePictureJpeg function(https://www.codeaurora.org/cgit/quic/la/platform/hardware/qcom/camera/tree/QCameraHWI_Still.cpp?h=aosp-new/ics#n1206) but never gets out of the cam_ops_action function (which I was not able to find in the b2g source tree). For reference, please see this link: http://forum.geeksphone.com/index.php?topic=5176.msg60407#msg60407 Expected results: A 3MP picture should've been save on the device. NOTE: If I change the file format to raw instead of jpeg, then a 10M file is created and everything works as expected, but I cannot open the file (I've tried with GIMP with dcraw plugin and gwenview). As a workaround, is there any possibility to open these files?
(In reply to Cosmin Popescu from comment #0) > On a Peak device, I've changed the camera.js code trying to get a photo at > 3MP (jpeg format). Just a nit-pick ... it might help to somebody who actually understands to what you are talking about (which is not me) if you attach a patch with your changes.
New camera has landed. This bug is out of date.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
New camera has landed in 1.4 or also in 1.3? Anyway, even with the Firefox 1.3 the problem is solved (from my point of view) since the resolution has been increased to 5MP by default. Thank you, Cosmin Popescu.
You need to log in before you can comment on or make changes to this bug.