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