Lines Matching defs:nf

967 	struct yuv_frame_info *nf = &yi->new_frame_info[frame];
972 int update = nf->update;
975 nf->src_x = args->src.left;
976 nf->src_y = args->src.top;
977 nf->src_w = args->src.width;
978 nf->src_h = args->src.height;
979 nf->dst_x = args->dst.left;
980 nf->dst_y = args->dst.top;
981 nf->dst_w = args->dst.width;
982 nf->dst_h = args->dst.height;
983 nf->tru_x = args->dst.left;
984 nf->tru_w = args->src_width;
985 nf->tru_h = args->src_height;
988 nf->offset_y = (nf->tru_h + nf->src_x < 512 - 16) ? 1 : 0;
990 nf->update = 0;
991 nf->interlaced_y = 0;
992 nf->interlaced_uv = 0;
993 nf->delay = 0;
994 nf->sync_field = 0;
995 nf->lace_mode = yi->lace_mode & IVTV_YUV_MODE_MASK;
1001 switch (nf->lace_mode) {
1003 nf->interlaced = 0;
1004 if (nf->tru_h < 512 || (nf->tru_h > 576 && nf->tru_h < 1021))
1005 nf->interlaced_y = 0;
1007 nf->interlaced_y = 1;
1009 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2))
1010 nf->interlaced_uv = 0;
1012 nf->interlaced_uv = 1;
1016 if (nf->tru_h <= lace_threshold || nf->tru_h > 576 || nf->tru_w > 720) {
1017 nf->interlaced = 0;
1018 if ((nf->tru_h < 512) ||
1019 (nf->tru_h > 576 && nf->tru_h < 1021) ||
1020 (nf->tru_w > 720 && nf->tru_h < 1021))
1021 nf->interlaced_y = 0;
1023 nf->interlaced_y = 1;
1024 if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2))
1025 nf->interlaced_uv = 0;
1027 nf->interlaced_uv = 1;
1029 nf->interlaced = 1;
1030 nf->interlaced_y = 1;
1031 nf->interlaced_uv = 1;
1037 nf->interlaced = 1;
1038 nf->interlaced_y = 1;
1039 nf->interlaced_uv = 1;
1043 if (memcmp(&yi->old_frame_info_args, nf, sizeof(*nf))) {
1044 yi->old_frame_info_args = *nf;
1045 nf->update = 1;
1049 nf->update |= update;
1050 nf->sync_field = yi->lace_sync_field;
1051 nf->delay = nf->sync_field != of->sync_field;