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_CODECS_INTERFACE_VIDEO_ERROR_CODES_H 12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_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 30 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_ERROR_CODES_H 31