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_INTERFACE_VIDEO_CODING_DEFINES_H_ | 11 #ifndef WEBRTC_MODULES_INTERFACE_VIDEO_CODING_DEFINES_H_ |
12 #define WEBRTC_MODULES_INTERFACE_VIDEO_CODING_DEFINES_H_ | 12 #define WEBRTC_MODULES_INTERFACE_VIDEO_CODING_DEFINES_H_ |
13 | 13 |
14 #include "webrtc/modules/interface/module_common_types.h" | 14 #include "webrtc/modules/include/module_common_types.h" |
15 #include "webrtc/typedefs.h" | 15 #include "webrtc/typedefs.h" |
16 #include "webrtc/video_frame.h" | 16 #include "webrtc/video_frame.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 | 19 |
20 // Error codes | 20 // Error codes |
21 #define VCM_FRAME_NOT_READY 3 | 21 #define VCM_FRAME_NOT_READY 3 |
22 #define VCM_REQUEST_SLI 2 | 22 #define VCM_REQUEST_SLI 2 |
23 #define VCM_MISSING_CALLBACK 1 | 23 #define VCM_MISSING_CALLBACK 1 |
24 #define VCM_OK 0 | 24 #define VCM_OK 0 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 virtual void RenderBufferSizeMs(int buffer_size_ms) = 0; | 192 virtual void RenderBufferSizeMs(int buffer_size_ms) = 0; |
193 | 193 |
194 protected: | 194 protected: |
195 virtual ~VCMRenderBufferSizeCallback() { | 195 virtual ~VCMRenderBufferSizeCallback() { |
196 } | 196 } |
197 }; | 197 }; |
198 | 198 |
199 } // namespace webrtc | 199 } // namespace webrtc |
200 | 200 |
201 #endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_DEFINES_H_ | 201 #endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_DEFINES_H_ |
OLD | NEW |