commit | 0cf9a4a482b18eefa8caeb7f442ac4fabcdefdeb | [log] [tgz] |
---|---|---|
author | Bjorn Mellem <mellem@webrtc.org> | Tue Jul 18 20:19:26 2017 |
committer | Bjorn Mellem <mellem@webrtc.org> | Tue Jul 18 20:19:27 2017 |
tree | f42196099bf2a960de0626a98886058547116a7d | |
parent | f80f344215154b288f8cbd3c804ce948bfddd76e [diff] |
Add texture support to HardwareVideoEncoder. HardwareVideoEncoderFactory can now take an EglBase.Context on creation. When it does, it creates video encoders in texture mode. It uses the COLOR_FormatSurface colorFormat. It passes the EglBase.Context to the HardwareVideoEncoder. The HardwareVideoEncoder sets up an input surface for its codec and handles incoming frames by drawing them onto the input surface. BUG=webrtc:7760 R=pthatcher@webrtc.org, sakal@webrtc.org Review-Url: https://codereview.webrtc.org/2977153003 . Cr-Commit-Position: refs/heads/master@{#19083}
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.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.