| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 automaticResizeOn == other.automaticResizeOn && | 611 automaticResizeOn == other.automaticResizeOn && |
| 612 frameDroppingOn == other.frameDroppingOn && | 612 frameDroppingOn == other.frameDroppingOn && |
| 613 keyFrameInterval == other.keyFrameInterval; | 613 keyFrameInterval == other.keyFrameInterval; |
| 614 } | 614 } |
| 615 | 615 |
| 616 bool operator!=(const VideoCodecVP8& other) const { | 616 bool operator!=(const VideoCodecVP8& other) const { |
| 617 return !(*this == other); | 617 return !(*this == other); |
| 618 } | 618 } |
| 619 }; | 619 }; |
| 620 | 620 |
| 621 // VP9 specific | 621 // VP9 specific. |
| 622 struct VideoCodecVP9 { | 622 struct VideoCodecVP9 { |
| 623 VideoCodecComplexity complexity; | 623 VideoCodecComplexity complexity; |
| 624 int resilience; | 624 int resilience; |
| 625 unsigned char numberOfTemporalLayers; | 625 unsigned char numberOfTemporalLayers; |
| 626 bool denoisingOn; | 626 bool denoisingOn; |
| 627 bool frameDroppingOn; | 627 bool frameDroppingOn; |
| 628 int keyFrameInterval; | 628 int keyFrameInterval; |
| 629 bool adaptiveQpMode; | 629 bool adaptiveQpMode; |
| 630 unsigned char numberOfSpatialLayers; |
| 631 bool flexibleMode; |
| 630 }; | 632 }; |
| 631 | 633 |
| 632 // H264 specific. | 634 // H264 specific. |
| 633 struct VideoCodecH264 { | 635 struct VideoCodecH264 { |
| 634 VideoCodecProfile profile; | 636 VideoCodecProfile profile; |
| 635 bool frameDroppingOn; | 637 bool frameDroppingOn; |
| 636 int keyFrameInterval; | 638 int keyFrameInterval; |
| 637 // These are NULL/0 if not externally negotiated. | 639 // These are NULL/0 if not externally negotiated. |
| 638 const uint8_t* spsData; | 640 const uint8_t* spsData; |
| 639 size_t spsLen; | 641 size_t spsLen; |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 class StreamDataCountersCallback { | 899 class StreamDataCountersCallback { |
| 898 public: | 900 public: |
| 899 virtual ~StreamDataCountersCallback() {} | 901 virtual ~StreamDataCountersCallback() {} |
| 900 | 902 |
| 901 virtual void DataCountersUpdated(const StreamDataCounters& counters, | 903 virtual void DataCountersUpdated(const StreamDataCounters& counters, |
| 902 uint32_t ssrc) = 0; | 904 uint32_t ssrc) = 0; |
| 903 }; | 905 }; |
| 904 } // namespace webrtc | 906 } // namespace webrtc |
| 905 | 907 |
| 906 #endif // WEBRTC_COMMON_TYPES_H_ | 908 #endif // WEBRTC_COMMON_TYPES_H_ |
| OLD | NEW |