Lines Matching refs:nx
248 int i, nx, ny; in qpel_motion_search() local
266 for(nx= -3; nx <= 3; nx++){ in qpel_motion_search()
268 const int64_t t2= nx*nx*(tr + tl - 2*t) + 4*nx*(tr-tl) + 32*t; in qpel_motion_search()
269 const int64_t c2= nx*nx*( r + l - 2*c) + 4*nx*( r- l) + 32*c; in qpel_motion_search()
270 const int64_t b2= nx*nx*(br + bl - 2*b) + 4*nx*(br-bl) + 32*b; in qpel_motion_search()
274 if((nx&3)==0 && (ny&3)==0) continue; in qpel_motion_search()
276 … score += (mv_penalty[4*mx + nx - pred_x] + mv_penalty[4*my + ny - pred_y])*penalty_factor; in qpel_motion_search()
286 best_pos[i][0]= nx + 4*mx; in qpel_motion_search()
318 for(nx= -3; nx <= 3; nx++){ in qpel_motion_search()
320 … int score= ny*nx*cxy + nx*nx*cx2 + ny*ny*cy2 + nx*cx + ny*cy + 32*c; //FIXME factor in qpel_motion_search()
323 if((nx&3)==0 && (ny&3)==0) continue; in qpel_motion_search()
325 … score += 32*(mv_penalty[4*mx + nx - pred_x] + mv_penalty[4*my + ny - pred_y])*penalty_factor; in qpel_motion_search()
334 best_pos[i][0]= nx + 4*mx; in qpel_motion_search()
343 nx= best_pos[i][0]; in qpel_motion_search()
345 CHECK_QUARTER_MV(nx&3, ny&3, nx>>2, ny>>2) in qpel_motion_search()