Lines Matching refs:fy
126 int fy = c->direct_basis_mv[i][1] + hy; in cmp_direct_inline() local
128 …int by = hy ? fy - c->co_located_mv[i][1] : c->co_located_mv[i][1]*(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()
143 int fy = c->direct_basis_mv[0][1] + hy; in cmp_direct_inline() local
145 … int by = hy ? fy - c->co_located_mv[0][1] : (c->co_located_mv[0][1]*(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()
160 av_assert2((fy>>1) + 16*s->mb_y >= -16); in cmp_direct_inline()
162 av_assert2((fy>>1) + 16*s->mb_y <= s->height); 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()
1327 motion_fy+=fy;\ in bidir_refine()
1349 int fy= motion_fy+vect[i][1]; in bidir_refine() local
1354 int b= (ymax - FFMAX(fy,by))|(FFMIN(fy,by) - ymin); 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()
1366 motion_fy=fy; in bidir_refine()
1373 int b= FFMIN(ymax - FFMAX(fy,by), FFMIN(fy,by) - ymin); in bidir_refine()