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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 kResilientStream, // A stream produced by the encoder is resilient to | 454 kResilientStream, // A stream produced by the encoder is resilient to |
455 // packet losses, but packets within a frame subsequent | 455 // packet losses, but packets within a frame subsequent |
456 // to a loss can't be decoded. | 456 // to a loss can't be decoded. |
457 kResilientFrames // Same as kResilientStream but with added resilience | 457 kResilientFrames // Same as kResilientStream but with added resilience |
458 // within a frame. | 458 // within a frame. |
459 }; | 459 }; |
460 | 460 |
461 class TemporalLayersFactory; | 461 class TemporalLayersFactory; |
462 // VP8 specific | 462 // VP8 specific |
463 struct VideoCodecVP8 { | 463 struct VideoCodecVP8 { |
| 464 // TODO(nisse): Unused, delete? |
464 bool pictureLossIndicationOn; | 465 bool pictureLossIndicationOn; |
| 466 // TODO(nisse): Delete, as soon as downstream applications are updated. |
465 bool feedbackModeOn; | 467 bool feedbackModeOn; |
466 VideoCodecComplexity complexity; | 468 VideoCodecComplexity complexity; |
467 VP8ResilienceMode resilience; | 469 VP8ResilienceMode resilience; |
468 unsigned char numberOfTemporalLayers; | 470 unsigned char numberOfTemporalLayers; |
469 bool denoisingOn; | 471 bool denoisingOn; |
470 bool errorConcealmentOn; | 472 bool errorConcealmentOn; |
471 bool automaticResizeOn; | 473 bool automaticResizeOn; |
472 bool frameDroppingOn; | 474 bool frameDroppingOn; |
473 int keyFrameInterval; | 475 int keyFrameInterval; |
474 TemporalLayersFactory* tl_factory; | 476 TemporalLayersFactory* tl_factory; |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 838 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
837 | 839 |
838 enum NetworkState { | 840 enum NetworkState { |
839 kNetworkUp, | 841 kNetworkUp, |
840 kNetworkDown, | 842 kNetworkDown, |
841 }; | 843 }; |
842 | 844 |
843 } // namespace webrtc | 845 } // namespace webrtc |
844 | 846 |
845 #endif // WEBRTC_COMMON_TYPES_H_ | 847 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |