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

Side by Side Diff: webrtc/modules/video_coding/include/video_coding_defines.h

Issue 2911193002: Implement timing frames. (Closed)
Patch Set: Implement Holmer@ comments Created 3 years, 6 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
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 21 matching lines...) Expand all
32 #define VCM_PARAMETER_ERROR -4 32 #define VCM_PARAMETER_ERROR -4
33 #define VCM_UNKNOWN_PAYLOAD -5 33 #define VCM_UNKNOWN_PAYLOAD -5
34 #define VCM_CODEC_ERROR -6 34 #define VCM_CODEC_ERROR -6
35 #define VCM_UNINITIALIZED -7 35 #define VCM_UNINITIALIZED -7
36 #define VCM_NO_CODEC_REGISTERED -8 36 #define VCM_NO_CODEC_REGISTERED -8
37 #define VCM_JITTER_BUFFER_ERROR -9 37 #define VCM_JITTER_BUFFER_ERROR -9
38 #define VCM_OLD_PACKET_ERROR -10 38 #define VCM_OLD_PACKET_ERROR -10
39 #define VCM_NO_FRAME_DECODED -11 39 #define VCM_NO_FRAME_DECODED -11
40 #define VCM_NOT_IMPLEMENTED -20 40 #define VCM_NOT_IMPLEMENTED -20
41 41
42 enum { kDefaultStartBitrateKbps = 300 }; 42 enum {
43 kDefaultStartBitrateKbps = 300,
44 // Timing frames settings. Timing frames are sent every
45 // |kDefaultTimingFramesDelayMs|, or if the frame is at least
46 // |kDefaultOutliserFrameSizePercent| in size of average frame.
47 kDefaultTimingFramesDelayMs = 200,
48 kDefaultOutlierFrameSizePercent = 250,
49 };
43 50
44 enum VCMVideoProtection { 51 enum VCMVideoProtection {
45 kProtectionNone, 52 kProtectionNone,
46 kProtectionNack, 53 kProtectionNack,
47 kProtectionFEC, 54 kProtectionFEC,
48 kProtectionNackFEC, 55 kProtectionNackFEC,
49 }; 56 };
50 57
51 enum VCMTemporalDecimation { 58 enum VCMTemporalDecimation {
52 kBitrateOverUseDecimation, 59 kBitrateOverUseDecimation,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 public: 164 public:
158 virtual void RequestKeyFrame() = 0; 165 virtual void RequestKeyFrame() = 0;
159 166
160 protected: 167 protected:
161 virtual ~KeyFrameRequestSender() {} 168 virtual ~KeyFrameRequestSender() {}
162 }; 169 };
163 170
164 } // namespace webrtc 171 } // namespace webrtc
165 172
166 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ 173 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/generic_encoder_unittest.cc ('k') | webrtc/modules/video_coding/packet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698