Closed Bug 1068231 Opened 10 years ago Closed 10 years ago

[Camera] Update Camera app to specify preview size different from recorder profile

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mikeh, Assigned: justindarc)

References

Details

Bug 1014877 uncouples the preview size from the recorder profile frame size. So now it's possible (on supporting hardware) to specify, e.g.:

  mozCamera.setConfiguration({ mode: "video",
                               previewSize: { width: 854, height: 480 },
                               recorderProfile: "720p" });

(This, in theory, should lighten the load on the compositor, since less pixels are pushed to the screen.)

The Camera app should be updated to take advantage of this.
Assignee: nobody → jdarcangelo
justindarc, it looks like this is already being done:
https://github.com/mozilla-b2g/gaia/blob/master/apps/camera/js/lib/camera/camera.js#L437
Flags: needinfo?(jdarcangelo)
(In reply to Mike Habicher [:mikeh] from comment #1)
> justindarc, it looks like this is already being done:
> https://github.com/mozilla-b2g/gaia/blob/master/apps/camera/js/lib/camera/
> camera.js#L437

Yes it does. Closing.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jdarcangelo)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.