projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bdb984
)
Remove redundant defines.
author
Aaron Plattner
<aplattner@nvidia.com>
Tue, 14 Aug 2007 23:16:27 +0000
(16:16 -0700)
committer
Aaron Plattner
<aplattner@nvidia.com>
Tue, 14 Aug 2007 23:16:27 +0000
(16:16 -0700)
pixman/pixman-compose.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-compose.c
b/pixman/pixman-compose.c
index
6a9a2e7
..
b48251d
100644
(file)
--- a/
pixman/pixman-compose.c
+++ b/
pixman/pixman-compose.c
@@
-993,13
+993,6
@@
fbFetchPixel_x4a4 (pixman_image_t *image,
return ((pixel & 0xf) | ((pixel & 0xf) << 4)) << 24;
}
-#define Fetch8(l,o) (READ((uint8_t *)(l) + ((o) >> 2)))
-#if IMAGE_BYTE_ORDER == MSBFirst
-#define Fetch4(l,o) ((o) & 2 ? Fetch8(l,o) & 0xf : Fetch8(l,o) >> 4)
-#else
-#define Fetch4(l,o) ((o) & 2 ? Fetch8(l,o) >> 4 : Fetch8(l,o) & 0xf)
-#endif
-
static FASTCALL uint32_t
fbFetchPixel_a4 (pixman_image_t *image,
const uint32_t *bits, int offset, const pixman_indexed_t * indexed)