Lines Matching defs:pred

217     uint8 *pred, *top, *left;
232 pred = encvid->pred_i16[AVC_I16_Vertical] - 16;
241 *((uint32*)(pred += 16)) = word1;
242 *((uint32*)(pred + 4)) = word2;
243 *((uint32*)(pred + 8)) = word3;
244 *((uint32*)(pred + 12)) = word4;
278 pred = encvid->pred_i16[AVC_I16_Horizontal] - 16;
288 *(uint32*)(pred += 16) = word1;
289 *(uint32*)(pred + 4) = word1;
290 *(uint32*)(pred + 8) = word1;
291 *(uint32*)(pred + 12) = word1;
315 pred = encvid->pred_i16[AVC_I16_DC] - 16;
318 *((uint32*)(pred += 16)) = sum;
319 *((uint32*)(pred + 4)) = sum;
320 *((uint32*)(pred + 8)) = sum;
321 *((uint32*)(pred + 12)) = sum;
327 pred = encvid->pred_i16[AVC_I16_Plane] - 16;
372 *((uint32*)(pred += 16)) = word1;
389 *((uint32*)(pred + 4)) = word1;
406 *((uint32*)(pred + 8)) = word1;
422 *((uint32*)(pred + 12)) = word1;
492 int cost_i16(uint8 *org, int org_pitch, uint8 *pred, int min_cost)
509 m0 = org[0] - pred[0];
510 m3 = org[3] - pred[3];
513 m1 = org[1] - pred[1];
514 m2 = org[2] - pred[2];
524 pred += 4;
729 uint8 *pred;
825 pred = encvid->pred_i4[AVC_I4_Vertical];
828 *((uint32*)pred) = temp; /* write 4 at a time */
829 *((uint32*)(pred += 4)) = temp;
830 *((uint32*)(pred += 4)) = temp;
831 *((uint32*)(pred += 4)) = temp;
839 pred = encvid->pred_i4[AVC_I4_Horizontal];
843 *((uint32*)pred) = temp;
846 *((uint32*)(pred += 4)) = temp;
849 *((uint32*)(pred += 4)) = temp;
852 *((uint32*)(pred += 4)) = temp;
855 pred = encvid->pred_i4[AVC_I4_Horizontal_Up];
865 *((uint32*)pred) = temp; // [D1 D1 D1 D1]
873 *((uint32*)(pred += 4)) = temp;
880 *((uint32*)(pred += 4)) = temp;
884 *((uint32*)(pred += 4)) = temp;
888 pred = encvid->pred_i4[AVC_I4_DC];
915 *((uint32*)pred) = temp;
916 *((uint32*)(pred += 4)) = temp;
917 *((uint32*)(pred += 4)) = temp;
918 *((uint32*)(pred += 4)) = temp;
927 pred = encvid->pred_i4[AVC_I4_Diagonal_Down_Left];
972 *((uint32*)pred) = temp;
975 *((uint32*)(pred += 4)) = temp;
978 *((uint32*)(pred += 4)) = temp;
981 *((uint32*)(pred += 4)) = temp;
994 *((uint32*)pred) = temp;
997 *((uint32*)(pred += 4)) = temp;
1000 *((uint32*)(pred += 4)) = temp;
1003 *((uint32*)(pred += 4)) = temp;
1019 pred = encvid->pred_i4[AVC_I4_Diagonal_Down_Right];
1034 *((uint32*)pred) = temp;
1039 *((uint32*)(pred += 4)) = temp;
1044 *((uint32*)(pred += 4)) = temp;
1049 *((uint32*)(pred += 4)) = temp;
1054 pred = encvid->pred_i4[AVC_I4_Vertical_Right];
1078 *((uint32*)pred) = temp;
1083 *((uint32*)(pred += 4)) = temp;
1088 *((uint32*)(pred += 4)) = temp;
1093 *((uint32*)(pred += 4)) = temp;
1098 pred = encvid->pred_i4[AVC_I4_Horizontal_Down];
1124 *((uint32*)pred) = temp;
1129 *((uint32*)(pred += 4)) = temp;
1134 *((uint32*)(pred += 4)) = temp;
1139 *((uint32*)(pred += 4)) = temp;
1148 pred = encvid->pred_i4[AVC_I4_Vertical_Left];
1169 *((uint32*)pred) = temp1;
1176 *((uint32*)(pred += 4)) = temp2;
1179 *((uint32*)(pred += 4)) = temp1;
1182 *((uint32*)(pred += 4)) = temp2;
1198 pred = encvid->pred_i4[ipmode];
1200 cost_i4(org, org_pitch, pred, &cost);
1289 void cost_i4(uint8 *org, int org_pitch, uint8 *pred, uint16 *cost)
1301 m0 = org[0] - pred[0];
1302 m3 = org[3] - pred[3];
1305 m1 = org[1] - pred[1];
1306 m2 = org[2] - pred[2];
1316 pred += 4;
1373 uint8 *comp_ref_x, *comp_ref_y, *pred;
1489 pred = encvid->pred_ic[AVC_IC_DC];
1508 *((uint32*)pred) = pred_a;
1509 *((uint32*)(pred + 4)) = pred_b;
1510 *((uint32*)(pred + 8)) = pred_c;
1511 *((uint32*)(pred + 12)) = pred_d;
1512 pred += 16; /* move to the next line */
1531 *((uint32*)pred) = pred_a;
1532 *((uint32*)(pred + 4)) = pred_b;
1533 *((uint32*)(pred + 8)) = pred_c;
1534 *((uint32*)(pred + 12)) = pred_d;
1535 pred += 16; /* move to the next line */
1543 pred = encvid->pred_ic[AVC_IC_Horizontal];
1553 *((uint32*)pred) = pred_a;
1554 *((uint32*)(pred + 4)) = pred_a;
1560 *((uint32*)(pred + 8)) = pred_a;
1561 *((uint32*)(pred + 12)) = pred_a;
1563 pred += 16;
1573 pred = encvid->pred_ic[AVC_IC_Vertical];
1582 *((uint32*)pred) = pred_a;
1583 *((uint32*)(pred + 4)) = pred_b;
1584 *((uint32*)(pred + 8)) = pred_c;
1585 *((uint32*)(pred + 12)) = pred_d;
1586 pred += 16;
1597 pred = encvid->pred_ic[AVC_IC_Plane];
1644 *((uint32*)pred) = pred_b;
1662 *((uint32*)(pred + 4)) = pred_b;
1663 pred += 16;
1667 pred -= 120; /* point to cr */
1725 int SATDChroma(uint8 *orgCb, uint8 *orgCr, int org_pitch, uint8 *pred, int min_cost)
1728 /* first take difference between orgCb, orgCr and pred */
1741 m0 = orgCb[0] - pred[0];
1742 m3 = orgCb[3] - pred[3];
1745 m1 = orgCb[1] - pred[1];
1746 m2 = orgCb[2] - pred[2];
1756 pred += 4;
1763 m0 = orgCr[0] - pred[0];
1764 m3 = orgCr[3] - pred[3];
1767 m1 = orgCr[1] - pred[1];
1768 m2 = orgCr[2] - pred[2];
1778 pred += 4;