Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: common_types.h

Issue 2951033003: [EXPERIMENTAL] Generic stereo codec with index header sending single frames
Patch Set: Rebase and add external codec support. Created 3 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « call/video_send_stream.h ('k') | common_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // Video codec types 545 // Video codec types
546 enum VideoCodecType { 546 enum VideoCodecType {
547 kVideoCodecVP8, 547 kVideoCodecVP8,
548 kVideoCodecVP9, 548 kVideoCodecVP9,
549 kVideoCodecH264, 549 kVideoCodecH264,
550 kVideoCodecI420, 550 kVideoCodecI420,
551 kVideoCodecRED, 551 kVideoCodecRED,
552 kVideoCodecULPFEC, 552 kVideoCodecULPFEC,
553 kVideoCodecFlexfec, 553 kVideoCodecFlexfec,
554 kVideoCodecGeneric, 554 kVideoCodecGeneric,
555 kVideoCodecStereo,
555 kVideoCodecUnknown 556 kVideoCodecUnknown
556 }; 557 };
557 558
558 // Translates from name of codec to codec type and vice versa. 559 // Translates from name of codec to codec type and vice versa.
559 const char* CodecTypeToPayloadString(VideoCodecType type); 560 const char* CodecTypeToPayloadString(VideoCodecType type);
560 VideoCodecType PayloadStringToCodecType(const std::string& name); 561 VideoCodecType PayloadStringToCodecType(const std::string& name);
561 562
562 union VideoCodecUnion { 563 union VideoCodecUnion {
563 VideoCodecVP8 VP8; 564 VideoCodecVP8 VP8;
564 VideoCodecVP9 VP9; 565 VideoCodecVP9 VP9;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 bool operator==(const RtpKeepAliveConfig& o) const { 971 bool operator==(const RtpKeepAliveConfig& o) const {
971 return timeout_interval_ms == o.timeout_interval_ms && 972 return timeout_interval_ms == o.timeout_interval_ms &&
972 payload_type == o.payload_type; 973 payload_type == o.payload_type;
973 } 974 }
974 bool operator!=(const RtpKeepAliveConfig& o) const { return !(*this == o); } 975 bool operator!=(const RtpKeepAliveConfig& o) const { return !(*this == o); }
975 }; 976 };
976 977
977 } // namespace webrtc 978 } // namespace webrtc
978 979
979 #endif // COMMON_TYPES_H_ 980 #endif // COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « call/video_send_stream.h ('k') | common_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698