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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 int decoded_plc; // Number of calls resulted in PLC. | 409 int decoded_plc; // Number of calls resulted in PLC. |
410 int decoded_cng; // Number of calls where comfort noise generated due to DTX. | 410 int decoded_cng; // Number of calls where comfort noise generated due to DTX. |
411 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG. | 411 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG. |
412 int decoded_muted_output; // Number of calls returning a muted state output. | 412 int decoded_muted_output; // Number of calls returning a muted state output. |
413 }; | 413 }; |
414 | 414 |
415 // ================================================================== | 415 // ================================================================== |
416 // Video specific types | 416 // Video specific types |
417 // ================================================================== | 417 // ================================================================== |
418 | 418 |
419 // Raw video types | 419 // TODO(nisse): Delete, and switch to fourcc values everywhere? |
420 enum RawVideoType { | 420 // Supported video types. |
421 kVideoI420 = 0, | 421 enum class VideoType { |
422 kVideoYV12 = 1, | 422 kUnknown, |
423 kVideoYUY2 = 2, | 423 kI420, |
424 kVideoUYVY = 3, | 424 kIYUV, |
425 kVideoIYUV = 4, | 425 kRGB24, |
426 kVideoARGB = 5, | 426 kABGR, |
427 kVideoRGB24 = 6, | 427 kARGB, |
428 kVideoRGB565 = 7, | 428 kARGB4444, |
429 kVideoARGB4444 = 8, | 429 kRGB565, |
430 kVideoARGB1555 = 9, | 430 kARGB1555, |
431 kVideoMJPEG = 10, | 431 kYUY2, |
432 kVideoNV12 = 11, | 432 kYV12, |
433 kVideoNV21 = 12, | 433 kUYVY, |
434 kVideoBGRA = 13, | 434 kMJPEG, |
435 kVideoUnknown = 99 | 435 kNV21, |
| 436 kNV12, |
| 437 kBGRA, |
436 }; | 438 }; |
437 | 439 |
438 // Video codec | 440 // Video codec |
439 enum { kPayloadNameSize = 32 }; | 441 enum { kPayloadNameSize = 32 }; |
440 enum { kMaxSimulcastStreams = 4 }; | 442 enum { kMaxSimulcastStreams = 4 }; |
441 enum { kMaxSpatialLayers = 5 }; | 443 enum { kMaxSpatialLayers = 5 }; |
442 enum { kMaxTemporalStreams = 4 }; | 444 enum { kMaxTemporalStreams = 4 }; |
443 | 445 |
444 enum VideoCodecComplexity { | 446 enum VideoCodecComplexity { |
445 kComplexityNormal = 0, | 447 kComplexityNormal = 0, |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 886 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
885 | 887 |
886 enum NetworkState { | 888 enum NetworkState { |
887 kNetworkUp, | 889 kNetworkUp, |
888 kNetworkDown, | 890 kNetworkDown, |
889 }; | 891 }; |
890 | 892 |
891 } // namespace webrtc | 893 } // namespace webrtc |
892 | 894 |
893 #endif // WEBRTC_COMMON_TYPES_H_ | 895 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |