Searched refs:fbuf (Results 1 - 25 of 25) sorted by relevance

/drivers/media/platform/omap/
H A Domap_voutlib.h16 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop);
20 struct v4l2_framebuffer *fbuf,
23 int omap_vout_try_window(struct v4l2_framebuffer *fbuf,
27 struct v4l2_window *win, struct v4l2_framebuffer *fbuf,
31 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop,
H A Domap_voutlib.c38 * size in pix and the video display size in fbuf. The default
44 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop)
46 crop->width = (pix->width < fbuf->fmt.width) ?
47 pix->width : fbuf->fmt.width;
48 crop->height = (pix->height < fbuf->fmt.height) ?
49 pix->height : fbuf->fmt.height;
63 int omap_vout_try_window(struct v4l2_framebuffer *fbuf, argument
82 try_win.width = (try_win.width < fbuf->fmt.width) ?
83 try_win.width : fbuf->fmt.width;
84 try_win.height = (try_win.height < fbuf
43 omap_vout_default_crop(struct v4l2_pix_format *pix, struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) argument
111 omap_vout_new_window(struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, struct v4l2_window *new_win) argument
165 omap_vout_new_crop(struct v4l2_pix_format *pix, struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) argument
281 omap_vout_new_format(struct v4l2_pix_format *pix, struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, struct v4l2_window *win) argument
[all...]
H A Domap_vout.c1108 vout->fbuf.fmt.height = timing->y_res;
1109 vout->fbuf.fmt.width = timing->x_res;
1152 vout->fbuf.fmt.height = timing->x_res;
1153 vout->fbuf.fmt.width = timing->y_res;
1155 vout->fbuf.fmt.height = timing->y_res;
1156 vout->fbuf.fmt.width = timing->x_res;
1175 omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win);
1196 ret = omap_vout_try_window(&vout->fbuf, win);
1221 ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win);
1273 omap_vout_default_crop(&vout->pix, &vout->fbuf,
[all...]
H A Domap_voutdef.h147 struct v4l2_framebuffer fbuf; member in struct:omap_vout_device
/drivers/media/usb/pwc/
H A Dpwc-uncompress.c36 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf) argument
43 image = vb2_plane_vaddr(&fbuf->vb, 0);
45 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */
58 vb2_set_plane_payload(&fbuf->vb, 0,
63 vb2_set_plane_payload(&fbuf->vb, 0,
H A Dpwc-if.c192 struct pwc_frame_buf *fbuf = pdev->fill_buf; local
199 unsigned char *ptr = (unsigned char *)fbuf->data;
224 if (fbuf->filled == 4)
227 unsigned char *ptr = (unsigned char *)fbuf->data;
239 if (fbuf->filled < pdev->frame_total_size) {
241 " discarded.\n", fbuf->filled);
243 fbuf->vb.v4l2_buf.field = V4L2_FIELD_NONE;
244 fbuf->vb.v4l2_buf.sequence = pdev->vframe_count;
245 vb2_buffer_done(&fbuf->vb, VB2_BUF_STATE_DONE);
316 struct pwc_frame_buf *fbuf local
[all...]
H A Dpwc.h391 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf);
/drivers/staging/line6/
H A Dcapture.h22 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
H A Dcapture.c144 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) argument
166 line6pcm->pos_in_done * bytes_per_frame, fbuf,
168 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame,
178 line6pcm->pos_in_done * bytes_per_frame, fbuf, fsize);
224 char *fbuf; local
233 fbuf = urb->transfer_buffer + fin->offset;
245 line6pcm->prev_fbuf = fbuf;
253 line6_capture_copy(line6pcm, fbuf, fsize);
/drivers/media/usb/airspy/
H A Dairspy.c280 struct airspy_frame_buf *fbuf; local
303 fbuf = airspy_get_next_fill_buf(s);
304 if (unlikely(fbuf == NULL)) {
313 ptr = vb2_plane_vaddr(&fbuf->vb, 0);
316 vb2_set_plane_payload(&fbuf->vb, 0, len);
317 v4l2_get_timestamp(&fbuf->vb.v4l2_buf.timestamp);
318 fbuf->vb.v4l2_buf.sequence = s->sequence++;
319 vb2_buffer_done(&fbuf->vb, VB2_BUF_STATE_DONE);
/drivers/media/usb/hackrf/
H A Dhackrf.c257 struct hackrf_frame_buf *fbuf; local
280 fbuf = hackrf_get_next_fill_buf(dev);
281 if (unlikely(fbuf == NULL)) {
290 ptr = vb2_plane_vaddr(&fbuf->vb, 0);
293 vb2_set_plane_payload(&fbuf->vb, 0, len);
294 v4l2_get_timestamp(&fbuf->vb.v4l2_buf.timestamp);
295 fbuf->vb.v4l2_buf.sequence = dev->sequence++;
296 vb2_buffer_done(&fbuf->vb, VB2_BUF_STATE_DONE);
/drivers/media/v4l2-core/
H A Dvideobuf-dma-sg.c506 struct v4l2_framebuffer *fbuf)
552 if (NULL == fbuf)
560 bus = (dma_addr_t)(unsigned long)fbuf->base + vb->boff;
504 __videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, struct v4l2_framebuffer *fbuf) argument
H A Dvideobuf-vmalloc.c159 struct v4l2_framebuffer *fbuf)
157 __videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, struct v4l2_framebuffer *fbuf) argument
H A Dvideobuf-dma-contig.c238 struct v4l2_framebuffer *fbuf)
236 __videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, struct v4l2_framebuffer *fbuf) argument
H A Dvideobuf-core.c120 struct v4l2_framebuffer *fbuf)
125 return CALL(q, iolock, q, vb, fbuf);
119 videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, struct v4l2_framebuffer *fbuf) argument
/drivers/media/usb/msi2500/
H A Dmsi2500.c384 struct msi2500_frame_buf *fbuf; local
425 fbuf = msi2500_get_next_fill_buf(s);
426 if (unlikely(fbuf == NULL)) {
435 ptr = vb2_plane_vaddr(&fbuf->vb, 0);
437 vb2_set_plane_payload(&fbuf->vb, 0, flen);
438 vb2_buffer_done(&fbuf->vb, VB2_BUF_STATE_DONE);
/drivers/scsi/csiostor/
H A Dcsio_wr.c1046 struct csio_dma_buf *buf, *fbuf; local
1068 for (n = 0, fbuf = flb.flbufs; ; n++, fbuf++) {
1072 fbuf->paddr = buf->paddr;
1073 fbuf->vaddr = buf->vaddr;
1077 fbuf->len = lastlen;
/drivers/media/dvb-frontends/
H A Drtl2832_sdr.c396 struct rtl2832_sdr_frame_buf *fbuf; local
421 fbuf = rtl2832_sdr_get_next_fill_buf(s);
422 if (unlikely(fbuf == NULL)) {
431 ptr = vb2_plane_vaddr(&fbuf->vb, 0);
434 vb2_set_plane_payload(&fbuf->vb, 0, len);
435 v4l2_get_timestamp(&fbuf->vb.v4l2_buf.timestamp);
436 fbuf->vb.v4l2_buf.sequence = s->sequence++;
437 vb2_buffer_done(&fbuf->vb, VB2_BUF_STATE_DONE);
/drivers/media/pci/bt8xx/
H A Dbttvp.h430 struct v4l2_framebuffer fbuf; member in struct:bttv
H A Dbttv-driver.c1643 if (0 != (rc = videobuf_iolock(q,&buf->vb,&btv->fbuf)))
2197 if (NULL != btv->fbuf.base)
2198 n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height,
2577 *fb = btv->fbuf;
2594 if (unlikely(!btv->fbuf.base)) {
2657 btv->fbuf.base = fb->base;
2658 btv->fbuf.fmt.width = fb->fmt.width;
2659 btv->fbuf.fmt.height = fb->fmt.height;
2661 btv->fbuf
[all...]
H A Dbttv-risc.c276 addr = (unsigned long)btv->fbuf.base;
277 addr += btv->fbuf.fmt.bytesperline * ov->w.top;
282 line++, addr += btv->fbuf.fmt.bytesperline) {
/drivers/media/usb/usbvision/
H A Dusbvision.h406 char *fbuf; /* Videodev buffer area for mmap*/ member in struct:usb_usbvision
H A Dusbvision-core.c1786 usbvision->fbuf = usbvision_rvmalloc(usbvision->fbuf_size);
1787 if (usbvision->fbuf)
1800 usbvision->frame[i].data = usbvision->fbuf +
1825 if (usbvision->fbuf != NULL) {
1826 usbvision_rvfree(usbvision->fbuf, usbvision->fbuf_size);
1827 usbvision->fbuf = NULL;
/drivers/media/pci/ngene/
H A Dngene.h713 struct v4l2_framebuffer fbuf; member in struct:ngene_channel
/drivers/staging/dgap/
H A Ddgap.c150 unsigned char *fbuf, int *len);
5253 unsigned char *fbuf, int *len)
5262 fout = fbuf;
5252 dgap_parity_scan(struct channel_t *ch, unsigned char *cbuf, unsigned char *fbuf, int *len) argument

Completed in 303 milliseconds