import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / vcodec / hal_types_public.h
1 /**
2 * @file
3 * hal_types_public.h
4 *
5 * @par Project:
6 * Video
7 *
8 * @par Description:
9 * Hardware Abstraction Layer Type Definitions
10 *
11 * @par Author:
12 * Jackal Chen (mtk02532)
13 *
14 * @par $Revision: #1 $
15 * @par $Modtime:$
16 * @par $Log:$
17 *
18 */
19
20 #ifndef _HAL_TYPES_PUBLIC_H_
21 #define _HAL_TYPES_PUBLIC_H_
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #include "val_types_public.h"
28
29 /**
30 * @par Structure
31 * HAL_POWER_T
32 * @par Description
33 * This is a parameter for power related function
34 */
35 typedef struct _HAL_POWER_T
36 {
37 VAL_VOID_T *pvHandle; ///< [IN] The video codec driver handle
38 VAL_UINT32_T u4HandleSize; ///< [IN] The size of video codec driver handle
39 VAL_DRIVER_TYPE_T eDriverType; ///< [IN] The driver type
40 VAL_BOOL_T fgEnable; ///< [IN] Enable or not
41 VAL_VOID_T *pvReserved; ///< [IN/OUT] The reserved parameter
42 VAL_UINT32_T u4ReservedSize; ///< [IN] The size of reserved parameter structure
43 } HAL_POWER_T;
44
45 /**
46 * @par Structure
47 * HAL_ISR_T
48 * @par Description
49 * This is a parameter for ISR related function
50 */
51 typedef struct _HAL_ISR_T
52 {
53 VAL_VOID_T *pvHandle; ///< [IN] The video codec driver handle
54 VAL_UINT32_T u4HandleSize; ///< [IN] The size of video codec driver handle
55 VAL_DRIVER_TYPE_T eDriverType; ///< [IN] The driver type
56 VAL_BOOL_T fgRegister; ///< [IN] Register or un-register
57 VAL_VOID_T *pvReserved; ///< [IN/OUT] The reserved parameter
58 VAL_UINT32_T u4ReservedSize; ///< [IN] The size of reserved parameter structure
59 } HAL_ISR_T;
60
61 #ifdef __cplusplus
62 }
63 #endif
64
65 #endif // #ifndef _HAL_TYPES_PUBLIC_H_