Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: webrtc/common_types.h

Issue 2067103002: Avoid unnecessary HW video encoder reconfiguration (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: ReconfigureEncoderIfNecessary -> ReconfigureEncoder() Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/java/jni/androidmediaencoder_jni.cc ('k') | webrtc/config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 unsigned char maxFramerate; 698 unsigned char maxFramerate;
699 699
700 VideoCodecUnion codecSpecific; 700 VideoCodecUnion codecSpecific;
701 701
702 unsigned int qpMax; 702 unsigned int qpMax;
703 unsigned char numberOfSimulcastStreams; 703 unsigned char numberOfSimulcastStreams;
704 SimulcastStream simulcastStream[kMaxSimulcastStreams]; 704 SimulcastStream simulcastStream[kMaxSimulcastStreams];
705 SpatialLayer spatialLayers[kMaxSpatialLayers]; 705 SpatialLayer spatialLayers[kMaxSpatialLayers];
706 706
707 VideoCodecMode mode; 707 VideoCodecMode mode;
708 bool expect_encode_from_texture;
708 709
709 bool operator==(const VideoCodec& other) const = delete; 710 bool operator==(const VideoCodec& other) const = delete;
710 bool operator!=(const VideoCodec& other) const = delete; 711 bool operator!=(const VideoCodec& other) const = delete;
711 }; 712 };
712 713
713 // Bandwidth over-use detector options. These are used to drive 714 // Bandwidth over-use detector options. These are used to drive
714 // experimentation with bandwidth estimation parameters. 715 // experimentation with bandwidth estimation parameters.
715 // See modules/remote_bitrate_estimator/overuse_detector.h 716 // See modules/remote_bitrate_estimator/overuse_detector.h
716 struct OverUseDetectorOptions { 717 struct OverUseDetectorOptions {
717 OverUseDetectorOptions() 718 OverUseDetectorOptions()
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 enum class RtcpMode { kOff, kCompound, kReducedSize }; 914 enum class RtcpMode { kOff, kCompound, kReducedSize };
914 915
915 enum NetworkState { 916 enum NetworkState {
916 kNetworkUp, 917 kNetworkUp,
917 kNetworkDown, 918 kNetworkDown,
918 }; 919 };
919 920
920 } // namespace webrtc 921 } // namespace webrtc
921 922
922 #endif // WEBRTC_COMMON_TYPES_H_ 923 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « webrtc/api/java/jni/androidmediaencoder_jni.cc ('k') | webrtc/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698