Home
last modified time | relevance | path

Searched refs:fbuf (Results 1 – 23 of 23) sorted by relevance

/linux-2.6.39/drivers/media/video/omap/
Domap_voutlib.c40 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) in omap_vout_default_crop() argument
42 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop()
43 pix->width : fbuf->fmt.width; in omap_vout_default_crop()
44 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop()
45 pix->height : fbuf->fmt.height; in omap_vout_default_crop()
59 int omap_vout_try_window(struct v4l2_framebuffer *fbuf, in omap_vout_try_window() argument
78 try_win.width = (try_win.width < fbuf->fmt.width) ? in omap_vout_try_window()
79 try_win.width : fbuf->fmt.width; in omap_vout_try_window()
80 try_win.height = (try_win.height < fbuf->fmt.height) ? in omap_vout_try_window()
81 try_win.height : fbuf->fmt.height; in omap_vout_try_window()
[all …]
Domap_voutlib.h16 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop);
20 struct v4l2_framebuffer *fbuf,
23 extern 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,
Domap_vout.c1411 vout->fbuf.fmt.height = timing->y_res; in vidioc_try_fmt_vid_out()
1412 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out()
1453 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out()
1454 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_fmt_vid_out()
1456 vout->fbuf.fmt.height = timing->y_res; in vidioc_s_fmt_vid_out()
1457 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out()
1476 omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win); in vidioc_s_fmt_vid_out()
1499 ret = omap_vout_try_window(&vout->fbuf, win); in vidioc_try_fmt_vid_overlay()
1524 ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win); in vidioc_s_fmt_vid_overlay()
1594 omap_vout_default_crop(&vout->pix, &vout->fbuf, &cropcap->defrect); in vidioc_cropcap()
[all …]
Domap_voutdef.h108 struct v4l2_framebuffer fbuf; member
/linux-2.6.39/drivers/staging/line6/
Dcapture.c142 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument
163 line6pcm->pos_in_done * bytes_per_frame, fbuf, in line6_capture_copy()
165 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy()
175 line6pcm->pos_in_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
225 char *fbuf; in audio_in_callback() local
234 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback()
247 memcpy(line6pcm->prev_fbuf, fbuf, fsize); in audio_in_callback()
249 line6pcm->prev_fbuf = fbuf; in audio_in_callback()
258 line6_capture_copy(line6pcm, fbuf, fsize); in audio_in_callback()
Dcapture.h22 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
/linux-2.6.39/drivers/media/video/pwc/
Dpwc-if.c275 if (pdev->fbuf == NULL) { in pwc_allocate_buffers()
282 pdev->fbuf = kbuf; in pwc_allocate_buffers()
287 if (pdev->fbuf[i].data == NULL) { in pwc_allocate_buffers()
294 pdev->fbuf[i].data = kbuf; in pwc_allocate_buffers()
349 if (pdev->fbuf != NULL) { in pwc_free_buffers()
351 if (pdev->fbuf[i].data != NULL) { in pwc_free_buffers()
352 PWC_DEBUG_MEMORY("Freeing frame buffer %d at %p.\n", i, pdev->fbuf[i].data); in pwc_free_buffers()
353 vfree(pdev->fbuf[i].data); in pwc_free_buffers()
354 pdev->fbuf[i].data = NULL; in pwc_free_buffers()
357 kfree(pdev->fbuf); in pwc_free_buffers()
[all …]
Dpwc-uncompress.c39 struct pwc_frame_buf *fbuf; in pwc_decompress() local
48 fbuf = pdev->read_frame; in pwc_decompress()
49 if (fbuf == NULL) in pwc_decompress()
54 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */ in pwc_decompress()
Dpwc.h215 struct pwc_frame_buf *fbuf; /* all frames */ member
/linux-2.6.39/include/media/
Dvideobuf-core.h128 struct v4l2_framebuffer *fbuf);
182 struct v4l2_framebuffer *fbuf);
/linux-2.6.39/fs/xfs/
Dxfs_ialloc.c162 struct xfs_buf *fbuf; in xfs_ialloc_inode_init() local
202 fbuf = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, in xfs_ialloc_inode_init()
205 ASSERT(fbuf); in xfs_ialloc_inode_init()
206 ASSERT(!XFS_BUF_GETERROR(fbuf)); in xfs_ialloc_inode_init()
215 xfs_buf_zero(fbuf, 0, ninodes << mp->m_sb.sb_inodelog); in xfs_ialloc_inode_init()
220 free = xfs_make_iptr(mp, fbuf, i); in xfs_ialloc_inode_init()
225 xfs_trans_log_buf(tp, fbuf, ioffset, ioffset + isize - 1); in xfs_ialloc_inode_init()
227 xfs_trans_inode_alloc_buf(tp, fbuf); in xfs_ialloc_inode_init()
/linux-2.6.39/drivers/media/video/
Dvideobuf-dma-sg.c454 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument
495 if (NULL == fbuf) in __videobuf_iolock()
503 bus = (dma_addr_t)(unsigned long)fbuf->base + vb->boff; in __videobuf_iolock()
Dvideobuf-vmalloc.c159 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument
Dvideobuf-dma-contig.c213 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument
Dvideobuf-core.c120 struct v4l2_framebuffer *fbuf) in videobuf_iolock() argument
125 return CALL(q, iolock, q, vb, fbuf); in videobuf_iolock()
/linux-2.6.39/drivers/media/video/bt8xx/
Dbttv-driver.c1776 if (0 != (rc = videobuf_iolock(q,&buf->vb,&btv->fbuf))) in bttv_prepare_buffer()
2338 if (NULL != btv->fbuf.base) in setup_window_lock()
2339 n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height, in setup_window_lock()
2696 *fb = btv->fbuf; in bttv_g_fbuf()
2712 if (unlikely(!btv->fbuf.base)) { in bttv_overlay()
2775 btv->fbuf.base = fb->base; in bttv_s_fbuf()
2776 btv->fbuf.fmt.width = fb->fmt.width; in bttv_s_fbuf()
2777 btv->fbuf.fmt.height = fb->fmt.height; in bttv_s_fbuf()
2779 btv->fbuf.fmt.bytesperline = fb->fmt.bytesperline; in bttv_s_fbuf()
2781 btv->fbuf.fmt.bytesperline = btv->fbuf.fmt.width*fmt->depth/8; in bttv_s_fbuf()
Dbttv-risc.c274 addr = (unsigned long)btv->fbuf.base; in bttv_risc_overlay()
275 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay()
280 line++, addr += btv->fbuf.fmt.bytesperline) { in bttv_risc_overlay()
Dbttvp.h415 struct v4l2_framebuffer fbuf; member
/linux-2.6.39/drivers/media/video/usbvision/
Dusbvision-core.c1830 usbvision->fbuf = usbvision_rvmalloc(usbvision->fbuf_size); in usbvision_frames_alloc()
1831 if (usbvision->fbuf) in usbvision_frames_alloc()
1844 usbvision->frame[i].data = usbvision->fbuf + in usbvision_frames_alloc()
1869 if (usbvision->fbuf != NULL) { in usbvision_frames_free()
1870 usbvision_rvfree(usbvision->fbuf, usbvision->fbuf_size); in usbvision_frames_free()
1871 usbvision->fbuf = NULL; in usbvision_frames_free()
Dusbvision.h408 char *fbuf; /* Videodev buffer area for mmap*/ member
/linux-2.6.39/net/tipc/
Dlink.c2520 struct sk_buff *fbuf = *fb; in tipc_link_recv_fragment() local
2521 struct tipc_msg *fragm = buf_msg(fbuf); in tipc_link_recv_fragment()
2544 buf_discard(fbuf); in tipc_link_recv_fragment()
2561 buf_discard(fbuf); in tipc_link_recv_fragment()
2570 buf_discard(fbuf); in tipc_link_recv_fragment()
2587 buf_discard(fbuf); in tipc_link_recv_fragment()
/linux-2.6.39/drivers/media/dvb/ngene/
Dngene.h710 struct v4l2_framebuffer fbuf; member
/linux-2.6.39/Documentation/video4linux/
Dvideobuf95 struct v4l2_framebuffer *fbuf);