CLIPSPAN(x,y,n,x1,n1,i);
{
- const char * src = (read_buf + x1*4 + y*pitch);
+ const char * src = GET_SRC_PTR( x1, y );
_generic_read_RGBA_span_BGRA8888_REV_MMX( src, rgba[i], n1 );
}
}
CLIPSPAN(x,y,n,x1,n1,i);
{
- const char * src = (read_buf + x1*4 + y*pitch);
+ const char * src = GET_SRC_PTR( x1, y );
_generic_read_RGBA_span_BGRA8888_REV_SSE2( src, rgba[i], n1 );
}
}
CLIPSPAN(x,y,n,x1,n1,i);
{
- const char * src = (read_buf + x1*4 + y*pitch);
+ const char * src = GET_SRC_PTR( x1, y );
_generic_read_RGBA_span_BGRA8888_REV_SSE( src, rgba[i], n1 );
}
}