Chromium Code Reviews| 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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 535 bool denoisingOn; | 535 bool denoisingOn; |
| 536 bool frameDroppingOn; | 536 bool frameDroppingOn; |
| 537 int keyFrameInterval; | 537 int keyFrameInterval; |
| 538 bool adaptiveQpMode; | 538 bool adaptiveQpMode; |
| 539 bool automaticResizeOn; | 539 bool automaticResizeOn; |
| 540 unsigned char numberOfSpatialLayers; | 540 unsigned char numberOfSpatialLayers; |
| 541 bool flexibleMode; | 541 bool flexibleMode; |
| 542 }; | 542 }; |
| 543 | 543 |
| 544 // H264 specific. | 544 // H264 specific. |
| 545 enum H264PacketizationMode { | |
| 546 kH264PacketizationModeNotSet, | |
|
hbos
2016/10/31 10:32:26
Is this ever set? This enum is used in constructor
hta-webrtc
2016/10/31 15:03:04
Good point about being explicit that it is 0. The
| |
| 547 kH264PacketizationMode0, // Only single NALU allowed | |
| 548 kH264PacketizationMode1 // Non-interleaved - STAP-A, FU-A is allowed | |
| 549 }; | |
| 550 | |
| 545 struct VideoCodecH264 { | 551 struct VideoCodecH264 { |
| 546 VideoCodecProfile profile; | 552 VideoCodecProfile profile; |
| 547 bool frameDroppingOn; | 553 bool frameDroppingOn; |
| 548 int keyFrameInterval; | 554 int keyFrameInterval; |
| 555 H264PacketizationMode packetization_mode; | |
|
magjed_webrtc
2016/10/31 13:00:50
Since the packetization mode information is includ
hta-webrtc
2016/10/31 20:54:52
Now I'm somewhat confused..... what code path can
magjed_webrtc
2016/11/01 19:23:38
To clarify, I don't think we need to add packetiza
| |
| 549 // These are NULL/0 if not externally negotiated. | 556 // These are NULL/0 if not externally negotiated. |
| 550 const uint8_t* spsData; | 557 const uint8_t* spsData; |
| 551 size_t spsLen; | 558 size_t spsLen; |
| 552 const uint8_t* ppsData; | 559 const uint8_t* ppsData; |
| 553 size_t ppsLen; | 560 size_t ppsLen; |
| 554 }; | 561 }; |
| 555 | 562 |
| 556 // Video codec types | 563 // Video codec types |
| 557 enum VideoCodecType { | 564 enum VideoCodecType { |
| 558 kVideoCodecVP8, | 565 kVideoCodecVP8, |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 840 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 847 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
| 841 | 848 |
| 842 enum NetworkState { | 849 enum NetworkState { |
| 843 kNetworkUp, | 850 kNetworkUp, |
| 844 kNetworkDown, | 851 kNetworkDown, |
| 845 }; | 852 }; |
| 846 | 853 |
| 847 } // namespace webrtc | 854 } // namespace webrtc |
| 848 | 855 |
| 849 #endif // WEBRTC_COMMON_TYPES_H_ | 856 #endif // WEBRTC_COMMON_TYPES_H_ |
| OLD | NEW |