Lines Matching defs:v_filter_1
141 static void ivtv_yuv_filter(struct ivtv *itv, int h_filter, int v_filter_1, int v_filter_2)
172 if (v_filter_1 > -1) {
173 if (v_filter_1 > 4)
174 v_filter_1 = 4;
175 i = IVTV_YUV_VERTICAL_FILTER_OFFSET + (v_filter_1 * 192);
183 IVTV_DEBUG_YUV("v_filter_1 -> %d\n", v_filter_1);
376 int v_filter_1, v_filter_2;
550 v_filter_1 = 0;
554 v_filter_1 = ((f->src_h << 16) / f->dst_h) >> 15;
555 v_filter_1 = (v_filter_1 >> 1) + (v_filter_1 & 1);
557 v_filter_1 += !v_filter_1;
558 v_filter_2 = v_filter_1;
627 if (v_filter_1 != yi->v_filter_1) {
628 ivtv_yuv_filter(itv, -1, v_filter_1, -1);
629 yi->v_filter_1 = v_filter_1;
873 yi->v_filter_1 = -1;
1144 int h_filter, v_filter_1, v_filter_2;
1215 v_filter_1 = 0;
1219 v_filter_1 = ((yi->reg_2918 << 16) / (yi->reg_2918 >> 16)) >> 15;
1220 v_filter_1 = (v_filter_1 >> 1) + (v_filter_1 & 1);
1222 v_filter_1 += !v_filter_1;
1223 v_filter_2 = v_filter_1;
1227 ivtv_yuv_filter(itv, h_filter, v_filter_1, v_filter_2);