ddp_dpi_ext.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #ifndef __DDP_DPI_EXT_H__
  2. #define __DDP_DPI_EXT_H__
  3. #include "lcm_drv.h"
  4. #include "ddp_info.h"
  5. #include "cmdq_record.h"
  6. #include "dpi_dvt_test.h"
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. typedef enum {
  11. DPI_STATUS_OK = 0,
  12. DPI_STATUS_ERROR,
  13. } DPI_STATUS;
  14. /*************************for DPI DVT***************************/
  15. typedef enum {
  16. acsRGB = 0
  17. , acsYCbCr422 = 1
  18. , acsYCbCr444 = 2
  19. , acsFuture = 3
  20. } AviColorSpace_e;
  21. DPI_STATUS DPI_EnableColorBar(unsigned int pattern);
  22. DPI_STATUS DPI_DisableColorBar(void);
  23. DPI_STATUS ddp_dpi_EnableColorBar_0(void);
  24. DPI_STATUS ddp_dpi_EnableColorBar_16(void);
  25. int configInterlaceMode(unsigned int resolution);
  26. int config3DMode(unsigned int resolution);
  27. int config3DInterlaceMode(unsigned int resolution);
  28. unsigned int readDPIStatus(void);
  29. unsigned int readDPITDLRStatus(void);
  30. unsigned int clearDPIStatus(void);
  31. unsigned int clearDPIIntrStatus(void);
  32. unsigned int readDPIIntrStatus(void);
  33. unsigned int ClearDPIIntrStatus(void);
  34. unsigned int enableRGB2YUV(AviColorSpace_e format);
  35. unsigned int enableSingleEdge(void);
  36. int enableAndGetChecksum(void);
  37. int enableAndGetChecksumCmdq(cmdqRecHandle cmdq_handle);
  38. unsigned int configDpiRepetition(void);
  39. unsigned int configDpiEmbsync(void);
  40. unsigned int configDpiColorTransformToBT709(void);
  41. unsigned int configDpiRGB888ToLimitRange(void);
  42. /************************************************************/
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif /* __DPI_DRV_H__ */