Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Issue 2181803003: Filter to formats that match device sensor array aspect ratio on pre-LMR1 devices. (Closed)

Created:
4 years, 4 months ago by sakal
Modified:
4 years, 4 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Filter to formats that match device sensor array aspect ratio on pre-LMR1 devices offering only legacy camera2 support. There is a bug on pre LMR1 devices that only support legacy implementation of camera2 API where aspect ratio of the camera is incorrect if the output format doesn't match the aspect ratio of the sensor array. On these devices, we want to disable the output formats that have different aspect ratio. Committed: https://crrev.com/f22d3c48fa14502cd4c8e0ffc4c1eae4d7116b6f Cr-Commit-Position: refs/heads/master@{#13538}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixes according to magjed's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -5 lines) Patch
M webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java View 1 2 chunks +24 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
sakal
Magnus, PTAL.
4 years, 4 months ago (2016-07-26 11:38:49 UTC) #3
sakal
Magnus, PTAL.
4 years, 4 months ago (2016-07-26 11:38:51 UTC) #4
magjed_webrtc
https://codereview.webrtc.org/2181803003/diff/1/webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java File webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java (right): https://codereview.webrtc.org/2181803003/diff/1/webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java#newcode40 webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java:40: private final static double MIN_ASPECT_RATIO_RATIO = 0.99; do integer ...
4 years, 4 months ago (2016-07-26 13:38:15 UTC) #6
sakal
https://codereview.webrtc.org/2181803003/diff/1/webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java File webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java (right): https://codereview.webrtc.org/2181803003/diff/1/webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java#newcode40 webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java:40: private final static double MIN_ASPECT_RATIO_RATIO = 0.99; On 2016/07/26 ...
4 years, 4 months ago (2016-07-26 13:54:55 UTC) #7
magjed_webrtc
lgtm
4 years, 4 months ago (2016-07-26 14:36:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2181803003/20001
4 years, 4 months ago (2016-07-27 07:01:38 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-27 08:28:48 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 08:29:00 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f22d3c48fa14502cd4c8e0ffc4c1eae4d7116b6f
Cr-Commit-Position: refs/heads/master@{#13538}

Powered by Google App Engine
This is Rietveld 408576698