• Home
  • Raw
  • Download

Lines Matching refs:nf

983 	struct yuv_frame_info *nf = &yi->new_frame_info[frame];  in ivtv_yuv_setup_frame()  local
988 int update = nf->update; in ivtv_yuv_setup_frame()
991 nf->src_x = args->src.left; in ivtv_yuv_setup_frame()
992 nf->src_y = args->src.top; in ivtv_yuv_setup_frame()
993 nf->src_w = args->src.width; in ivtv_yuv_setup_frame()
994 nf->src_h = args->src.height; in ivtv_yuv_setup_frame()
995 nf->dst_x = args->dst.left; in ivtv_yuv_setup_frame()
996 nf->dst_y = args->dst.top; in ivtv_yuv_setup_frame()
997 nf->dst_w = args->dst.width; in ivtv_yuv_setup_frame()
998 nf->dst_h = args->dst.height; in ivtv_yuv_setup_frame()
999 nf->tru_x = args->dst.left; in ivtv_yuv_setup_frame()
1000 nf->tru_w = args->src_width; in ivtv_yuv_setup_frame()
1001 nf->tru_h = args->src_height; in ivtv_yuv_setup_frame()
1004 nf->offset_y = (nf->tru_h + nf->src_x < 512 - 16) ? 1 : 0; in ivtv_yuv_setup_frame()
1006 nf->update = 0; in ivtv_yuv_setup_frame()
1007 nf->interlaced_y = 0; in ivtv_yuv_setup_frame()
1008 nf->interlaced_uv = 0; in ivtv_yuv_setup_frame()
1009 nf->delay = 0; in ivtv_yuv_setup_frame()
1010 nf->sync_field = 0; in ivtv_yuv_setup_frame()
1011 nf->lace_mode = yi->lace_mode & IVTV_YUV_MODE_MASK; in ivtv_yuv_setup_frame()
1017 switch (nf->lace_mode) { in ivtv_yuv_setup_frame()
1019 nf->interlaced = 0; in ivtv_yuv_setup_frame()
1020 if (nf->tru_h < 512 || (nf->tru_h > 576 && nf->tru_h < 1021)) in ivtv_yuv_setup_frame()
1021 nf->interlaced_y = 0; in ivtv_yuv_setup_frame()
1023 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1025 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1026 nf->interlaced_uv = 0; in ivtv_yuv_setup_frame()
1028 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1032 if (nf->tru_h <= lace_threshold || nf->tru_h > 576 || nf->tru_w > 720) { in ivtv_yuv_setup_frame()
1033 nf->interlaced = 0; in ivtv_yuv_setup_frame()
1034 if ((nf->tru_h < 512) || in ivtv_yuv_setup_frame()
1035 (nf->tru_h > 576 && nf->tru_h < 1021) || in ivtv_yuv_setup_frame()
1036 (nf->tru_w > 720 && nf->tru_h < 1021)) in ivtv_yuv_setup_frame()
1037 nf->interlaced_y = 0; in ivtv_yuv_setup_frame()
1039 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1040 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2)) in ivtv_yuv_setup_frame()
1041 nf->interlaced_uv = 0; in ivtv_yuv_setup_frame()
1043 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1045 nf->interlaced = 1; in ivtv_yuv_setup_frame()
1046 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1047 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1053 nf->interlaced = 1; in ivtv_yuv_setup_frame()
1054 nf->interlaced_y = 1; in ivtv_yuv_setup_frame()
1055 nf->interlaced_uv = 1; in ivtv_yuv_setup_frame()
1059 if (memcmp(&yi->old_frame_info_args, nf, sizeof(*nf))) { in ivtv_yuv_setup_frame()
1060 yi->old_frame_info_args = *nf; in ivtv_yuv_setup_frame()
1061 nf->update = 1; in ivtv_yuv_setup_frame()
1065 nf->update |= update; in ivtv_yuv_setup_frame()
1066 nf->sync_field = yi->lace_sync_field; in ivtv_yuv_setup_frame()
1067 nf->delay = nf->sync_field != of->sync_field; in ivtv_yuv_setup_frame()