msmb_generic_buf_mgr.h 775 B

123456789101112131415161718192021222324252627
  1. #ifndef __MEDIA_MSMB_BUF_MNGR_H__
  2. #define __MEDIA_MSMB_BUF_MNGR_H__
  3. struct msm_buf_mngr_info {
  4. uint32_t session_id;
  5. uint32_t stream_id;
  6. uint32_t frame_id;
  7. struct timeval timestamp;
  8. uint32_t index;
  9. };
  10. struct v4l2_subdev *msm_buf_mngr_get_subdev(void);
  11. #define VIDIOC_MSM_BUF_MNGR_GET_BUF \
  12. _IOWR('V', BASE_VIDIOC_PRIVATE + 33, struct msm_buf_mngr_info)
  13. #define VIDIOC_MSM_BUF_MNGR_PUT_BUF \
  14. _IOWR('V', BASE_VIDIOC_PRIVATE + 34, struct msm_buf_mngr_info)
  15. #define VIDIOC_MSM_BUF_MNGR_BUF_DONE \
  16. _IOWR('V', BASE_VIDIOC_PRIVATE + 35, struct msm_buf_mngr_info)
  17. #define VIDIOC_MSM_BUF_MNGR_INIT \
  18. _IOWR('V', BASE_VIDIOC_PRIVATE + 36, struct msm_buf_mngr_info)
  19. #define VIDIOC_MSM_BUF_MNGR_DEINIT \
  20. _IOWR('V', BASE_VIDIOC_PRIVATE + 37, struct msm_buf_mngr_info)
  21. #endif