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

Side by Side Diff: webrtc/modules/video_coding/main/interface/video_coding_defines.h

Issue 1215603003: Remove VCM_*_PAYLOAD_TYPE constants. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | webrtc/modules/video_coding/main/source/codec_database.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 18 matching lines...) Expand all
29 #define VCM_UNKNOWN_PAYLOAD -5 29 #define VCM_UNKNOWN_PAYLOAD -5
30 #define VCM_CODEC_ERROR -6 30 #define VCM_CODEC_ERROR -6
31 #define VCM_UNINITIALIZED -7 31 #define VCM_UNINITIALIZED -7
32 #define VCM_NO_CODEC_REGISTERED -8 32 #define VCM_NO_CODEC_REGISTERED -8
33 #define VCM_JITTER_BUFFER_ERROR -9 33 #define VCM_JITTER_BUFFER_ERROR -9
34 #define VCM_OLD_PACKET_ERROR -10 34 #define VCM_OLD_PACKET_ERROR -10
35 #define VCM_NO_FRAME_DECODED -11 35 #define VCM_NO_FRAME_DECODED -11
36 #define VCM_ERROR_REQUEST_SLI -12 36 #define VCM_ERROR_REQUEST_SLI -12
37 #define VCM_NOT_IMPLEMENTED -20 37 #define VCM_NOT_IMPLEMENTED -20
38 38
39 #define VCM_RED_PAYLOAD_TYPE 96
40 #define VCM_ULPFEC_PAYLOAD_TYPE 97
41 #define VCM_VP8_PAYLOAD_TYPE 100
42 #define VCM_VP9_PAYLOAD_TYPE 101
43 #define VCM_I420_PAYLOAD_TYPE 124
44 #define VCM_H264_PAYLOAD_TYPE 127
45
46 enum { kDefaultStartBitrateKbps = 300 }; 39 enum { kDefaultStartBitrateKbps = 300 };
47 40
48 enum VCMVideoProtection { 41 enum VCMVideoProtection {
49 kProtectionNone, 42 kProtectionNone,
50 kProtectionNack, // Both send-side and receive-side 43 kProtectionNack, // Both send-side and receive-side
51 kProtectionNackSender, // Send-side only 44 kProtectionNackSender, // Send-side only
52 kProtectionNackReceiver, // Receive-side only 45 kProtectionNackReceiver, // Receive-side only
53 kProtectionFEC, 46 kProtectionFEC,
54 kProtectionNackFEC, 47 kProtectionNackFEC,
55 kProtectionKeyOnLoss, 48 kProtectionKeyOnLoss,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 virtual void RenderBufferSizeMs(int buffer_size_ms) = 0; 194 virtual void RenderBufferSizeMs(int buffer_size_ms) = 0;
202 195
203 protected: 196 protected:
204 virtual ~VCMRenderBufferSizeCallback() { 197 virtual ~VCMRenderBufferSizeCallback() {
205 } 198 }
206 }; 199 };
207 200
208 } // namespace webrtc 201 } // namespace webrtc
209 202
210 #endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_DEFINES_H_ 203 #endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_DEFINES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/main/source/codec_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698