Lines Matching refs:osd_crop
655 int osd_crop; in ivtv_yuv_window_setup() local
666 if ((osd_crop = f->src_w - 4 * f->dst_w) > 0) { in ivtv_yuv_window_setup()
667 f->src_x += osd_crop / 2; in ivtv_yuv_window_setup()
668 f->src_w = (f->src_w - osd_crop) & ~3; in ivtv_yuv_window_setup()
679 if ((osd_crop = f->src_h - 4 * f->dst_h) > 0) { in ivtv_yuv_window_setup()
681 f->src_y += osd_crop / 2; in ivtv_yuv_window_setup()
682 f->src_h = (f->src_h - osd_crop) & ~3; in ivtv_yuv_window_setup()
697 if ((osd_crop = f->pan_y - f->dst_y) > 0) { in ivtv_yuv_window_setup()
699 f->src_y += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
700 f->src_h -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
701 f->dst_h -= osd_crop; in ivtv_yuv_window_setup()
707 if ((osd_crop = f->dst_h + f->dst_y - f->vis_h) > 0) { in ivtv_yuv_window_setup()
709 f->dst_h -= osd_crop; in ivtv_yuv_window_setup()
710 f->src_h -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
715 if ((osd_crop = f->pan_x - f->dst_x) > 0) { in ivtv_yuv_window_setup()
717 f->src_x += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
718 f->src_w -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
719 f->dst_w -= osd_crop; in ivtv_yuv_window_setup()
725 if ((osd_crop = f->dst_w + f->dst_x - f->vis_w) > 0) { in ivtv_yuv_window_setup()
727 f->dst_w -= osd_crop; in ivtv_yuv_window_setup()
728 f->src_w -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()