Lines Matching refs:height
401 dev->crop_bounds.height = ((norm->id & V4L2_STD_525_60) ? 524 : 624) in set_tvnorm()
403 dev->crop_defrect.height = (norm->video_v_stop - norm->video_v_start +1)*2; in set_tvnorm()
552 int width, int height, int interlace) in set_size() argument
562 v_stop = (dev->crop_current.top + dev->crop_current.height -1)/2; in set_size()
577 yscale = 512 * div * dev->crop_current.height / height; in set_size()
587 saa_writeb(SAA7134_VIDEO_LINES1(task), height/div & 0xff); in set_size()
588 saa_writeb(SAA7134_VIDEO_LINES2(task), height/div >> 8); in set_size()
671 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping()
692 if (win->w.height < 32) in verify_preview()
693 win->w.height = 32; in verify_preview()
701 maxh = dev->crop_current.height; in verify_preview()
704 field = (win->w.height > maxh/2) in verify_preview()
721 if (win->w.height > maxh) in verify_preview()
722 win->w.height = maxh; in verify_preview()
737 dev->win.w.width, dev->win.w.height, in start_preview()
742 set_size(dev, TASK_B, dev->win.w.width, dev->win.w.height, in start_preview()
801 set_size(dev, TASK_A, dev->width, dev->height, in buffer_activate()
838 lines_uv = dev->height >> dev->fmt->vshift; in buffer_activate()
839 base2 = base + bpl * dev->height; in buffer_activate()
896 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in buffer_prepare()
913 int size = dev->fmt->depth * dev->width * dev->height >> 3; in queue_setup()
916 dev->height < 32 || in queue_setup()
918 dev->height/4 > dev->crop_current.height || in queue_setup()
920 dev->height > dev->crop_bounds.height) in queue_setup()
1219 f->fmt.pix.height = dev->height; in saa7134_g_fmt_vid_cap()
1228 (f->fmt.pix.height * f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap()
1277 maxh = min(dev->crop_current.height*4, dev->crop_bounds.height); in saa7134_try_fmt_vid_cap()
1280 field = (f->fmt.pix.height > maxh/2) in saa7134_try_fmt_vid_cap()
1297 if (f->fmt.pix.height < 32) in saa7134_try_fmt_vid_cap()
1298 f->fmt.pix.height = 32; in saa7134_try_fmt_vid_cap()
1301 if (f->fmt.pix.height > maxh) in saa7134_try_fmt_vid_cap()
1302 f->fmt.pix.height = maxh; in saa7134_try_fmt_vid_cap()
1310 (f->fmt.pix.height * f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap()
1343 dev->height = f->fmt.pix.height; in saa7134_s_fmt_vid_cap()
1641 if (c->top > b->top + b->height) in saa7134_s_crop()
1642 c->top = b->top + b->height; in saa7134_s_crop()
1643 if (c->height > b->top - c->top + b->height) in saa7134_s_crop()
1644 c->height = b->top - c->top + b->height; in saa7134_s_crop()
2076 dev->height = 576; in saa7134_video_init1()
2079 dev->win.w.height = dev->height; in saa7134_video_init1()
2082 dev->ovbuf.fmt.height = dev->height; in saa7134_video_init1()