Lines Matching refs:height

399 	dev->crop_bounds.height  = ((norm->id & V4L2_STD_525_60) ? 524 : 624)  in set_tvnorm()
401 dev->crop_defrect.height = (norm->video_v_stop - norm->video_v_start +1)*2; in set_tvnorm()
550 int width, int height, int interlace) in set_size() argument
560 v_stop = (dev->crop_current.top + dev->crop_current.height -1)/2; in set_size()
575 yscale = 512 * div * dev->crop_current.height / height; in set_size()
584 saa_writeb(SAA7134_VIDEO_LINES1(task), height/div & 0xff); in set_size()
585 saa_writeb(SAA7134_VIDEO_LINES2(task), height/div >> 8); in set_size()
668 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping()
689 if (win->w.height < 32) in verify_preview()
690 win->w.height = 32; in verify_preview()
698 maxh = dev->crop_current.height; in verify_preview()
701 field = (win->w.height > maxh/2) in verify_preview()
718 if (win->w.height > maxh) in verify_preview()
719 win->w.height = maxh; in verify_preview()
734 dev->win.w.width, dev->win.w.height, in start_preview()
739 set_size(dev, TASK_B, dev->win.w.width, dev->win.w.height, in start_preview()
798 set_size(dev, TASK_A, dev->width, dev->height, in buffer_activate()
835 lines_uv = dev->height >> dev->fmt->vshift; in buffer_activate()
836 base2 = base + bpl * dev->height; in buffer_activate()
891 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in buffer_prepare()
908 int size = dev->fmt->depth * dev->width * dev->height >> 3; in queue_setup()
911 dev->height < 32 || in queue_setup()
913 dev->height/4 > dev->crop_current.height || in queue_setup()
915 dev->height > dev->crop_bounds.height) in queue_setup()
1211 f->fmt.pix.height = dev->height; in saa7134_g_fmt_vid_cap()
1220 (f->fmt.pix.height * f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap()
1269 maxh = min(dev->crop_current.height*4, dev->crop_bounds.height); in saa7134_try_fmt_vid_cap()
1272 field = (f->fmt.pix.height > maxh/2) in saa7134_try_fmt_vid_cap()
1289 if (f->fmt.pix.height < 32) in saa7134_try_fmt_vid_cap()
1290 f->fmt.pix.height = 32; in saa7134_try_fmt_vid_cap()
1293 if (f->fmt.pix.height > maxh) in saa7134_try_fmt_vid_cap()
1294 f->fmt.pix.height = maxh; in saa7134_try_fmt_vid_cap()
1302 (f->fmt.pix.height * f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap()
1335 dev->height = f->fmt.pix.height; in saa7134_s_fmt_vid_cap()
1633 if (c->top > b->top + b->height) in saa7134_s_crop()
1634 c->top = b->top + b->height; in saa7134_s_crop()
1635 if (c->height > b->top - c->top + b->height) in saa7134_s_crop()
1636 c->height = b->top - c->top + b->height; in saa7134_s_crop()
2068 dev->height = 576; in saa7134_video_init1()
2071 dev->win.w.height = dev->height; in saa7134_video_init1()
2074 dev->ovbuf.fmt.height = dev->height; in saa7134_video_init1()