Lines Matching refs:dst_w

230 	     f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x);  in ivtv_yuv_handle_horizontal()
236 reg_2834 = f->dst_w; in ivtv_yuv_handle_horizontal()
252 if ((f->tru_x - f->pan_x > -1) && (f->tru_x - f->pan_x <= 40) && (f->dst_w >= 680)) in ivtv_yuv_handle_horizontal()
254 else if ((f->tru_x - f->pan_x < 0) && (f->tru_x - f->pan_x >= -20) && (f->dst_w >= 660)) in ivtv_yuv_handle_horizontal()
257 if (f->dst_w >= f->src_w) in ivtv_yuv_handle_horizontal()
263 if (f->dst_w < f->src_w) in ivtv_yuv_handle_horizontal()
269 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; in ivtv_yuv_handle_horizontal()
271 if (f->dst_w >= f->src_w) { in ivtv_yuv_handle_horizontal()
273 master_width = (f->src_w * 0x00200000) / (f->dst_w); in ivtv_yuv_handle_horizontal()
274 if (master_width * f->dst_w != f->src_w * 0x00200000) in ivtv_yuv_handle_horizontal()
286 if (f->dst_w > f->src_w) in ivtv_yuv_handle_horizontal()
287 reg_2870_base = ((f->dst_w - f->src_w)<<16) / (f->src_w <<14); in ivtv_yuv_handle_horizontal()
293 } else if (f->dst_w < f->src_w / 2) { in ivtv_yuv_handle_horizontal()
294 master_width = (f->src_w * 0x00080000) / f->dst_w; in ivtv_yuv_handle_horizontal()
295 if (master_width * f->dst_w != f->src_w * 0x00080000) in ivtv_yuv_handle_horizontal()
305 reg_2870 += (5 - (((f->src_w + f->src_w / 2) - 1) / f->dst_w)) << 16; in ivtv_yuv_handle_horizontal()
308 master_width = (f->src_w * 0x00100000) / f->dst_w; in ivtv_yuv_handle_horizontal()
309 if (master_width * f->dst_w != f->src_w * 0x00100000) in ivtv_yuv_handle_horizontal()
319 reg_2870 += (5 - (((f->src_w * 3) - 1) / f->dst_w)) << 16; in ivtv_yuv_handle_horizontal()
324 if (f->src_w == f->dst_w) { in ivtv_yuv_handle_horizontal()
329 h_filter = ((f->src_w << 16) / f->dst_w) >> 15; in ivtv_yuv_handle_horizontal()
672 if ((osd_crop = f->src_w - 4 * f->dst_w) > 0) { in ivtv_yuv_window_setup()
675 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
676 f->dst_w += f->dst_w & 1; in ivtv_yuv_window_setup()
695 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
719 osd_scale = (f->src_w << 16) / f->dst_w; in ivtv_yuv_window_setup()
725 f->dst_w -= osd_crop; in ivtv_yuv_window_setup()
731 if ((osd_crop = f->dst_w + f->dst_x - f->vis_w) > 0) { in ivtv_yuv_window_setup()
733 f->dst_w -= osd_crop; in ivtv_yuv_window_setup()
745 f->dst_w &= ~1; in ivtv_yuv_window_setup()
752 f->dst_w &= ~1; in ivtv_yuv_window_setup()
766 if (f->dst_w < f->src_w / 4) { in ivtv_yuv_window_setup()
768 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
769 f->dst_w += f->dst_w & 1; in ivtv_yuv_window_setup()
778 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
784 if ((of->dst_w != f->dst_w) || (of->src_w != f->src_w) || in ivtv_yuv_window_setup()
987 nf->dst_w = args->dst.width; in ivtv_yuv_setup_frame()