commit | e6c9e88c18e56d2f3084f551911cbf40a427f7f5 | [log] [tgz] |
---|---|---|
author | sakal <sakal@webrtc.org> | Fri Jun 17 01:02:04 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Jun 17 08:02:10 2016 +0000 |
tree | 4e8c9d074faa8d6a54211f8de0aa84720c937ee1 | |
parent | 50c4821110469315fcd79e3029bfb091dba74cea [diff] |
Android: Add Size class. The Camera1 and Camera2 API use different size types. Camera1 uses android.hardware.Camera.Size while Camera2 uses android.util.Size. android.util.Size is only available from Lollipop forward so this CL adds a similar Size class in CaptureFormat. The purpose of this CL is to have a common size type that can be reused from both Camera1 and Camera2 helper functions such as CameraEnumerationAndroid.getClosestSupportedSize(). BUG=webrtc:5519 Review-Url: https://codereview.webrtc.org/2066773002 Cr-Commit-Position: refs/heads/master@{#13181}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.