1/******************************************************************************
2 *
3 * Copyright (C) 2015 The Android Open Source Project
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 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19*/
20/*****************************************************************************/
21/*                                                                           */
22/*  File Name         : datatypedef.h                                        */
23/*                                                                           */
24/*  Description       : This file contains all the necessary data type       */
25/*                      definitions.                                         */
26/*                                                                           */
27/*  List of Functions : None                                                 */
28/*                                                                           */
29/*  Issues / Problems : None                                                 */
30/*                                                                           */
31/*  Revision History  :                                                      */
32/*                                                                           */
33/*         DD MM YYYY   Author(s)       Changes (Describe the changes made)  */
34/*         29 12 2006  Rajendra C Y          Draft                           */
35/*                                                                           */
36/*****************************************************************************/
37
38#ifndef __IV_DATATYPEDEF_H__
39#define __IV_DATATYPEDEF_H__
40
41/*****************************************************************************/
42/* Typedefs                                                                  */
43/*****************************************************************************/
44
45typedef int             WORD32;
46typedef unsigned int    UWORD32;
47
48typedef short           WORD16;
49typedef unsigned short  UWORD16;
50
51typedef char            WORD8;
52typedef unsigned char   UWORD8;
53
54typedef char            CHAR;
55#ifndef NULL
56#define NULL            ((void *)0)
57
58#endif
59
60typedef enum
61{
62    IT_FALSE,
63    IT_TRUE
64} IT_BOOL;
65
66
67typedef enum
68{
69    IT_OK,
70    IT_ERROR = -1
71} IT_STATUS;
72
73/*****************************************************************************/
74/* Input and Output Parameter identifiers                                    */
75/*****************************************************************************/
76#define                 IT_IN
77#define                 IT_OUT
78
79
80#endif /* __IV_DATATYPEDEF_H__ */
81
82