hi_isp_bin.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /******************************************************************************
  2. Copyright (C), 2016, Hisilicon Tech. Co., Ltd.
  3. ******************************************************************************
  4. File Name : hi_isp_bin.h
  5. Version : Initial Draft
  6. Author : Hisilicon multimedia software group
  7. Created : 2015/01/14
  8. Description :
  9. History :
  10. 1.Date : 2015/01/14
  11. Author :
  12. Modification: Created file
  13. ******************************************************************************/
  14. #ifndef __HI_ISP_BIN_H__
  15. #define __HI_ISP_BIN_H__
  16. #include "hi_type.h"
  17. #include "hi_comm_isp.h"
  18. #ifdef __cplusplus
  19. #if __cplusplus
  20. extern "C" {
  21. #endif
  22. #endif /* End of #ifdef __cplusplus */
  23. /****************************************************************************
  24. * MACRO DEFINITION *
  25. ****************************************************************************/
  26. #define MAX_BIN_REG_NUM 5
  27. /****************************************************************************
  28. * GENERAL STRUCTURES *
  29. ****************************************************************************/
  30. typedef struct hiISP_BIN_REG_ATTR_S
  31. {
  32. HI_U32 u32Addr; /* register addr */
  33. HI_U8 u8StartBit; /* start bit of register addr */
  34. HI_U8 u8EndBit; /* end bit of register addr */
  35. } ISP_BIN_REG_ATTR_S;
  36. /*-------------------------------------------*
  37. The base addr of ISP logic register
  38. The base addr of ISP ext register
  39. The base addr of Hisi AE ext register
  40. The base addr of Hisi AWB ext register
  41. *-------------------------------------------*/
  42. ISP_BIN_REG_ATTR_S g_astIspBinRegAttr[ISP_MAX_PIPE_NUM][MAX_BIN_REG_NUM] =
  43. {
  44. [0 ... (ISP_MAX_PIPE_NUM - 1)] = {0}
  45. };
  46. #ifdef __cplusplus
  47. #if __cplusplus
  48. }
  49. #endif
  50. #endif /* End of #ifdef __cplusplus */
  51. #endif /*__HI_ISP_BIN_H__ */