Lines Matching defs:xmax

117         av_assert2(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1));
118 if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){
422 if (mx > xmin && mx < xmax &&
538 c->xmax = - x + s->width;
544 c->xmax = (x < s->mb_width * 16 - 16) ? 15 : 0;
549 c->xmax = - x + s->mb_width *16 - 16;
556 c->xmax = FFMIN(c->xmax, range);
597 c->xmax = - 16*s->mb_x + s->width - 8*(block &1);
604 if (P_LEFT[0] > c->xmax * (1 << shift)) P_LEFT[0] = c->xmax * (1 << shift);
617 if (P_TOPRIGHT[0] > c->xmax * (1 << shift)) P_TOPRIGHT[0] = c->xmax * (1 << shift);
634 if (P[i][0] > c->xmax * (1 << shift)) P[i][0] = c->xmax * (1 << shift);
779 if(P_LEFT[0] > (c->xmax<<1)) P_LEFT[0] = (c->xmax<<1);
791 if(P_TOPRIGHT[0] > (c->xmax<<1)) P_TOPRIGHT[0]= (c->xmax<<1);
931 if (P_LEFT[0] > (c->xmax << shift))
932 P_LEFT[0] = c->xmax << shift;
1098 if(P_TOPRIGHT[0] > (c->xmax<<shift)) P_TOPRIGHT[0]= (c->xmax<<shift);
1139 if (P_LEFT[0] > (c->xmax << shift)) P_LEFT[0] = (c->xmax << shift);
1262 const int xmax= c->xmax<<shift;
1318 &&(fx<=0 || motion_fx+fx<=xmax) && (fy<=0 || motion_fy+fy<=ymax) && (bx<=0 || motion_bx+bx<=xmax) && (by<=0 || motion_by+by<=ymax)\
1353 int a= (xmax - FFMAX(fx,bx))|(FFMIN(fx,bx) - xmin);
1372 int a= FFMIN(xmax - FFMAX(fx,bx), FFMIN(fx,bx) - xmin);
1400 int mx, my, xmin, xmax, ymin, ymax;
1405 ymax= xmax= 31>>shift;
1428 xmax= FFMIN(xmax, s->width - max);
1441 av_assert2(xmax <= 15 && ymax <= 15 && xmin >= -16 && ymin >= -16);
1443 if(xmax < 0 || xmin >0 || ymax < 0 || ymin > 0){
1452 c->xmax= xmax;
1459 P_LEFT[0] = av_clip(mv_table[mot_xy - 1][0], xmin * (1 << shift), xmax << shift);
1464 P_TOP[0] = av_clip(mv_table[mot_xy - mot_stride ][0], xmin * (1 << shift), xmax << shift);
1466 P_TOPRIGHT[0] = av_clip(mv_table[mot_xy - mot_stride + 1][0], xmin * (1 << shift), xmax << shift);