commit | 895556e19c081ba9a5f0e015f0fe95745d677b55 | [log] [tgz] |
---|---|---|
author | Evan Shrubsole <eshr@google.com> | Mon Oct 05 07:15:13 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 05 08:33:46 2020 |
tree | d92cc38487d455e13b68fbfafa43412ca6e1d449 | |
parent | ae5e8ebda79ec70a52874514a6aa52d1ab867a12 [diff] |
Avoid converting frames to I420 in VideoStreamEncoder This needs to be done still for kNative frames, but all other frame types can be passed in. I have checked all VideoEncoder implementations in Chromium and confirmed they either convert the frame to their preferred pixel format, or just forward the frame to a delegate encoder. Tested: - video_loopback with NV12 generated frames for VP9, the only codec supporting NV12, as well as VP8 which only accepts I420 frames. - internal_tests tryrun Bug: webrtc:11976,webrtc:11635 Change-Id: If39a815fb0c5636fceb1040c8946c3db2fb350a1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185803 Commit-Queue: Evan Shrubsole <eshr@google.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32306}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.