Lines Matching refs:src_w

230 	     f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x);  in ivtv_yuv_handle_horizontal()
233 x_cutoff = f->src_w + f->src_x; 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()
674 f->src_w = (f->src_w - osd_crop) & ~3; in ivtv_yuv_window_setup()
675 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
696 (int)f->src_w <= 2 || (int)f->src_h <= 2) { in ivtv_yuv_window_setup()
719 osd_scale = (f->src_w << 16) / f->dst_w; in ivtv_yuv_window_setup()
724 f->src_w -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
734 f->src_w -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
748 f->src_w += f->src_x & 1; in ivtv_yuv_window_setup()
751 f->src_w &= ~1; in ivtv_yuv_window_setup()
766 if (f->dst_w < f->src_w / 4) { in ivtv_yuv_window_setup()
767 f->src_w &= ~3; in ivtv_yuv_window_setup()
768 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
779 (int)f->src_w <= 2 || (int)f->src_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()
983 nf->src_w = args->src.width; in ivtv_yuv_setup_frame()
1280 yi->old_frame_info.src_w = 0; in ivtv_yuv_close()
1282 yi->old_frame_info_args.src_w = 0; in ivtv_yuv_close()