Lines Matching refs:dst_h
390 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical()
420 reg_2918 = (f->dst_h << 16) | (f->src_h + src_minor_y); in ivtv_yuv_handle_vertical()
422 reg_2918 = (f->dst_h << 16) | ((f->src_h + src_minor_y) << 1); in ivtv_yuv_handle_vertical()
425 reg_291c = (f->dst_h << 16) | ((f->src_h + src_minor_uv) >> 1); in ivtv_yuv_handle_vertical()
427 reg_291c = (f->dst_h << 16) | (f->src_h + src_minor_uv); in ivtv_yuv_handle_vertical()
429 reg_2964_base = (src_minor_y * ((f->dst_h << 16) / f->src_h)) >> 14; in ivtv_yuv_handle_vertical()
430 reg_2968_base = (src_minor_uv * ((f->dst_h << 16) / f->src_h)) >> 14; in ivtv_yuv_handle_vertical()
432 if (f->dst_h / 2 >= f->src_h && !f->interlaced_y) { in ivtv_yuv_handle_vertical()
433 master_height = (f->src_h * 0x00400000) / f->dst_h; in ivtv_yuv_handle_vertical()
434 if ((f->src_h * 0x00400000) - (master_height * f->dst_h) >= f->dst_h / 2) in ivtv_yuv_handle_vertical()
443 } else if (f->dst_h >= f->src_h) { in ivtv_yuv_handle_vertical()
444 master_height = (f->src_h * 0x00400000) / f->dst_h; in ivtv_yuv_handle_vertical()
460 } else if (f->dst_h >= f->src_h / 2) { in ivtv_yuv_handle_vertical()
461 master_height = (f->src_h * 0x00200000) / f->dst_h; in ivtv_yuv_handle_vertical()
478 master_height = (f->src_h * 0x00100000) / f->dst_h; in ivtv_yuv_handle_vertical()
491 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
530 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
533 reg_2964 = 2 + ((f->dst_h << 1) / f->src_h); in ivtv_yuv_handle_vertical()
548 if ((reg_2964 != 0x00010001) && (f->dst_h / 2 <= f->src_h)) in ivtv_yuv_handle_vertical()
560 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
566 v_filter_1 = ((f->src_h << 16) / f->dst_h) >> 15; in ivtv_yuv_handle_vertical()
674 if (f->src_h / f->dst_h >= 2) { in ivtv_yuv_window_setup()
679 if ((osd_crop = f->src_h - 4 * f->dst_h) > 0) { in ivtv_yuv_window_setup()
683 f->dst_h = f->src_h / 4; in ivtv_yuv_window_setup()
684 f->dst_h += f->dst_h & 1; in ivtv_yuv_window_setup()
689 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
695 osd_scale = (f->src_h << 16) / f->dst_h; in ivtv_yuv_window_setup()
701 f->dst_h -= osd_crop; in ivtv_yuv_window_setup()
707 if ((osd_crop = f->dst_h + f->dst_y - f->vis_h) > 0) { in ivtv_yuv_window_setup()
709 f->dst_h -= osd_crop; in ivtv_yuv_window_setup()
748 f->dst_h &= ~1; in ivtv_yuv_window_setup()
755 f->dst_h &= ~1; in ivtv_yuv_window_setup()
765 if (f->dst_h < f->src_h / 4) { in ivtv_yuv_window_setup()
767 f->dst_h = f->src_h / 4; in ivtv_yuv_window_setup()
768 f->dst_h += f->dst_h & 1; in ivtv_yuv_window_setup()
772 if ((int)f->dst_w <= 2 || (int)f->dst_h <= 2 || in ivtv_yuv_window_setup()
784 if ((of->src_h != f->src_h) || (of->dst_h != f->dst_h) || in ivtv_yuv_window_setup()
980 nf->dst_h = args->dst.height; in ivtv_yuv_setup_frame()
1007 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1022 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()