Home | History | Annotate | Download | only in common
      1 /******************************************************************************
      2 *
      3 * Copyright (C) 2012 Ittiam Systems Pvt Ltd, Bangalore
      4 *
      5 * Licensed under the Apache License, Version 2.0 (the "License");
      6 * you may not use this file except in compliance with the License.
      7 * You may obtain a copy of the License at:
      8 *
      9 * http://www.apache.org/licenses/LICENSE-2.0
     10 *
     11 * Unless required by applicable law or agreed to in writing, software
     12 * distributed under the License is distributed on an "AS IS" BASIS,
     13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 * See the License for the specific language governing permissions and
     15 * limitations under the License.
     16 *
     17 ******************************************************************************/
     18 /**
     19 *******************************************************************************
     20 * @file
     21 *  ihevc_error.h
     22 *
     23 * @brief
     24 *  Definitions related to error handling for common modules
     25 *
     26 * @author
     27 *  Harish
     28 *
     29 * @par List of Functions:
     30 *
     31 * @remarks
     32 *  None
     33 *
     34 *******************************************************************************
     35 */
     36 
     37 #ifndef _IHEVC_ERROR_H_
     38 #define _IHEVC_ERROR_H_
     39 
     40 /**
     41  * Enumerations for error codes used in the codec.
     42  * Not all these are expected to be returned to the application.
     43  * Only select few will be exported
     44  */
     45 typedef enum
     46 {
     47     /**
     48      *  No error
     49      */
     50     IHEVC_SUCCESS = 0,
     51     /**
     52      *  Start error code for decoder
     53      */
     54     IHEVC_DEC_ERROR_START = 0x100,
     55 
     56     /**
     57      *  Start error code for encoder
     58      */
     59     IHEVC_ENC_ERROR_START = 0x200,
     60     /**
     61      * Generic failure
     62      */
     63     IHEVC_FAIL                             = 0x7FFFFFFF
     64 }IHEVC_ERROR_T;
     65 #endif /* _IHEVC_ERROR_H_ */
     66