ark_video.h 484 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef __ARK_CARLINK_H__
  2. #define __ARK_CARLINK_H__
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include <semaphore.h>
  7. #include "ark_api.h"
  8. #define MAX_STREAM_BUFFER_SIZE (1024*1024)
  9. #define RAW_STRM_TYPE_H264 104
  10. #define DISPLAY_DATA_ID 0x4449
  11. struct display_data {
  12. sem_t sem;
  13. int init;
  14. int kernel_used;
  15. int avin_used;
  16. int softdec_used;
  17. int display_mode;
  18. int active_pid;
  19. video_handle *active_handle;
  20. screen_info screen;
  21. };
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif