• Home
  • Raw
  • Download

Lines Matching refs:dst_w

241 	     f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x);  in ivtv_yuv_handle_horizontal()
247 reg_2834 = f->dst_w; in ivtv_yuv_handle_horizontal()
263 if ((f->tru_x - f->pan_x > -1) && (f->tru_x - f->pan_x <= 40) && (f->dst_w >= 680)) in ivtv_yuv_handle_horizontal()
265 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()
268 if (f->dst_w >= f->src_w) in ivtv_yuv_handle_horizontal()
274 if (f->dst_w < f->src_w) in ivtv_yuv_handle_horizontal()
280 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; in ivtv_yuv_handle_horizontal()
282 if (f->dst_w >= f->src_w) { in ivtv_yuv_handle_horizontal()
284 master_width = (f->src_w * 0x00200000) / (f->dst_w); in ivtv_yuv_handle_horizontal()
285 if (master_width * f->dst_w != f->src_w * 0x00200000) in ivtv_yuv_handle_horizontal()
297 if (f->dst_w > f->src_w) in ivtv_yuv_handle_horizontal()
298 reg_2870_base = ((f->dst_w - f->src_w)<<16) / (f->src_w <<14); in ivtv_yuv_handle_horizontal()
304 } else if (f->dst_w < f->src_w / 2) { in ivtv_yuv_handle_horizontal()
305 master_width = (f->src_w * 0x00080000) / f->dst_w; in ivtv_yuv_handle_horizontal()
306 if (master_width * f->dst_w != f->src_w * 0x00080000) in ivtv_yuv_handle_horizontal()
316 reg_2870 += (5 - (((f->src_w + f->src_w / 2) - 1) / f->dst_w)) << 16; in ivtv_yuv_handle_horizontal()
319 master_width = (f->src_w * 0x00100000) / f->dst_w; in ivtv_yuv_handle_horizontal()
320 if (master_width * f->dst_w != f->src_w * 0x00100000) in ivtv_yuv_handle_horizontal()
330 reg_2870 += (5 - (((f->src_w * 3) - 1) / f->dst_w)) << 16; in ivtv_yuv_handle_horizontal()
335 if (f->src_w == f->dst_w) { in ivtv_yuv_handle_horizontal()
340 h_filter = ((f->src_w << 16) / f->dst_w) >> 15; in ivtv_yuv_handle_horizontal()
683 if ((osd_crop = f->src_w - 4 * f->dst_w) > 0) { in ivtv_yuv_window_setup()
686 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
687 f->dst_w += f->dst_w & 1; in ivtv_yuv_window_setup()
706 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
730 osd_scale = (f->src_w << 16) / f->dst_w; in ivtv_yuv_window_setup()
736 f->dst_w -= osd_crop; in ivtv_yuv_window_setup()
742 if ((osd_crop = f->dst_w + f->dst_x - f->vis_w) > 0) { in ivtv_yuv_window_setup()
744 f->dst_w -= osd_crop; in ivtv_yuv_window_setup()
756 f->dst_w &= ~1; in ivtv_yuv_window_setup()
763 f->dst_w &= ~1; in ivtv_yuv_window_setup()
777 if (f->dst_w < f->src_w / 4) { in ivtv_yuv_window_setup()
779 f->dst_w = f->src_w / 4; in ivtv_yuv_window_setup()
780 f->dst_w += f->dst_w & 1; in ivtv_yuv_window_setup()
789 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
795 if ((of->dst_w != f->dst_w) || (of->src_w != f->src_w) || in ivtv_yuv_window_setup()
996 nf->dst_w = args->dst.width; in ivtv_yuv_setup_frame()