Chromium Code Reviews

Side by Side Diff: webrtc/common_types.h

Issue 2919803002: Make error resilience configurable through VideoCodecVP9 resilience setting. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codec_database.cc » ('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 462 matching lines...)
473 bool errorConcealmentOn; 473 bool errorConcealmentOn;
474 bool automaticResizeOn; 474 bool automaticResizeOn;
475 bool frameDroppingOn; 475 bool frameDroppingOn;
476 int keyFrameInterval; 476 int keyFrameInterval;
477 TemporalLayersFactory* tl_factory; 477 TemporalLayersFactory* tl_factory;
478 }; 478 };
479 479
480 // VP9 specific. 480 // VP9 specific.
481 struct VideoCodecVP9 { 481 struct VideoCodecVP9 {
482 VideoCodecComplexity complexity; 482 VideoCodecComplexity complexity;
483 int resilience; 483 bool resilienceOn;
484 unsigned char numberOfTemporalLayers; 484 unsigned char numberOfTemporalLayers;
485 bool denoisingOn; 485 bool denoisingOn;
486 bool frameDroppingOn; 486 bool frameDroppingOn;
487 int keyFrameInterval; 487 int keyFrameInterval;
488 bool adaptiveQpMode; 488 bool adaptiveQpMode;
489 bool automaticResizeOn; 489 bool automaticResizeOn;
490 unsigned char numberOfSpatialLayers; 490 unsigned char numberOfSpatialLayers;
491 bool flexibleMode; 491 bool flexibleMode;
492 }; 492 };
493 493
(...skipping 392 matching lines...)
886 enum class RtcpMode { kOff, kCompound, kReducedSize }; 886 enum class RtcpMode { kOff, kCompound, kReducedSize };
887 887
888 enum NetworkState { 888 enum NetworkState {
889 kNetworkUp, 889 kNetworkUp,
890 kNetworkDown, 890 kNetworkDown,
891 }; 891 };
892 892
893 } // namespace webrtc 893 } // namespace webrtc
894 894
895 #endif // WEBRTC_COMMON_TYPES_H_ 895 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codec_database.cc » ('j') | no next file with comments »

Powered by Google App Engine