2012-12-28 10:38:10 +00:00
|
|
|
#ifndef __MEDIA_MSMB_BUF_MNGR_H__
|
|
|
|
#define __MEDIA_MSMB_BUF_MNGR_H__
|
|
|
|
|
|
|
|
struct msm_buf_mngr_info {
|
|
|
|
uint32_t session_id;
|
|
|
|
uint32_t stream_id;
|
2013-02-16 01:48:14 +00:00
|
|
|
uint32_t frame_id;
|
2013-02-20 07:49:19 +00:00
|
|
|
struct timeval timestamp;
|
2012-12-28 10:38:10 +00:00
|
|
|
uint32_t index;
|
|
|
|
};
|
|
|
|
|
2013-03-20 11:59:00 +00:00
|
|
|
struct v4l2_subdev *msm_buf_mngr_get_subdev(void);
|
|
|
|
|
2013-02-16 01:48:14 +00:00
|
|
|
#define VIDIOC_MSM_BUF_MNGR_GET_BUF \
|
|
|
|
_IOWR('V', BASE_VIDIOC_PRIVATE + 33, struct msm_buf_mngr_info)
|
|
|
|
|
|
|
|
#define VIDIOC_MSM_BUF_MNGR_PUT_BUF \
|
|
|
|
_IOWR('V', BASE_VIDIOC_PRIVATE + 34, struct msm_buf_mngr_info)
|
|
|
|
|
|
|
|
#define VIDIOC_MSM_BUF_MNGR_BUF_DONE \
|
|
|
|
_IOWR('V', BASE_VIDIOC_PRIVATE + 35, struct msm_buf_mngr_info)
|
|
|
|
|
|
|
|
#endif
|