Lines Matching refs:src_h
53 y_decode_height = uv_decode_height = f->src_h + f->src_y; in ivtv_yuv_prep_user_dma()
407 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical()
437 reg_2918 = (f->dst_h << 16) | (f->src_h + src_minor_y); in ivtv_yuv_handle_vertical()
439 reg_2918 = (f->dst_h << 16) | ((f->src_h + src_minor_y) << 1); in ivtv_yuv_handle_vertical()
442 reg_291c = (f->dst_h << 16) | ((f->src_h + src_minor_uv) >> 1); in ivtv_yuv_handle_vertical()
444 reg_291c = (f->dst_h << 16) | (f->src_h + src_minor_uv); in ivtv_yuv_handle_vertical()
446 reg_2964_base = (src_minor_y * ((f->dst_h << 16) / f->src_h)) >> 14; in ivtv_yuv_handle_vertical()
447 reg_2968_base = (src_minor_uv * ((f->dst_h << 16) / f->src_h)) >> 14; in ivtv_yuv_handle_vertical()
449 if (f->dst_h / 2 >= f->src_h && !f->interlaced_y) { in ivtv_yuv_handle_vertical()
450 master_height = (f->src_h * 0x00400000) / f->dst_h; in ivtv_yuv_handle_vertical()
451 if ((f->src_h * 0x00400000) - (master_height * f->dst_h) >= f->dst_h / 2) in ivtv_yuv_handle_vertical()
460 } else if (f->dst_h >= f->src_h) { in ivtv_yuv_handle_vertical()
461 master_height = (f->src_h * 0x00400000) / f->dst_h; in ivtv_yuv_handle_vertical()
477 } else if (f->dst_h >= f->src_h / 2) { in ivtv_yuv_handle_vertical()
478 master_height = (f->src_h * 0x00200000) / f->dst_h; in ivtv_yuv_handle_vertical()
495 master_height = (f->src_h * 0x00100000) / f->dst_h; in ivtv_yuv_handle_vertical()
508 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
543 reg_2960 = ((src_minor_y + f->src_h + src_major_y) - 1) | in ivtv_yuv_handle_vertical()
544 (((src_minor_uv + f->src_h + src_major_uv - 1) & ~1) << 15); in ivtv_yuv_handle_vertical()
547 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
550 reg_2964 = 2 + ((f->dst_h << 1) / f->src_h); in ivtv_yuv_handle_vertical()
565 if ((reg_2964 != 0x00010001) && (f->dst_h / 2 <= f->src_h)) in ivtv_yuv_handle_vertical()
577 if (f->src_h == f->dst_h) { in ivtv_yuv_handle_vertical()
583 v_filter_1 = ((f->src_h << 16) / f->dst_h) >> 15; in ivtv_yuv_handle_vertical()
691 if (f->src_h / f->dst_h >= 2) { in ivtv_yuv_window_setup()
696 if ((osd_crop = f->src_h - 4 * f->dst_h) > 0) { in ivtv_yuv_window_setup()
699 f->src_h = (f->src_h - osd_crop) & ~3; in ivtv_yuv_window_setup()
700 f->dst_h = f->src_h / 4; in ivtv_yuv_window_setup()
707 (int)f->src_w <= 2 || (int)f->src_h <= 2) { in ivtv_yuv_window_setup()
712 osd_scale = (f->src_h << 16) / f->dst_h; in ivtv_yuv_window_setup()
717 f->src_h -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
727 f->src_h -= (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
768 f->src_h += f->src_y & 1; in ivtv_yuv_window_setup()
771 f->src_h &= ~1; in ivtv_yuv_window_setup()
782 if (f->dst_h < f->src_h / 4) { in ivtv_yuv_window_setup()
783 f->src_h &= ~3; in ivtv_yuv_window_setup()
784 f->dst_h = f->src_h / 4; in ivtv_yuv_window_setup()
790 (int)f->src_w <= 2 || (int)f->src_h <= 2) { in ivtv_yuv_window_setup()
801 if ((of->src_h != f->src_h) || (of->dst_h != f->dst_h) || in ivtv_yuv_window_setup()
993 nf->src_h = args->src.height; in ivtv_yuv_setup_frame()
1024 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1039 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1289 yi->old_frame_info.src_h = 0; in ivtv_yuv_close()
1291 yi->old_frame_info_args.src_h = 0; in ivtv_yuv_close()