DescriptionAndroid VideoCaptureCamera2: Use closest supported resolution instead of requested resolution
This CL finds the closest supported format in allocate() from the requested resolution, and uses that to open the camera. This is consistent with how VideoCaptureCamera and other camera capture devices work.
BUG=541232
Committed: https://crrev.com/fff0ba0a41392542d3b6238ab928f96e1ddad7b0
Cr-Commit-Position: refs/heads/master@{#357066}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressing mcasas@ comments #Messages
Total messages: 11 (4 generated)
|