Lines Matching full:nf

973 	struct yuv_frame_info *nf = &yi->new_frame_info[frame];  in ivtv_yuv_setup_frame()  local
978 int update = nf->update; in ivtv_yuv_setup_frame()
981 nf->src_x = args->src.left; in ivtv_yuv_setup_frame()
982 nf->src_y = args->src.top; in ivtv_yuv_setup_frame()
983 nf->src_w = args->src.width; in ivtv_yuv_setup_frame()
984 nf->src_h = args->src.height; in ivtv_yuv_setup_frame()
985 nf->dst_x = args->dst.left; in ivtv_yuv_setup_frame()
986 nf->dst_y = args->dst.top; in ivtv_yuv_setup_frame()
987 nf->dst_w = args->dst.width; in ivtv_yuv_setup_frame()
988 nf->dst_h = args->dst.height; in ivtv_yuv_setup_frame()
989 nf->tru_x = args->dst.left; in ivtv_yuv_setup_frame()
990 nf->tru_w = args->src_width; in ivtv_yuv_setup_frame()
991 nf->tru_h = args->src_height; in ivtv_yuv_setup_frame()
994 nf->offset_y = (nf->tru_h + nf->src_x < 512 - 16) ? 1 : 0; in ivtv_yuv_setup_frame()
996 nf->update = 0; in ivtv_yuv_setup_frame()
997 nf->interlaced_y = 0; in ivtv_yuv_setup_frame()
998 nf->interlaced_uv = 0; in ivtv_yuv_setup_frame()
999 nf->delay = 0; in ivtv_yuv_setup_frame()
1000 nf->sync_field = 0; in ivtv_yuv_setup_frame()
1001 nf->lace_mode = yi->lace_mode & IVTV_YUV_MODE_MASK; in ivtv_yuv_setup_frame()
1007 switch (nf->lace_mode) { in ivtv_yuv_setup_frame()
1009 nf->interlaced = 0; in ivtv_yuv_setup_frame()
1010 if (nf->tru_h < 512 || (nf->tru_h > 576 && nf->tru_h < 1021)) in ivtv_yuv_setup_frame()
1011 nf->interlaced_y = 0; in ivtv_yuv_setup_frame()
1013 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1015 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1016 nf->interlaced_uv = 0; in ivtv_yuv_setup_frame()
1018 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1022 if (nf->tru_h <= lace_threshold || nf->tru_h > 576 || nf->tru_w > 720) { in ivtv_yuv_setup_frame()
1023 nf->interlaced = 0; in ivtv_yuv_setup_frame()
1024 if ((nf->tru_h < 512) || in ivtv_yuv_setup_frame()
1025 (nf->tru_h > 576 && nf->tru_h < 1021) || in ivtv_yuv_setup_frame()
1026 (nf->tru_w > 720 && nf->tru_h < 1021)) in ivtv_yuv_setup_frame()
1027 nf->interlaced_y = 0; in ivtv_yuv_setup_frame()
1029 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1030 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1031 nf->interlaced_uv = 0; in ivtv_yuv_setup_frame()
1033 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1035 nf->interlaced = 1; in ivtv_yuv_setup_frame()
1036 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1037 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1043 nf->interlaced = 1; in ivtv_yuv_setup_frame()
1044 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1045 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1049 if (memcmp(&yi->old_frame_info_args, nf, sizeof(*nf))) { in ivtv_yuv_setup_frame()
1050 yi->old_frame_info_args = *nf; in ivtv_yuv_setup_frame()
1051 nf->update = 1; in ivtv_yuv_setup_frame()
1055 nf->update |= update; in ivtv_yuv_setup_frame()
1056 nf->sync_field = yi->lace_sync_field; in ivtv_yuv_setup_frame()
1057 nf->delay = nf->sync_field != of->sync_field; in ivtv_yuv_setup_frame()