OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_CODECS_INTERFACE_VIDEO_ERROR_CODES_H | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_ERROR_CODES_H | 12 #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_ |
| 13 |
| 14 #pragma message("WARNING: video_coding/codecs/interface is DEPRECATED; use video
_coding/include") |
13 | 15 |
14 // NOTE: in sync with video_coding_module_defines.h | 16 // NOTE: in sync with video_coding_module_defines.h |
15 | 17 |
16 // Define return values | 18 // Define return values |
17 | 19 |
18 #define WEBRTC_VIDEO_CODEC_REQUEST_SLI 2 | 20 #define WEBRTC_VIDEO_CODEC_REQUEST_SLI 2 |
19 #define WEBRTC_VIDEO_CODEC_NO_OUTPUT 1 | 21 #define WEBRTC_VIDEO_CODEC_NO_OUTPUT 1 |
20 #define WEBRTC_VIDEO_CODEC_OK 0 | 22 #define WEBRTC_VIDEO_CODEC_OK 0 |
21 #define WEBRTC_VIDEO_CODEC_ERROR -1 | 23 #define WEBRTC_VIDEO_CODEC_ERROR -1 |
22 #define WEBRTC_VIDEO_CODEC_LEVEL_EXCEEDED -2 | 24 #define WEBRTC_VIDEO_CODEC_LEVEL_EXCEEDED -2 |
23 #define WEBRTC_VIDEO_CODEC_MEMORY -3 | 25 #define WEBRTC_VIDEO_CODEC_MEMORY -3 |
24 #define WEBRTC_VIDEO_CODEC_ERR_PARAMETER -4 | 26 #define WEBRTC_VIDEO_CODEC_ERR_PARAMETER -4 |
25 #define WEBRTC_VIDEO_CODEC_ERR_SIZE -5 | 27 #define WEBRTC_VIDEO_CODEC_ERR_SIZE -5 |
26 #define WEBRTC_VIDEO_CODEC_TIMEOUT -6 | 28 #define WEBRTC_VIDEO_CODEC_TIMEOUT -6 |
27 #define WEBRTC_VIDEO_CODEC_UNINITIALIZED -7 | 29 #define WEBRTC_VIDEO_CODEC_UNINITIALIZED -7 |
28 #define WEBRTC_VIDEO_CODEC_ERR_REQUEST_SLI -12 | 30 #define WEBRTC_VIDEO_CODEC_ERR_REQUEST_SLI -12 |
29 #define WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE -13 | 31 #define WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE -13 |
30 #define WEBRTC_VIDEO_CODEC_TARGET_BITRATE_OVERSHOOT -14 | 32 #define WEBRTC_VIDEO_CODEC_TARGET_BITRATE_OVERSHOOT -14 |
31 | 33 |
32 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_ERROR_CODES_H | 34 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_ |
OLD | NEW |