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_CODECS_INTERFACE_VIDEO_ERROR_CODES_H |
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_ERROR_CODES_H | 12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_ERROR_CODES_H |
13 | 13 |
14 // NOTE: in sync with video_coding_module_defines.h | 14 // NOTE: in sync with video_coding_module_defines.h |
15 | 15 |
16 // Define return values | 16 // Define return values |
17 | 17 |
18 #define WEBRTC_VIDEO_CODEC_REQUEST_SLI 2 | 18 #define WEBRTC_VIDEO_CODEC_REQUEST_SLI 2 |
19 #define WEBRTC_VIDEO_CODEC_NO_OUTPUT 1 | 19 #define WEBRTC_VIDEO_CODEC_NO_OUTPUT 1 |
20 #define WEBRTC_VIDEO_CODEC_OK 0 | 20 #define WEBRTC_VIDEO_CODEC_OK 0 |
21 #define WEBRTC_VIDEO_CODEC_ERROR -1 | 21 #define WEBRTC_VIDEO_CODEC_ERROR -1 |
22 #define WEBRTC_VIDEO_CODEC_LEVEL_EXCEEDED -2 | 22 #define WEBRTC_VIDEO_CODEC_LEVEL_EXCEEDED -2 |
23 #define WEBRTC_VIDEO_CODEC_MEMORY -3 | 23 #define WEBRTC_VIDEO_CODEC_MEMORY -3 |
24 #define WEBRTC_VIDEO_CODEC_ERR_PARAMETER -4 | 24 #define WEBRTC_VIDEO_CODEC_ERR_PARAMETER -4 |
25 #define WEBRTC_VIDEO_CODEC_ERR_SIZE -5 | 25 #define WEBRTC_VIDEO_CODEC_ERR_SIZE -5 |
26 #define WEBRTC_VIDEO_CODEC_TIMEOUT -6 | 26 #define WEBRTC_VIDEO_CODEC_TIMEOUT -6 |
27 #define WEBRTC_VIDEO_CODEC_UNINITIALIZED -7 | 27 #define WEBRTC_VIDEO_CODEC_UNINITIALIZED -7 |
28 #define WEBRTC_VIDEO_CODEC_ERR_REQUEST_SLI -12 | 28 #define WEBRTC_VIDEO_CODEC_ERR_REQUEST_SLI -12 |
29 #define WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE -13 | 29 #define WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE -13 |
| 30 #define WEBRTC_VIDEO_CODEC_TARGET_BITRATE_OVERSHOOT -14 |
30 | 31 |
31 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_ERROR_CODES_H | 32 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_ERROR_CODES_H |
OLD | NEW |