videoeditorengine/h263decoder/inc/errcodes.h
branchRCL_3
changeset 3 e0b5df5c0969
parent 0 951a5db380a0
child 5 4c409de21d23
equal deleted inserted replaced
0:951a5db380a0 3:e0b5df5c0969
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 * Error code definitions.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef _ERRCODES_H_
       
    22 #define _ERRCODES_H_
       
    23 
       
    24 /*
       
    25  * Defines
       
    26  */
       
    27 
       
    28 /*
       
    29  * Common errors for VDC and FCC
       
    30  */
       
    31 
       
    32 #define ERR_COM_NULL_POINTER 100
       
    33 
       
    34 
       
    35 /* 
       
    36  * Bit buffer module errors 
       
    37  */
       
    38 
       
    39 #define ERR_BIB_STRUCT_ALLOC 1000
       
    40 #define ERR_BIB_BUFFER_ALLOC 1001
       
    41 #define ERR_BIB_FILE_READ 1002
       
    42 #define ERR_BIB_NOT_ENOUGH_DATA 1003
       
    43 #define ERR_BIB_ALREADY_OPENED 1004
       
    44 #define ERR_BIB_FILE_OPEN 1005
       
    45 #define ERR_BIB_ALREADY_CLOSED 1006
       
    46 #define ERR_BIB_FILE_CLOSE 1007
       
    47 #define ERR_BIB_NUM_BITS 1008
       
    48 #define ERR_BIB_FILE_NOT_OPEN 1009
       
    49 #define ERR_BIB_ILLEGAL_SIZE 1010
       
    50 #define ERR_BIB_CANNOT_REWIND 1011
       
    51 #define ERR_BIB_FEC_RELOCK 1050
       
    52 
       
    53 
       
    54 /* 
       
    55  * Variable length code module errors 
       
    56  */
       
    57 
       
    58 #define ERR_VLC_MCBPC_INTRA 8500
       
    59 #define ERR_VLC_CBPY 8501
       
    60 #define ERR_VLC_MCBPC_INTER 8502
       
    61 #define ERR_VLC_MVD 8503
       
    62 
       
    63 
       
    64 /* 
       
    65  * Motion vector count module errors 
       
    66  */
       
    67 
       
    68 #define ERR_MVC_ALLOC1 1200
       
    69 #define ERR_MVC_ALLOC2 1201
       
    70 #define ERR_MVC_NO_PREV_MB 1202
       
    71 #define ERR_MVC_NEIGHBOUR_NOT_VALID 1203
       
    72 #define ERR_MVC_PREV_NOT_VALID 1204
       
    73 #define ERR_MVC_PREV_NOT_CODED 1205
       
    74 #define ERR_MVC_PREV_INTRA 1206
       
    75 #define ERR_MVC_CURR_NOT_VALID 1207
       
    76 #define ERR_MVC_CURR_NOT_CODED 1208
       
    77 #define ERR_MVC_CURR_INTRA 1209
       
    78 #define ERR_MVC_MVDX_ILLEGAL 1250
       
    79 #define ERR_MVC_MODE_ILLEGAL 1251
       
    80 #define ERR_MVC_X_ILLEGAL 1252
       
    81 #define ERR_MVC_Y_ILLEGAL 1253
       
    82 #define ERR_MVC_MAX_X_ILLEGAL 1254
       
    83 #define ERR_MVC_TIME_ILLEGAL 1255
       
    84 #define ERR_MVC_MVX_ILLEGAL 1256
       
    85 #define ERR_MVC_MVY_ILLEGAL 1257
       
    86 #define ERR_MVC_MVDY_ILLEGAL 1258
       
    87 #define ERR_MVC_MVPTR 1260
       
    88 
       
    89 
       
    90 
       
    91 /* 
       
    92  * Block module errors 
       
    93  */
       
    94 
       
    95 #define ERR_BLC_TCOEF 8504
       
    96 #define ERR_BLC_LEVEL 5001
       
    97 #define ERR_BLC_TOO_MANY_COEFS 5002
       
    98 #define ERR_BLC_MV_OUTSIDE_PICT 5003
       
    99 
       
   100 
       
   101 /* 
       
   102  * Core module errors 
       
   103  */
       
   104 
       
   105 /* General errors */
       
   106 #define ERR_VDC_MEMORY_ALLOC 2080
       
   107 #define ERR_VDC_NO_INTRA 2081
       
   108 #define ERR_VDC_INITIALIZE 2082
       
   109 #define ERR_VDC_CORRUPTED_INTRA 2083
       
   110 #define ERR_VDC_UNEXPECTED_FATAL_ERROR 2084
       
   111 
       
   112 /* Picture Layer errors */
       
   113 #define ERR_VDC_PTYPE_BIT1 2048
       
   114 #define ERR_VDC_PTYPE_BIT2 2049
       
   115 #define ERR_VDC_PTYPE_BIT9_AND_BIT13_MISMATCH 2050
       
   116 #define ERR_VDC_SOURCE_FORMAT 2051
       
   117 #define ERR_VDC_NO_SIZE 2052
       
   118 #define ERR_VDC_ILLEGAL_PQUANT 2053
       
   119 #define ERR_VDC_ILLEGAL_TRB 2054
       
   120 #define ERR_VDC_ILLEGAL_PSPARE 2055
       
   121 #define ERR_VDC_NO_PSC 2056
       
   122 #define ERR_VDC_FORMAT_CHANGE 2057
       
   123 
       
   124 /* Group of Blocks Layer errors */
       
   125 #define ERR_VDC_ILLEGAL_GN 2112
       
   126 #define ERR_VDC_ILLEGAL_GFID 2113
       
   127 #define ERR_VDC_ILLEGAL_GQUANT 2114
       
   128 
       
   129 
       
   130 /* 
       
   131  * Format Conversion Core errors 
       
   132  */
       
   133 
       
   134 #define ERR_CON_UNKNOWN_MODE 3000
       
   135 #define ERR_CON_CLIP_ALLOC 3001
       
   136 #define ERR_CON_Y_TOO_LARGE 3002
       
   137 #define ERR_CON_DITH_INDEX_ILLEGAL 3003
       
   138 #define ERR_CON_GREY256_INDEX_ILLEGAL 3004
       
   139 #define ERR_CON_UNKNOWN_BIT_DEPTH 3005
       
   140 #define ERR_CON_NULL_PALETTE 3006
       
   141 #define ERR_CON_PALETTE_EXISTS 3007
       
   142 #define ERR_CON_ALLOC 3008
       
   143 #define ERR_CON_NO_CUSTOM_PALETTE 3009
       
   144 #define ERR_CON_WIN32_ERROR 3010
       
   145 
       
   146 #define ERR_CON_OCT_ALLOC 3100
       
   147 #define ERR_CON_OCT_NULL_PTR 3101
       
   148 #define ERR_CON_OCT_INDEX_EXISTS 3102
       
   149 
       
   150 #endif
       
   151 
       
   152 
       
   153 // End of File