Lines Matching defs:fbuf
1841 if (0 != (rc = videobuf_iolock(q,&buf->vb,&btv->fbuf)))
2521 if (NULL != btv->fbuf.base)
2522 n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height,
2932 struct video_buffer *fbuf = arg;
2934 fbuf->base = btv->fbuf.base;
2935 fbuf->width = btv->fbuf.fmt.width;
2936 fbuf->height = btv->fbuf.fmt.height;
2937 fbuf->bytesperline = btv->fbuf.fmt.bytesperline;
2939 fbuf->depth = fh->ovfmt->depth;
2941 if (fbuf->width)
2942 fbuf->depth = ((fbuf->bytesperline<<3)
2943 + (fbuf->width-1) )
2944 /fbuf->width;
2946 fbuf->depth = 0;
2952 struct video_buffer *fbuf = arg;
2959 end = (unsigned long)fbuf->base +
2960 fbuf->height * fbuf->bytesperline;
2964 switch (fbuf->depth) {
2978 fbuf->depth = 16;
2992 btv->fbuf.base = fbuf->base;
2993 btv->fbuf.fmt.width = fbuf->width;
2994 btv->fbuf.fmt.height = fbuf->height;
2995 if (fbuf->bytesperline)
2996 btv->fbuf.fmt.bytesperline = fbuf->bytesperline;
2998 btv->fbuf.fmt.bytesperline = btv->fbuf.fmt.width*fbuf->depth/8;
3011 if (NULL == btv->fbuf.base)
3250 *fb = btv->fbuf;
3289 btv->fbuf.base = fb->base;
3290 btv->fbuf.fmt.width = fb->fmt.width;
3291 btv->fbuf.fmt.height = fb->fmt.height;
3293 btv->fbuf.fmt.bytesperline = fb->fmt.bytesperline;
3295 btv->fbuf.fmt.bytesperline = btv->fbuf.fmt.width*fmt->depth/8;