Changeset 563573b in mainline for uspace/lib/c/include/io/pixel.h
- Timestamp:
- 2012-11-24T17:49:48Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8e2ac5
- Parents:
- ba733e83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/pixel.h
rba733e83 r563573b 42 42 ((channel) >> (8 - (bits))) 43 43 44 #define INVERT(pixel) ((pixel) ^ 0x00ffffff) 45 44 46 #define ALPHA(pixel) ((pixel) >> 24) 45 47 #define RED(pixel) (((pixel) & 0x00ff0000) >> 16)
Note:
See TracChangeset
for help on using the changeset viewer.