Lines Matching refs:dst_h
396 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical()
426 reg_2918 = (f->dst_h << 16) | (f->src_h + src_minor_y); in ivtv_yuv_handle_vertical()
428 reg_2918 = (f->dst_h << 16) | ((f->src_h + src_minor_y) << 1); in ivtv_yuv_handle_vertical()
431 reg_291c = (f->dst_h << 16) | ((f->src_h + src_minor_uv) >> 1); in ivtv_yuv_handle_vertical()
433 reg_291c = (f->dst_h << 16) | (f->src_h + src_minor_uv); in ivtv_yuv_handle_vertical()
435 reg_2964_base = (src_minor_y * ((f->dst_h << 16) / f->src_h)) >> 14; in ivtv_yuv_handle_vertical()
436 reg_2968_base = (src_minor_uv * ((f->dst_h << 16) / f->src_h)) >> 14; in ivtv_yuv_handle_vertical()
438 if (f->dst_h / 2 >= f->src_h && !f->interlaced_y) { in ivtv_yuv_handle_vertical()
439 master_height = (f->src_h * 0x00400000) / f->dst_h; in ivtv_yuv_handle_vertical()
440 if ((f->src_h * 0x00400000) - (master_height * f->dst_h) >= f->dst_h / 2) in ivtv_yuv_handle_vertical()
449 } else if (f->dst_h >= f->src_h) { in ivtv_yuv_handle_vertical()
450 master_height = (f->src_h * 0x00400000) / f->dst_h; in ivtv_yuv_handle_vertical()
466 } else if (f->dst_h >= f->src_h / 2) { in ivtv_yuv_handle_vertical()
467 master_height = (f->src_h * 0x00200000) / f->dst_h; in ivtv_yuv_handle_vertical()
484 master_height = (f->src_h * 0x00100000) / f->dst_h; in ivtv_yuv_handle_vertical()
497 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
536 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
539 reg_2964 = 2 + ((f->dst_h << 1) / f->src_h); in ivtv_yuv_handle_vertical()
554 if ((reg_2964 != 0x00010001) && (f->dst_h / 2 <= f->src_h)) in ivtv_yuv_handle_vertical()
566 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
572 v_filter_1 = ((f->src_h << 16) / f->dst_h) >> 15; in ivtv_yuv_handle_vertical()
680 if (f->src_h / f->dst_h >= 2) { in ivtv_yuv_window_setup()
685 if ((osd_crop = f->src_h - 4 * f->dst_h) > 0) { in ivtv_yuv_window_setup()
689 f->dst_h = f->src_h / 4; in ivtv_yuv_window_setup()
690 f->dst_h += f->dst_h & 1; in ivtv_yuv_window_setup()
695 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
701 osd_scale = (f->src_h << 16) / f->dst_h; in ivtv_yuv_window_setup()
707 f->dst_h -= osd_crop; in ivtv_yuv_window_setup()
713 if ((osd_crop = f->dst_h + f->dst_y - f->vis_h) > 0) { in ivtv_yuv_window_setup()
715 f->dst_h -= osd_crop; in ivtv_yuv_window_setup()
754 f->dst_h &= ~1; in ivtv_yuv_window_setup()
761 f->dst_h &= ~1; in ivtv_yuv_window_setup()
771 if (f->dst_h < f->src_h / 4) { in ivtv_yuv_window_setup()
773 f->dst_h = f->src_h / 4; in ivtv_yuv_window_setup()
774 f->dst_h += f->dst_h & 1; in ivtv_yuv_window_setup()
778 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
790 if ((of->src_h != f->src_h) || (of->dst_h != f->dst_h) || in ivtv_yuv_window_setup()
988 nf->dst_h = args->dst.height; in ivtv_yuv_setup_frame()
1015 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1030 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()