Searched refs:osd_crop (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/pci/ivtv/
H A Divtv-yuv.c673 int osd_crop; ivtv_yuv_window_setup() local
684 if ((osd_crop = f->src_w - 4 * f->dst_w) > 0) { ivtv_yuv_window_setup()
685 f->src_x += osd_crop / 2; ivtv_yuv_window_setup()
686 f->src_w = (f->src_w - osd_crop) & ~3; ivtv_yuv_window_setup()
697 if ((osd_crop = f->src_h - 4 * f->dst_h) > 0) { ivtv_yuv_window_setup()
699 f->src_y += osd_crop / 2; ivtv_yuv_window_setup()
700 f->src_h = (f->src_h - osd_crop) & ~3; ivtv_yuv_window_setup()
715 if ((osd_crop = f->pan_y - f->dst_y) > 0) { ivtv_yuv_window_setup()
717 f->src_y += (osd_scale * osd_crop) >> 16; ivtv_yuv_window_setup()
718 f->src_h -= (osd_scale * osd_crop) >> 16; ivtv_yuv_window_setup()
719 f->dst_h -= osd_crop; ivtv_yuv_window_setup()
725 if ((osd_crop = f->dst_h + f->dst_y - f->vis_h) > 0) { ivtv_yuv_window_setup()
727 f->dst_h -= osd_crop; ivtv_yuv_window_setup()
728 f->src_h -= (osd_scale * osd_crop) >> 16; ivtv_yuv_window_setup()
733 if ((osd_crop = f->pan_x - f->dst_x) > 0) { ivtv_yuv_window_setup()
735 f->src_x += (osd_scale * osd_crop) >> 16; ivtv_yuv_window_setup()
736 f->src_w -= (osd_scale * osd_crop) >> 16; ivtv_yuv_window_setup()
737 f->dst_w -= osd_crop; ivtv_yuv_window_setup()
743 if ((osd_crop = f->dst_w + f->dst_x - f->vis_w) > 0) { ivtv_yuv_window_setup()
745 f->dst_w -= osd_crop; ivtv_yuv_window_setup()
746 f->src_w -= (osd_scale * osd_crop) >> 16; ivtv_yuv_window_setup()

Completed in 119 milliseconds