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 |
11 #ifndef WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/api/video/video_frame.h" | 17 #include "webrtc/api/video/video_frame.h" |
| 18 // For EncodedImage |
| 19 #include "webrtc/common_video/include/video_frame.h" |
18 #include "webrtc/modules/include/module_common_types.h" | 20 #include "webrtc/modules/include/module_common_types.h" |
19 #include "webrtc/typedefs.h" | 21 #include "webrtc/typedefs.h" |
20 // For EncodedImage | |
21 #include "webrtc/video_frame.h" | |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 | 24 |
25 // Error codes | 25 // Error codes |
26 #define VCM_FRAME_NOT_READY 3 | 26 #define VCM_FRAME_NOT_READY 3 |
27 #define VCM_MISSING_CALLBACK 1 | 27 #define VCM_MISSING_CALLBACK 1 |
28 #define VCM_OK 0 | 28 #define VCM_OK 0 |
29 #define VCM_GENERAL_ERROR -1 | 29 #define VCM_GENERAL_ERROR -1 |
30 #define VCM_LEVEL_EXCEEDED -2 | 30 #define VCM_LEVEL_EXCEEDED -2 |
31 #define VCM_MEMORY -3 | 31 #define VCM_MEMORY -3 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 public: | 157 public: |
158 virtual void RequestKeyFrame() = 0; | 158 virtual void RequestKeyFrame() = 0; |
159 | 159 |
160 protected: | 160 protected: |
161 virtual ~KeyFrameRequestSender() {} | 161 virtual ~KeyFrameRequestSender() {} |
162 }; | 162 }; |
163 | 163 |
164 } // namespace webrtc | 164 } // namespace webrtc |
165 | 165 |
166 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 166 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
OLD | NEW |