Home | History | Annotate | Download | only in src

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;
1701 void ePadChroma(uint8 *ref, int picwidth, int picheight, int picpitch, int x_pos, int y_pos)
1710 pad_height = 8 + ((y_pos & 7) ? 1 : 0);
1713 y_pos >>= 3;
1716 if (y_pos < 0) // need to pad up
1731 j = -y_pos;
1741 else if (y_pos + pad_height >= picheight) /* pad down */
1757 j = y_pos + pad_height - picheight;
1770 if (y_pos < -8) start = ref - (picpitch << 3);
1771 else if (y_pos + pad_height > picheight + 7) start = ref + (picheight + 7 - pad_height) * picpitch;
1772 else start = ref + y_pos * picpitch;
1788 if (y_pos < -8) start = ref - (picpitch << 3) + picwidth - 1;
1789 else if (y_pos + pad_height > picheight + 7) start = ref + (picheight + 7 - pad_height) * picpitch + picwidth - 1;
1790 else start = ref + y_pos * picpitch + picwidth - 1;
1810 int x_pos, int y_pos,
1818 ePadChroma(ref, picwidth, picheight, picpitch, x_pos, y_pos);
1821 dy = y_pos & 7;
1825 y_pos = y_pos >> 3;
1827 ref += y_pos * picpitch + x_pos;