Changeset abf2dfd in mainline for abi/include/abi/fourcc.h
- Timestamp:
- 2015-08-18T17:52:25Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6a8ce16
- Parents:
- b688fd8
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/fourcc.h
rb688fd8 rabf2dfd 33 33 */ 34 34 35 #ifndef LIBC_FOURCC_H_ 36 #define LIBC_FOURCC_H_ 37 38 #include <libarch/common.h> 39 40 typedef uint32_t fourcc_t; 35 #ifndef ABI_FOURCC_H_ 36 #define ABI_FOURCC_H_ 41 37 42 38 #define FOURCC(a, b, c, d) \ … … 44 40 (((UINT32_T) (c)) << 16) | (((UINT32_T) (d)) << 24)) 45 41 42 #define CC_COMPACT(a) \ 43 ((((UINT32_T) (a)) & 0x7c) >> 2) 44 45 #define FOURCC_COMPACT(a, b, c, d) \ 46 ((CC_COMPACT(a) << 12) | (CC_COMPACT(b) << 17) | \ 47 (CC_COMPACT(c) << 22) | (CC_COMPACT(d) << 27)) 48 46 49 #endif 47 50
Note:
See TracChangeset
for help on using the changeset viewer.