OLD | NEW |
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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 kResilientStream, // A stream produced by the encoder is resilient to | 516 kResilientStream, // A stream produced by the encoder is resilient to |
517 // packet losses, but packets within a frame subsequent | 517 // packet losses, but packets within a frame subsequent |
518 // to a loss can't be decoded. | 518 // to a loss can't be decoded. |
519 kResilientFrames // Same as kResilientStream but with added resilience | 519 kResilientFrames // Same as kResilientStream but with added resilience |
520 // within a frame. | 520 // within a frame. |
521 }; | 521 }; |
522 | 522 |
523 class TemporalLayersFactory; | 523 class TemporalLayersFactory; |
524 // VP8 specific | 524 // VP8 specific |
525 struct VideoCodecVP8 { | 525 struct VideoCodecVP8 { |
| 526 // TODO(nisse): Unused, delete? |
526 bool pictureLossIndicationOn; | 527 bool pictureLossIndicationOn; |
| 528 // TODO(nisse): Delete, as soon as downstream applications are updated. |
527 bool feedbackModeOn; | 529 bool feedbackModeOn; |
528 VideoCodecComplexity complexity; | 530 VideoCodecComplexity complexity; |
529 VP8ResilienceMode resilience; | 531 VP8ResilienceMode resilience; |
530 unsigned char numberOfTemporalLayers; | 532 unsigned char numberOfTemporalLayers; |
531 bool denoisingOn; | 533 bool denoisingOn; |
532 bool errorConcealmentOn; | 534 bool errorConcealmentOn; |
533 bool automaticResizeOn; | 535 bool automaticResizeOn; |
534 bool frameDroppingOn; | 536 bool frameDroppingOn; |
535 int keyFrameInterval; | 537 int keyFrameInterval; |
536 TemporalLayersFactory* tl_factory; | 538 TemporalLayersFactory* tl_factory; |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 900 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
899 | 901 |
900 enum NetworkState { | 902 enum NetworkState { |
901 kNetworkUp, | 903 kNetworkUp, |
902 kNetworkDown, | 904 kNetworkDown, |
903 }; | 905 }; |
904 | 906 |
905 } // namespace webrtc | 907 } // namespace webrtc |
906 | 908 |
907 #endif // WEBRTC_COMMON_TYPES_H_ | 909 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |