Henrik Kjellander | fe7633e | 2015-11-18 21:00:21 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
| 11 | #ifndef WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_ |
| 12 | #define WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_ |
| 13 | |
| 14 | // NOTE: in sync with video_coding_module_defines.h |
| 15 | |
| 16 | // Define return values |
| 17 | |
| 18 | #define WEBRTC_VIDEO_CODEC_REQUEST_SLI 2 |
| 19 | #define WEBRTC_VIDEO_CODEC_NO_OUTPUT 1 |
| 20 | #define WEBRTC_VIDEO_CODEC_OK 0 |
| 21 | #define WEBRTC_VIDEO_CODEC_ERROR -1 |
| 22 | #define WEBRTC_VIDEO_CODEC_LEVEL_EXCEEDED -2 |
| 23 | #define WEBRTC_VIDEO_CODEC_MEMORY -3 |
| 24 | #define WEBRTC_VIDEO_CODEC_ERR_PARAMETER -4 |
| 25 | #define WEBRTC_VIDEO_CODEC_ERR_SIZE -5 |
| 26 | #define WEBRTC_VIDEO_CODEC_TIMEOUT -6 |
| 27 | #define WEBRTC_VIDEO_CODEC_UNINITIALIZED -7 |
| 28 | #define WEBRTC_VIDEO_CODEC_ERR_REQUEST_SLI -12 |
| 29 | #define WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE -13 |
| 30 | #define WEBRTC_VIDEO_CODEC_TARGET_BITRATE_OVERSHOOT -14 |
| 31 | |
philipel | f98b3d1 | 2015-12-21 12:12:39 | [diff] [blame] | 32 | #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_ |