Lines Matching refs:refdist
38 int scaledvalue, refdist; in scaleforsame_x() local
44 refdist = v->refdist; in scaleforsame_x()
46 refdist = dir ? v->brfd : v->frfd; in scaleforsame_x()
47 if (refdist > 3) in scaleforsame_x()
48 refdist = 3; in scaleforsame_x()
49 scalesame1 = ff_vc1_field_mvpred_scales[table_index][1][refdist]; in scaleforsame_x()
50 scalesame2 = ff_vc1_field_mvpred_scales[table_index][2][refdist]; in scaleforsame_x()
51 scalezone1_x = ff_vc1_field_mvpred_scales[table_index][3][refdist]; in scaleforsame_x()
52 zone1offset_x = ff_vc1_field_mvpred_scales[table_index][5][refdist]; in scaleforsame_x()
71 int scaledvalue, refdist; in scaleforsame_y() local
77 refdist = v->refdist; in scaleforsame_y()
79 refdist = dir ? v->brfd : v->frfd; in scaleforsame_y()
80 if (refdist > 3) in scaleforsame_y()
81 refdist = 3; in scaleforsame_y()
82 scalesame1 = ff_vc1_field_mvpred_scales[table_index][1][refdist]; in scaleforsame_y()
83 scalesame2 = ff_vc1_field_mvpred_scales[table_index][2][refdist]; in scaleforsame_y()
84 scalezone1_y = ff_vc1_field_mvpred_scales[table_index][4][refdist]; in scaleforsame_y()
85 zone1offset_y = ff_vc1_field_mvpred_scales[table_index][6][refdist]; in scaleforsame_y()
188 int refdist, scaleopp; in scaleforopp() local
200 refdist = v->refdist; in scaleforopp()
202 refdist = dir ? v->brfd : v->frfd; in scaleforopp()
203 refdist = FFMIN(refdist, 3); in scaleforopp()
204 scaleopp = ff_vc1_field_mvpred_scales[dir ^ v->second_field][0][refdist]; in scaleforopp()