Lines Matching refs:fx
125 int fx = c->direct_basis_mv[i][0] + hx; in cmp_direct_inline() local
127 …int bx = hx ? fx - c->co_located_mv[i][0] : c->co_located_mv[i][0]*(time_pb - time_pp)/time_pp + (… in cmp_direct_inline()
129 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline()
134 c->qpel_put[1][fxy](dst, ref[0] + (fx>>2) + (fy>>2)*stride, stride); in cmp_direct_inline()
137 c->hpel_put[1][fxy](dst, ref[0] + (fx>>1) + (fy>>1)*stride, stride, 8); in cmp_direct_inline()
142 int fx = c->direct_basis_mv[0][0] + hx; in cmp_direct_inline() local
144 … int bx = hx ? fx - c->co_located_mv[0][0] : (c->co_located_mv[0][0]*(time_pb - time_pp)/time_pp); in cmp_direct_inline()
146 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline()
150 …c->qpel_put[1][fxy](c->temp , ref[0] + (fx>>2) + (fy>>2)*stride , stri… in cmp_direct_inline()
151 …c->qpel_put[1][fxy](c->temp + 8 , ref[0] + (fx>>2) + (fy>>2)*stride + 8 , stri… in cmp_direct_inline()
152 …c->qpel_put[1][fxy](c->temp + 8*stride, ref[0] + (fx>>2) + (fy>>2)*stride + 8*stride, stri… in cmp_direct_inline()
153 …c->qpel_put[1][fxy](c->temp + 8 + 8*stride, ref[0] + (fx>>2) + (fy>>2)*stride + 8 + 8*stride, stri… in cmp_direct_inline()
159 av_assert2((fx>>1) + 16*s->mb_x >= -16); in cmp_direct_inline()
161 av_assert2((fx>>1) + 16*s->mb_x <= s->width); in cmp_direct_inline()
168 c->hpel_put[0][fxy](c->temp, ref[0] + (fx>>1) + (fy>>1)*stride, stride, 16); in cmp_direct_inline()
1264 #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) in bidir_refine() argument
1265 #define HASH8(fx,fy,bx,by) ((uint8_t)HASH(fx,fy,bx,by)) in bidir_refine() argument
1316 #define CHECK_BIDIR(fx,fy,bx,by)\ in bidir_refine() argument
1317 if( !map[(hashidx+HASH(fx,fy,bx,by))&255]\ in bidir_refine()
1318 …&&(fx<=0 || motion_fx+fx<=xmax) && (fy<=0 || motion_fy+fy<=ymax) && (bx<=0 || motion_bx+bx<=xmax) … in bidir_refine()
1319 …&&(fx>=0 || motion_fx+fx>=xmin) && (fy>=0 || motion_fy+fy>=ymin) && (bx>=0 || motion_bx+bx>=xmin) … in bidir_refine()
1321 map[(hashidx+HASH(fx,fy,bx,by))&255] = 1;\ in bidir_refine()
1322 …score= check_bidir_mv(s, motion_fx+fx, motion_fy+fy, motion_bx+bx, motion_by+by, pred_fx, pred_fy,… in bidir_refine()
1324 hashidx += HASH(fx,fy,bx,by);\ in bidir_refine()
1326 motion_fx+=fx;\ in bidir_refine()
1348 int fx= motion_fx+vect[i][0]; in bidir_refine() local
1353 int a= (xmax - FFMAX(fx,bx))|(FFMIN(fx,bx) - xmin); in bidir_refine()
1361 … score= check_bidir_mv(s, fx, fy, bx, by, pred_fx, pred_fy, pred_bx, pred_by, 0, 16); in bidir_refine()
1365 motion_fx=fx; in bidir_refine()
1372 int a= FFMIN(xmax - FFMAX(fx,bx), FFMIN(fx,bx) - xmin); in bidir_refine()