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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 size_t spsLen; | 624 size_t spsLen; |
625 const uint8_t* ppsData; | 625 const uint8_t* ppsData; |
626 size_t ppsLen; | 626 size_t ppsLen; |
627 }; | 627 }; |
628 | 628 |
629 // Video codec types | 629 // Video codec types |
630 enum VideoCodecType { | 630 enum VideoCodecType { |
631 kVideoCodecVP8, | 631 kVideoCodecVP8, |
632 kVideoCodecVP9, | 632 kVideoCodecVP9, |
633 kVideoCodecH264, | 633 kVideoCodecH264, |
| 634 // TODO(nisse): kVideoCodecI420 is unused in webrtc, but used in |
| 635 // Chrome tests. Delete after Chrome is updated. |
634 kVideoCodecI420, | 636 kVideoCodecI420, |
635 kVideoCodecRED, | 637 kVideoCodecRED, |
636 kVideoCodecULPFEC, | 638 kVideoCodecULPFEC, |
637 kVideoCodecGeneric, | 639 kVideoCodecGeneric, |
638 kVideoCodecUnknown | 640 kVideoCodecUnknown |
639 }; | 641 }; |
640 | 642 |
641 union VideoCodecUnion { | 643 union VideoCodecUnion { |
642 VideoCodecVP8 VP8; | 644 VideoCodecVP8 VP8; |
643 VideoCodecVP9 VP9; | 645 VideoCodecVP9 VP9; |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 uint32_t ssrc) = 0; | 878 uint32_t ssrc) = 0; |
877 }; | 879 }; |
878 | 880 |
879 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size | 881 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size |
880 // RTCP mode is described by RFC 5506. | 882 // RTCP mode is described by RFC 5506. |
881 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 883 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
882 | 884 |
883 } // namespace webrtc | 885 } // namespace webrtc |
884 | 886 |
885 #endif // WEBRTC_COMMON_TYPES_H_ | 887 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |