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

Issue 2013413002: Android: Change camera fps range selection (Closed)

Created:
4 years, 6 months ago by magjed_webrtc
Modified:
4 years, 6 months ago
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

Android: Change camera fps range selection This CL changes the logic in CameraEnumerationAndroid.getClosestSupportedFramerateRange() to prefer fps ranges with a low lower bound so the camera can adjust for brightness conditions. To test the functionality of the fps range selection, JUnit tests are added. This required a new target in api_tests.gyp. JUnit tests are preferable over instrumentation tests (libjingle_peerconnection_android_unittest) because they are faster and simpler. R=kjellander@webrtc.org, sakal@webrtc.org Committed: https://crrev.com/b4ddb5c3d3706b1c02437f6a538576f3552ab908 Cr-Commit-Position: refs/heads/master@{#12964}

Patch Set 1 : #

Patch Set 2 : Remove overspecified test #

Total comments: 10

Patch Set 3 : Move from api to higher level #

Patch Set 4 : Add OWNERS file to new directory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -2 lines) Patch
A + webrtc/androidjunit/OWNERS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A webrtc/androidjunit/src/org/webrtc/CameraEnumerationTest.java View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
M webrtc/api/java/android/org/webrtc/CameraEnumerationAndroid.java View 1 2 1 chunk +24 lines, -2 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
magjed_webrtc
Please take a look.
4 years, 6 months ago (2016-05-27 12:42:56 UTC) #5
sakal
lgtm https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/java/android/org/webrtc/CameraEnumerationAndroid.java File webrtc/api/java/android/org/webrtc/CameraEnumerationAndroid.java (right): https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/java/android/org/webrtc/CameraEnumerationAndroid.java#newcode211 webrtc/api/java/android/org/webrtc/CameraEnumerationAndroid.java:211: MIN_FPS_THRESHOLD, MIN_FPS_LOW_VALUE_WEIGHT, MIN_FPS_HIGH_VALUE_WEIGHT) nit: 11 space indentation?
4 years, 6 months ago (2016-05-27 13:10:47 UTC) #6
kjellander_webrtc
https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/api_tests.gyp File webrtc/api/api_tests.gyp (right): https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/api_tests.gyp#newcode156 webrtc/api/api_tests.gyp:156: 'target_name': 'android_junit_test', Please name this android_junit_tests to conform with ...
4 years, 6 months ago (2016-05-30 08:31:53 UTC) #7
magjed_webrtc
https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/api_tests.gyp File webrtc/api/api_tests.gyp (right): https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/api_tests.gyp#newcode156 webrtc/api/api_tests.gyp:156: 'target_name': 'android_junit_test', On 2016/05/30 08:31:53, kjellander_webrtc wrote: > Please ...
4 years, 6 months ago (2016-05-30 12:47:07 UTC) #8
kjellander_webrtc
lgtm https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/api_tests.gyp File webrtc/api/api_tests.gyp (right): https://codereview.webrtc.org/2013413002/diff/60001/webrtc/api/api_tests.gyp#newcode156 webrtc/api/api_tests.gyp:156: 'target_name': 'android_junit_test', On 2016/05/30 12:47:07, magjed_webrtc wrote: > ...
4 years, 6 months ago (2016-05-30 12:57:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2013413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2013413002/80001
4 years, 6 months ago (2016-05-30 14:41:30 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5951)
4 years, 6 months ago (2016-05-30 14:46:22 UTC) #14
magjed_webrtc
I'm adding me and sakal@ as owners of the new webrtc/androidjunit directory.
4 years, 6 months ago (2016-05-31 08:18:22 UTC) #15
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/b4ddb5c3d3706b1c02437f6a538576f3552ab908 Cr-Commit-Position: refs/heads/master@{#12964}
4 years, 6 months ago (2016-05-31 08:19:08 UTC) #18
magjed_webrtc
Committed patchset #4 (id:100001) manually as b4ddb5c3d3706b1c02437f6a538576f3552ab908 (presubmit successful).
4 years, 6 months ago (2016-05-31 08:19:09 UTC) #19
magjed_webrtc
A revert of this CL (patchset #4 id:100001) has been created in https://codereview.webrtc.org/2021233002/ by magjed@webrtc.org. ...
4 years, 6 months ago (2016-05-31 08:44:17 UTC) #20
kjellander_webrtc
4 years, 6 months ago (2016-06-06 19:49:31 UTC) #21
Message was sent while issue was closed.
I didn't pay attention to that this CL added a new directory directly in webrtc/
Can we please move it into webrtc/api instead?
I also would prefer renaming it to just "junit" to align better with Chromium's
hierarchy. See https://cs.chromium.org/chromium/src/base/android for an example.

Powered by Google App Engine
This is Rietveld 408576698