Closed Bug 1144140 (camera-two) Opened 10 years ago Closed 7 years ago

[Camera][Gecko][Lollipop] Migrate CameraControl to AOSP's Camera3

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mikeh, Unassigned)

References

Details

Camera2 is the proposed evolution of the AOSP camera interface; the original interface which we are currently using was marked deprecated as of API v21.

Ref. http://developer.android.com/reference/android/hardware/camera2/package-summary.html

Some analysis: http://spectrastudy.com/camera2-api-on-mwc-2015-devices/

Some notes: http://androidxref.com/5.0.0_r2/xref/system/media/camera/docs/metadata_properties.xml
Summary: [Camera][Lollipop] Migrate CameraControl to AOSP's Camera2 → [Camera][Gecko][Lollipop] Migrate CameraControl to AOSP's Camera2
IIRC, jolin did locally tested and investigated Camera2 usage. I do not know the current status.
Flags: needinfo?(jolin)
 My plan has always been just writing a new b2g gUM implementation with camera2 and never thought of mozCamera. :-$
  I has made some investigations on camera2 for bug 1069246, mostly studying how the Lollipop Java API (android.hardware.camera2.*) is implemented using which native API. So far I managed to run some basic test cases exercising native camera2 API[1] and camera service[2] on b2g nexus-5-l (after fixing some bug in AOSP upstream btw).
 FWICT, camera2 interface is so different from the old one that implementing DOMCamera/GonkCamera with it seems to require some re-design/re-write efforts.
 Have you considered using gUM/FoxEye[3]/ImageCapture/MediaRecorder in future version of Camera app?

[1] https://github.com/mozilla-b2g/platform_frameworks_av/tree/b2g-5.0.0_r6/include/camera/camera2
[2] https://github.com/mozilla-b2g/platform_frameworks_av/blob/b2g-5.0.0_r6/include/camera/ICameraService.h#L114
[3] https://wiki.mozilla.org/Project_FoxEye
Flags: needinfo?(jolin)
Summary: [Camera][Gecko][Lollipop] Migrate CameraControl to AOSP's Camera2 → [Camera][Gecko][Lollipop] Migrate CameraControl to AOSP's Camera3
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.