Lines Matching defs:P_LEFT
40 #define P_LEFT P[1]
601 P_LEFT[0] = s->current_picture.motion_val[0][mot_xy - 1][0];
602 P_LEFT[1] = s->current_picture.motion_val[0][mot_xy - 1][1];
604 if (P_LEFT[0] > c->xmax * (1 << shift)) P_LEFT[0] = c->xmax * (1 << shift);
608 c->pred_x= pred_x4= P_LEFT[0];
609 c->pred_y= pred_y4= P_LEFT[1];
620 P_MEDIAN[0]= mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]);
621 P_MEDIAN[1]= mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]);
777 P_LEFT[0] = mv_table[xy - 1][0];
778 P_LEFT[1] = mv_table[xy - 1][1];
779 if(P_LEFT[0] > (c->xmax<<1)) P_LEFT[0] = (c->xmax<<1);
781 c->pred_x= P_LEFT[0];
782 c->pred_y= P_LEFT[1];
794 P_MEDIAN[0]= mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]);
795 P_MEDIAN[1]= mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]);
928 P_LEFT[0] = s->current_picture.motion_val[0][mot_xy - 1][0];
929 P_LEFT[1] = s->current_picture.motion_val[0][mot_xy - 1][1];
931 if (P_LEFT[0] > (c->xmax << shift))
932 P_LEFT[0] = c->xmax << shift;
946 P_MEDIAN[0] = mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]);
947 P_MEDIAN[1] = mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]);
953 c->pred_x = P_LEFT[0];
954 c->pred_y = P_LEFT[1];
957 c->pred_x = P_LEFT[0];
958 c->pred_y = P_LEFT[1];
1081 P_LEFT[0] = s->p_mv_table[xy + 1][0];
1082 P_LEFT[1] = s->p_mv_table[xy + 1][1];
1084 if(P_LEFT[0] < (c->xmin<<shift)) P_LEFT[0] = (c->xmin<<shift);
1088 c->pred_x= P_LEFT[0];
1089 c->pred_y= P_LEFT[1];
1101 P_MEDIAN[0]= mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]);
1102 P_MEDIAN[1]= mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]);
1136 P_LEFT[0] = mv_table[mot_xy - 1][0];
1137 P_LEFT[1] = mv_table[mot_xy - 1][1];
1139 if (P_LEFT[0] > (c->xmax << shift)) P_LEFT[0] = (c->xmax << shift);
1151 P_MEDIAN[0] = mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]);
1152 P_MEDIAN[1] = mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]);
1154 c->pred_x = P_LEFT[0];
1155 c->pred_y = P_LEFT[1];
1459 P_LEFT[0] = av_clip(mv_table[mot_xy - 1][0], xmin * (1 << shift), xmax << shift);
1460 P_LEFT[1] = av_clip(mv_table[mot_xy - 1][1], ymin * (1 << shift), ymax << shift);
1469 P_MEDIAN[0]= mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]);
1470 P_MEDIAN[1]= mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]);