commit | 709f73c04eaa7aee66cafb1f5e7b28069f20d325 | [log] [tgz] |
---|---|---|
author | magjed <magjed@webrtc.org> | Fri May 13 10:26:00 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri May 13 17:26:05 2016 +0000 |
tree | b21f8faeec516cf34af8626067337637d2872a09 | |
parent | c8d848b1049d8b9e8e33e023d13bec1180dd4926 [diff] |
VideoAdapter: Add cropping based on OnOutputFormatRequest() If OnOutputFormatRequest() is called, VideoAdapter will crop to the same aspect ratio as the requested format. The output from VideoAdapter.AdaptFrameResolution() now contains both how to crop the input frame, and how to scale the cropped frame to the final adapted resolution. BUG=b/28622232 Review-Url: https://codereview.webrtc.org/1966273002 Cr-Commit-Position: refs/heads/master@{#12732}
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.