Home | History | Annotate | Download | only in common

Lines Matching defs:x0

126 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch);
631 static void constrain_line (int x0, int *x1, int y0, int *y1, int width, int height)
638 dx = *x1 - x0;
643 *y1 = ((width-x0)*dy)/dx + y0;
647 dx = *x1 - x0;
652 *y1 = ((0-x0)*dy)/dx + y0;
656 dx = *x1 - x0;
661 *x1 = ((height-y0)*dx)/dy + x0;
665 dx = *x1 - x0;
670 *x1 = ((0-y0)*dx)/dy + x0;
841 int x0, y0;
845 for (x0 = 0; x0 < width; x0 += 16)
864 x1 = x0 + 8 + (mv->col >> 3);
867 constrain_line (x0+8, &x1, y0+4, &y1, width, height);
868 vp8_blit_line (x0+8, x1, y0+4, y1, y_buffer, y_stride);
872 x1 = x0 + 8 + (mv->col >> 3);
875 constrain_line (x0+8, &x1, y0+12, &y1, width, height);
876 vp8_blit_line (x0+8, x1, y0+12, y1, y_buffer, y_stride);
885 x1 = x0 + 4 + (mv->col >> 3);
888 constrain_line (x0+4, &x1, y0+8, &y1, width, height);
889 vp8_blit_line (x0+4, x1, y0+8, y1, y_buffer, y_stride);
893 x1 = x0 +12 + (mv->col >> 3);
896 constrain_line (x0+12, &x1, y0+8, &y1, width, height);
897 vp8_blit_line (x0+12, x1, y0+8, y1, y_buffer, y_stride);
906 x1 = x0 + 4 + (mv->col >> 3);
909 constrain_line (x0+4, &x1, y0+4, &y1, width, height);
910 vp8_blit_line (x0+4, x1, y0+4, y1, y_buffer, y_stride);
914 x1 = x0 +12 + (mv->col >> 3);
917 constrain_line (x0+12, &x1, y0+4, &y1, width, height);
918 vp8_blit_line (x0+12, x1, y0+4, y1, y_buffer, y_stride);
922 x1 = x0 + 4 + (mv->col >> 3);
925 constrain_line (x0+4, &x1, y0+12, &y1, width, height);
926 vp8_blit_line (x0+4, x1, y0+12, y1, y_buffer, y_stride);
930 x1 = x0 +12 + (mv->col >> 3);
933 constrain_line (x0+12, &x1, y0+12, &y1, width, height);
934 vp8_blit_line (x0+12, x1, y0+12, y1, y_buffer, y_stride);
944 for (bx0 = x0; bx0 < (x0+16); bx0 += 4)
963 const int lx0 = x0 + 8;