Lines Matching refs:nf

965 	struct yuv_frame_info *nf = &yi->new_frame_info[frame];
970 int update = nf->update;
973 nf->src_x = args->src.left;
974 nf->src_y = args->src.top;
975 nf->src_w = args->src.width;
976 nf->src_h = args->src.height;
977 nf->dst_x = args->dst.left;
978 nf->dst_y = args->dst.top;
979 nf->dst_w = args->dst.width;
980 nf->dst_h = args->dst.height;
981 nf->tru_x = args->dst.left;
982 nf->tru_w = args->src_width;
983 nf->tru_h = args->src_height;
986 nf->offset_y = (nf->tru_h + nf->src_x < 512 - 16) ? 1 : 0;
988 nf->update = 0;
989 nf->interlaced_y = 0;
990 nf->interlaced_uv = 0;
991 nf->delay = 0;
992 nf->sync_field = 0;
993 nf->lace_mode = yi->lace_mode & IVTV_YUV_MODE_MASK;
999 switch (nf->lace_mode) {
1001 nf->interlaced = 0;
1002 if (nf->tru_h < 512 || (nf->tru_h > 576 && nf->tru_h < 1021))
1003 nf->interlaced_y = 0;
1005 nf->interlaced_y = 1;
1007 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2))
1008 nf->interlaced_uv = 0;
1010 nf->interlaced_uv = 1;
1014 if (nf->tru_h <= lace_threshold || nf->tru_h > 576 || nf->tru_w > 720) {
1015 nf->interlaced = 0;
1016 if ((nf->tru_h < 512) ||
1017 (nf->tru_h > 576 && nf->tru_h < 1021) ||
1018 (nf->tru_w > 720 && nf->tru_h < 1021))
1019 nf->interlaced_y = 0;
1021 nf->interlaced_y = 1;
1022 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2))
1023 nf->interlaced_uv = 0;
1025 nf->interlaced_uv = 1;
1027 nf->interlaced = 1;
1028 nf->interlaced_y = 1;
1029 nf->interlaced_uv = 1;
1035 nf->interlaced = 1;
1036 nf->interlaced_y = 1;
1037 nf->interlaced_uv = 1;
1041 if (memcmp(&yi->old_frame_info_args, nf, sizeof(*nf))) {
1042 yi->old_frame_info_args = *nf;
1043 nf->update = 1;
1047 nf->update |= update;
1048 nf->sync_field = yi->lace_sync_field;
1049 nf->delay = nf->sync_field != of->sync_field;