• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_
12 #define 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_OK_REQUEST_KEYFRAME 4
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_MEMORY -3
23 #define WEBRTC_VIDEO_CODEC_ERR_PARAMETER -4
24 #define WEBRTC_VIDEO_CODEC_UNINITIALIZED -7
25 #define WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE -13
26 #define WEBRTC_VIDEO_CODEC_TARGET_BITRATE_OVERSHOOT -14
27 #define WEBRTC_VIDEO_CODEC_ERR_SIMULCAST_PARAMETERS_NOT_SUPPORTED -15
28 #define WEBRTC_VIDEO_CODEC_ENCODER_FAILURE -16
29 
30 #endif  // MODULES_VIDEO_CODING_INCLUDE_VIDEO_ERROR_CODES_H_
31