static void
fbStore_a2b10g10r10 (pixman_image_t *image,
uint32_t *bits, const uint64_t *values,
- int x, int width, const pixman_indexed_t * indexed)
+ int x, int width)
{
int i;
uint32_t *pixel = bits + x;
static void
fbStore_x2b10g10r10 (pixman_image_t *image,
- uint32_t *bits, const uint64_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint64_t *values, int x, int width)
{
int i;
uint32_t *pixel = bits + x;
static void
fbStore_a8r8g8b8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
MEMCPY_WRAPPED(image, ((uint32_t *)bits) + x, values, width*sizeof(uint32_t));
}
static void
fbStore_x8r8g8b8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint32_t *pixel = (uint32_t *)bits + x;
static void
fbStore_a8b8g8r8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint32_t *pixel = (uint32_t *)bits + x;
static void
fbStore_x8b8g8r8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint32_t *pixel = (uint32_t *)bits + x;
static void
fbStore_b8g8r8a8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint32_t *pixel = (uint32_t *)bits + x;
static void
fbStore_b8g8r8x8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint32_t *pixel = (uint32_t *)bits + x;
static void
fbStore_r8g8b8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width,
- const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + 3*x;
static void
fbStore_b8g8r8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + 3*x;
static void
fbStore_r5g6b5 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_b5g6r5 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_a1r5g5b5 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_x1r5g5b5 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_a1b5g5r5 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_x1b5g5r5 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_a4r4g4b4 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_x4r4g4b4 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_a4b4g4r4 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_x4b4g4r4 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint16_t *pixel = ((uint16_t *) bits) + x;
static void
fbStore_a8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + x;
static void
fbStore_r3g3b2 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + x;
static void
fbStore_b2g3r3 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + x;
static void
fbStore_a2r2g2b2 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + x;
static void
fbStore_a2b2g2r2 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + x;
static void
fbStore_c8 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
+ const pixman_indexed_t *indexed = image->bits.indexed;
int i;
uint8_t *pixel = ((uint8_t *) bits) + x;
for (i = 0; i < width; ++i) {
static void
fbStore_x4a4 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
uint8_t *pixel = ((uint8_t *) bits) + x;
static void
fbStore_a4 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
for (i = 0; i < width; ++i) {
static void
fbStore_r1g2b1 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
for (i = 0; i < width; ++i) {
static void
fbStore_b1g2r1 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
for (i = 0; i < width; ++i) {
static void
fbStore_a1r1g1b1 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
for (i = 0; i < width; ++i) {
static void
fbStore_a1b1g1r1 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
for (i = 0; i < width; ++i) {
static void
fbStore_c4 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
+ const pixman_indexed_t *indexed = image->bits.indexed;
int i;
for (i = 0; i < width; ++i) {
uint32_t pixel;
static void
fbStore_a1 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
int i;
for (i = 0; i < width; ++i)
static void
fbStore_g1 (pixman_image_t *image,
- uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint32_t *values, int x, int width)
{
+ const pixman_indexed_t *indexed = image->bits.indexed;
int i;
for (i = 0; i < width; ++i)
{
*/
static void
fbStore64_generic (pixman_image_t *image,
- uint32_t *bits, const uint64_t *values, int x, int width, const pixman_indexed_t * indexed)
+ uint32_t *bits, const uint64_t *values, int x, int width)
{
uint32_t *argb8Pixels;
*/
pixman_contract(argb8Pixels, values, width);
- image->bits.store_scanline_raw_32 (image, bits, argb8Pixels, x, width, indexed);
+ image->bits.store_scanline_raw_32 (image, bits, argb8Pixels, x, width);
free(argb8Pixels);
}