hv_comm_TimingDatabase.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**
  2. * @file hv_comm_TimingDatabase.h
  3. * @brief Header file of mute module.
  4. *
  5. * @verbatim
  6. * ==============================================================================
  7. * ##### How to use #####
  8. * ==============================================================================
  9. *
  10. * @endverbatim
  11. *
  12. * @author HiView SoC Software Team
  13. * @version 1.0.0
  14. * @date 2022-08-22
  15. */
  16. #ifndef _HV_COMMON_TIMINGDATABASE_H
  17. #define _HV_COMMON_TIMINGDATABASE_H
  18. #include "hv_vos_Comm.h"
  19. #include "hv_comm_DataType.h"
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. #define PIXEL_CLK_DELTA_MAX 1000 /* KHz */
  24. typedef struct _ResolutionType
  25. {
  26. USHORT16 usHactive;
  27. USHORT16 usVactive;
  28. USHORT16 usHtotal;
  29. USHORT16 usVtotal;
  30. UINT32 uiFreqKHz;
  31. } ResolutionType;
  32. /**
  33. * @brief Check if CE timing
  34. * @param[in] usHactive
  35. * @param[in] usVactive
  36. * @param[in] usHtotal
  37. * @param[in] usVtotal
  38. * @param[in] uiFreqKHz
  39. * @return HV_TRUE: CE timing, HV_FALSE: IT timing.
  40. */
  41. BOOL Hv_Common_Timing_IsCe(USHORT16 usHactive, USHORT16 usVactive, USHORT16 usHtotal, USHORT16 usVtotal, UINT32 uiFreqKHz);
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45. #endif /* _HV_COMMON_TIMER_H */