Home
last modified time | relevance | path

Searched refs:v4lbuf (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/media/video/
Dstk-webcam.c280 fill = fb->buffer + fb->v4lbuf.bytesused; in stk_isoc_handler()
308 if (fb->v4lbuf.bytesused != 0 in stk_isoc_handler()
309 && fb->v4lbuf.bytesused != dev->frame_size) { in stk_isoc_handler()
313 i, fb->v4lbuf.bytesused)); in stk_isoc_handler()
314 fb->v4lbuf.bytesused = 0; in stk_isoc_handler()
316 } else if (fb->v4lbuf.bytesused == dev->frame_size) { in stk_isoc_handler()
319 fb->v4lbuf.bytesused = 0; in stk_isoc_handler()
327 fb->v4lbuf.bytesused = 0; in stk_isoc_handler()
337 if (framelen + fb->v4lbuf.bytesused > dev->frame_size) { in stk_isoc_handler()
349 fb->v4lbuf.bytesused += framelen; in stk_isoc_handler()
[all …]
Dcafe_ccic.c133 struct v4l2_buffer v4lbuf; member
1141 buf->v4lbuf.length = PAGE_ALIGN(cam->pix_format.sizeimage); in cafe_setup_siobuf()
1142 buf->buffer = vmalloc_user(buf->v4lbuf.length); in cafe_setup_siobuf()
1148 buf->v4lbuf.index = index; in cafe_setup_siobuf()
1149 buf->v4lbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in cafe_setup_siobuf()
1150 buf->v4lbuf.field = V4L2_FIELD_NONE; in cafe_setup_siobuf()
1151 buf->v4lbuf.memory = V4L2_MEMORY_MMAP; in cafe_setup_siobuf()
1158 buf->v4lbuf.m.offset = 2*index*buf->v4lbuf.length; in cafe_setup_siobuf()
1262 *buf = cam->sb_bufs[buf->index].v4lbuf; in cafe_vidioc_querybuf()
1281 if (sbuf->v4lbuf.flags & V4L2_BUF_FLAG_QUEUED) { in cafe_vidioc_qbuf()
[all …]
Dstk-webcam.h51 struct v4l2_buffer v4lbuf; member