| 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/modules/include/module_common_types.h" | 18 #include "webrtc/modules/include/module_common_types.h" |
| 18 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
| 20 // For EncodedImage |
| 19 #include "webrtc/video_frame.h" | 21 #include "webrtc/video_frame.h" |
| 20 | 22 |
| 21 namespace webrtc { | 23 namespace webrtc { |
| 22 | 24 |
| 23 // Error codes | 25 // Error codes |
| 24 #define VCM_FRAME_NOT_READY 3 | 26 #define VCM_FRAME_NOT_READY 3 |
| 25 #define VCM_REQUEST_SLI 2 | 27 #define VCM_REQUEST_SLI 2 |
| 26 #define VCM_MISSING_CALLBACK 1 | 28 #define VCM_MISSING_CALLBACK 1 |
| 27 #define VCM_OK 0 | 29 #define VCM_OK 0 |
| 28 #define VCM_GENERAL_ERROR -1 | 30 #define VCM_GENERAL_ERROR -1 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 public: | 166 public: |
| 165 virtual void RequestKeyFrame() = 0; | 167 virtual void RequestKeyFrame() = 0; |
| 166 | 168 |
| 167 protected: | 169 protected: |
| 168 virtual ~KeyFrameRequestSender() {} | 170 virtual ~KeyFrameRequestSender() {} |
| 169 }; | 171 }; |
| 170 | 172 |
| 171 } // namespace webrtc | 173 } // namespace webrtc |
| 172 | 174 |
| 173 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 175 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
| OLD | NEW |