• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *
3  * Copyright 2013 Rockchip Electronics Co., LTD.
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     File:
19         vpu_type.h
20     Description:
21         type definition
22     Author:
23         Jian Huan
24     Date:
25         2010-12-8 16:48:32
26 ***************************************************************************************************/
27 #ifndef _VPU_TYPE_H
28 #define _VPU_TYPE_H
29 
30 #ifdef WIN32
31 typedef unsigned char           RK_U8;
32 typedef unsigned short          RK_U16;
33 typedef unsigned int            RK_U32;
34 typedef unsigned __int64        RK_U64;
35 
36 typedef signed char             RK_S8;
37 typedef signed short            RK_S16;
38 typedef signed int              RK_S32;
39 typedef signed __int64          RK_S64;
40 
41 typedef void                    VOID;
42 
43 #else
44 
45 typedef unsigned char           RK_U8;
46 typedef unsigned short          RK_U16;
47 typedef unsigned int            RK_U32;
48 typedef unsigned long long int  RK_U64;
49 
50 
51 typedef signed char             RK_S8;
52 typedef signed short            RK_S16;
53 typedef signed int              RK_S32;
54 typedef signed long long int    RK_S64;
55 
56 typedef void                    VOID;
57 
58 #endif
59 
60 #endif /* _VPU_TYPE_H */
61