Home
last modified time | relevance | path

Searched refs:vb (Results 1 – 8 of 8) sorted by relevance

/device/lge/mako/camera/mm-camera-interface/
Dmm_camera_stream.c196 struct v4l2_buffer vb; in mm_camera_read_msm_frame() local
199 memset(&vb, 0, sizeof(vb)); in mm_camera_read_msm_frame()
200 vb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_camera_read_msm_frame()
201 vb.memory = V4L2_MEMORY_USERPTR; in mm_camera_read_msm_frame()
202 vb.m.planes = &planes[0]; in mm_camera_read_msm_frame()
203 vb.length = stream->fmt.fmt.pix_mp.num_planes; in mm_camera_read_msm_frame()
206 rc = ioctl(stream->fd, VIDIOC_DQBUF, &vb); in mm_camera_read_msm_frame()
209 idx = vb.index; in mm_camera_read_msm_frame()
210 for(i = 0; i < vb.length; i++) { in mm_camera_read_msm_frame()
212 __func__, i, vb.m.planes[i].reserved[0], in mm_camera_read_msm_frame()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c829 struct v4l2_buffer vb; in mm_stream_read_msm_frame() local
837 memset(&vb, 0, sizeof(vb)); in mm_stream_read_msm_frame()
838 vb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_read_msm_frame()
839 vb.memory = V4L2_MEMORY_USERPTR; in mm_stream_read_msm_frame()
840 vb.m.planes = &planes[0]; in mm_stream_read_msm_frame()
841 vb.length = num_planes; in mm_stream_read_msm_frame()
843 rc = ioctl(my_obj->fd, VIDIOC_DQBUF, &vb); in mm_stream_read_msm_frame()
848 int8_t idx = vb.index; in mm_stream_read_msm_frame()
850 buf_info->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
856 buf_info->buf->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c910 struct v4l2_buffer vb; in mm_stream_read_msm_frame() local
922 memset(&vb, 0, sizeof(vb)); in mm_stream_read_msm_frame()
923 vb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_read_msm_frame()
924 vb.memory = V4L2_MEMORY_USERPTR; in mm_stream_read_msm_frame()
925 vb.m.planes = &planes[0]; in mm_stream_read_msm_frame()
926 vb.length = num_planes; in mm_stream_read_msm_frame()
928 rc = ioctl(my_obj->fd, VIDIOC_DQBUF, &vb); in mm_stream_read_msm_frame()
933 int8_t idx = vb.index; in mm_stream_read_msm_frame()
935 buf_info->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
940 buf_info->buf->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c944 struct v4l2_buffer vb; in mm_stream_read_msm_frame() local
949 memset(&vb, 0, sizeof(vb)); in mm_stream_read_msm_frame()
950 vb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_read_msm_frame()
951 vb.memory = V4L2_MEMORY_USERPTR; in mm_stream_read_msm_frame()
952 vb.m.planes = &planes[0]; in mm_stream_read_msm_frame()
953 vb.length = num_planes; in mm_stream_read_msm_frame()
955 rc = ioctl(my_obj->fd, VIDIOC_DQBUF, &vb); in mm_stream_read_msm_frame()
968 int8_t idx = vb.index; in mm_stream_read_msm_frame()
970 buf_info->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
975 buf_info->buf->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c936 struct v4l2_buffer vb; in mm_stream_read_msm_frame() local
941 memset(&vb, 0, sizeof(vb)); in mm_stream_read_msm_frame()
942 vb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_read_msm_frame()
943 vb.memory = V4L2_MEMORY_USERPTR; in mm_stream_read_msm_frame()
944 vb.m.planes = &planes[0]; in mm_stream_read_msm_frame()
945 vb.length = num_planes; in mm_stream_read_msm_frame()
947 rc = ioctl(my_obj->fd, VIDIOC_DQBUF, &vb); in mm_stream_read_msm_frame()
960 int8_t idx = vb.index; in mm_stream_read_msm_frame()
962 buf_info->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
967 buf_info->buf->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c939 struct v4l2_buffer vb; in mm_stream_read_msm_frame() local
944 memset(&vb, 0, sizeof(vb)); in mm_stream_read_msm_frame()
945 vb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_read_msm_frame()
946 vb.memory = V4L2_MEMORY_USERPTR; in mm_stream_read_msm_frame()
947 vb.m.planes = &planes[0]; in mm_stream_read_msm_frame()
948 vb.length = num_planes; in mm_stream_read_msm_frame()
950 rc = ioctl(my_obj->fd, VIDIOC_DQBUF, &vb); in mm_stream_read_msm_frame()
966 int8_t idx = vb.index; in mm_stream_read_msm_frame()
968 buf_info->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
973 buf_info->buf->frame_idx = vb.sequence; in mm_stream_read_msm_frame()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c459 int v4l2_render(int frame_fd, struct v4l2_buffer *vb, struct v4l2_crop *crop) in v4l2_render() argument
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c458 int v4l2_render(int frame_fd, struct v4l2_buffer *vb, struct v4l2_crop *crop) in v4l2_render() argument