• Home
  • Raw
  • Download

Lines Matching refs:src_w

224 	     f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x);  in ivtv_yuv_handle_horizontal()
227 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal()
251 if (f->dst_w >= f->src_w) in ivtv_yuv_handle_horizontal()
257 if (f->dst_w < f->src_w) in ivtv_yuv_handle_horizontal()
263 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; in ivtv_yuv_handle_horizontal()
265 if (f->dst_w >= f->src_w) { in ivtv_yuv_handle_horizontal()
267 master_width = (f->src_w * 0x00200000) / (f->dst_w); in ivtv_yuv_handle_horizontal()
268 if (master_width * f->dst_w != f->src_w * 0x00200000) in ivtv_yuv_handle_horizontal()
280 if (f->dst_w > f->src_w) in ivtv_yuv_handle_horizontal()
281 reg_2870_base = ((f->dst_w - f->src_w)<<16) / (f->src_w <<14); in ivtv_yuv_handle_horizontal()
287 } else if (f->dst_w < f->src_w / 2) { in ivtv_yuv_handle_horizontal()
288 master_width = (f->src_w * 0x00080000) / f->dst_w; in ivtv_yuv_handle_horizontal()
289 if (master_width * f->dst_w != f->src_w * 0x00080000) in ivtv_yuv_handle_horizontal()
299 reg_2870 += (5 - (((f->src_w + f->src_w / 2) - 1) / f->dst_w)) << 16; in ivtv_yuv_handle_horizontal()
302 master_width = (f->src_w * 0x00100000) / f->dst_w; in ivtv_yuv_handle_horizontal()
303 if (master_width * f->dst_w != f->src_w * 0x00100000) in ivtv_yuv_handle_horizontal()
313 reg_2870 += (5 - (((f->src_w * 3) - 1) / f->dst_w)) << 16; in ivtv_yuv_handle_horizontal()
318 if (f->src_w == f->dst_w) { in ivtv_yuv_handle_horizontal()
323 h_filter = ((f->src_w << 16) / f->dst_w) >> 15; in ivtv_yuv_handle_horizontal()
666 if ((osd_crop = f->src_w - 4 * f->dst_w) > 0) { in ivtv_yuv_window_setup()
668 f->src_w = (f->src_w - osd_crop) & ~3; in ivtv_yuv_window_setup()
669 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
690 (int)f->src_w <= 2 || (int)f->src_h <= 2) { in ivtv_yuv_window_setup()
713 osd_scale = (f->src_w << 16) / f->dst_w; in ivtv_yuv_window_setup()
718 f->src_w -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
728 f->src_w -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
742 f->src_w += f->src_x & 1; in ivtv_yuv_window_setup()
745 f->src_w &= ~1; in ivtv_yuv_window_setup()
760 if (f->dst_w < f->src_w / 4) { in ivtv_yuv_window_setup()
761 f->src_w &= ~3; in ivtv_yuv_window_setup()
762 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
773 (int)f->src_w <= 2 || (int)f->src_h <= 2) { in ivtv_yuv_window_setup()
778 if ((of->dst_w != f->dst_w) || (of->src_w != f->src_w) || in ivtv_yuv_window_setup()
975 nf->src_w = args->src.width; in ivtv_yuv_setup_frame()
1271 yi->old_frame_info.src_w = 0; in ivtv_yuv_close()
1273 yi->old_frame_info_args.src_w = 0; in ivtv_yuv_close()