Lines Matching refs:y_pos
48 uint32 x_pos, y_pos;
94 y_pos = (offset_y << 2) + *mv; /*quarter pel */
99 eLumaMotionComp(ref_l, picPitch, picHeight, x_pos, y_pos,
104 eChromaMotionComp(ref_Cb, picWidth >> 1, picHeight >> 1, x_pos, y_pos,
107 eChromaMotionComp(ref_Cr, picWidth >> 1, picHeight >> 1, x_pos, y_pos,
122 int x_pos, int y_pos,
133 dy = y_pos & 3;
135 y_pos = y_pos >> 2;
141 ref += y_pos * picpitch + x_pos;
149 ref += y_pos * picpitch + x_pos;
156 ref += y_pos * picpitch + x_pos;
163 ref += y_pos * picpitch + x_pos - 2; /* move to the left 2 pixels */
172 ref += (y_pos - 2) * picpitch + x_pos; /* move to up 2 lines */
180 ref2 = ref + (y_pos + (dy / 2)) * picpitch + x_pos;
182 ref += (y_pos * picpitch) + x_pos + (dx / 2);
190 void eCreateAlign(uint8 *ref, int picpitch, int y_pos,
197 ref += y_pos * picpitch;// + x_pos;
1697 void ePadChroma(uint8 *ref, int picwidth, int picheight, int picpitch, int x_pos, int y_pos)
1706 pad_height = 8 + ((y_pos & 7) ? 1 : 0);
1709 y_pos >>= 3;
1712 if (y_pos < 0) // need to pad up
1727 j = -y_pos;
1737 else if (y_pos + pad_height >= picheight) /* pad down */
1753 j = y_pos + pad_height - picheight;
1766 if (y_pos < -8) start = ref - (picpitch << 3);
1767 else if (y_pos + pad_height > picheight + 7) start = ref + (picheight + 7 - pad_height) * picpitch;
1768 else start = ref + y_pos * picpitch;
1784 if (y_pos < -8) start = ref - (picpitch << 3) + picwidth - 1;
1785 else if (y_pos + pad_height > picheight + 7) start = ref + (picheight + 7 - pad_height) * picpitch + picwidth - 1;
1786 else start = ref + y_pos * picpitch + picwidth - 1;
1806 int x_pos, int y_pos,
1814 ePadChroma(ref, picwidth, picheight, picpitch, x_pos, y_pos);
1817 dy = y_pos & 7;
1821 y_pos = y_pos >> 3;
1823 ref += y_pos * picpitch + x_pos;