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 *  typedefs.h
     22 *
     23 * @brief
     24 *  Type definitions used in the code
     25 *
     26 * @author
     27 *  Srinivas T
     28 *
     29 * @remarks
     30 *  None
     31 *
     32 *******************************************************************************
     33 */
     34 
     35 #ifndef _IHEVC_TYPEDEFS_H_
     36 #define _IHEVC_TYPEDEFS_H_
     37 
     38 
     39 typedef unsigned char   UWORD8;
     40 typedef unsigned short  UWORD16;
     41 typedef unsigned int    UWORD32;
     42 
     43 typedef signed char     WORD8;
     44 typedef signed short    WORD16;
     45 typedef signed int      WORD32;
     46 
     47 typedef char            CHAR;
     48 
     49 typedef double          DOUBLE;
     50 
     51 
     52 
     53 
     54 #ifndef MSVC
     55 
     56 typedef unsigned long long ULWORD64;
     57 typedef signed long long    LWORD64;
     58 
     59 #else
     60 typedef unsigned __int64    ULWORD64;
     61 typedef __int64             LWORD64;
     62 
     63 
     64 #endif
     65 #endif /*   _IHEVC_TYPEDEFS_H_ */
     66