DescriptionAndroid Video Capture: use tightest fps Range available on allocate()
From the bug descr:
> N7 camera list capabilities are like (extracted):
>
> D/VideoCaptureAndroid(30916): Format 640x480 @ [15000-15000]
> D/VideoCaptureAndroid(30916): Format 640x480 @ [24000-24000]
> D/VideoCaptureAndroid(30916): Format 640x480 @ [15000-30000]
> D/VideoCaptureAndroid(30916): Format 640x480 @ [30000-30000]
>
> where the second numbers are the frame rate _ranges_. The algorithm for
> selecting FPS range in [1] would select the 3rd enumerated range when
> fed with a desired frame rate of 30, while the 4th range would be more
> appropriate.
[1] https://code.google.com/p/chromium/codesearch#chromium/src/media/base/android/java/src/org/chromium/media/VideoCapture.java&sq=package:chromium&type=cs&q=videocapture.java&l=130
TBR=qinmin@chromium.org
BUG=418911
Committed: https://crrev.com/9f73252eb27914b282df24c60549f0581cf0645d
Cr-Commit-Position: refs/heads/master@{#297414}
Patch Set 1 #
Total comments: 2
Patch Set 2 : perkj@ nit #Messages
Total messages: 12 (4 generated)
|