Changeset ff381a7 in mainline for abi/include/abi/fourcc.h
- Timestamp:
- 2015-11-02T20:54:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/fourcc.h
r3feeab2 rff381a7 33 33 */ 34 34 35 #ifndef LIBC_FOURCC_H_36 #define LIBC_FOURCC_H_35 #ifndef ABI_FOURCC_H_ 36 #define ABI_FOURCC_H_ 37 37 38 #include <libarch/common.h> 39 40 typedef uint32_t fourcc_t; 38 #include "../../../common.h" 41 39 42 40 #define FOURCC(a, b, c, d) \ … … 44 42 (((UINT32_T) (c)) << 16) | (((UINT32_T) (d)) << 24)) 45 43 44 #define CC_COMPACT(a) \ 45 ((UINT32_T) (a) & 0x7f) 46 47 #define FOURCC_COMPACT(a, b, c, d) \ 48 ((CC_COMPACT(a) << 4) | (CC_COMPACT(b) << 11) | \ 49 (CC_COMPACT(c) << 18) | (CC_COMPACT(d) << 25)) 50 46 51 #endif 47 52
Note:
See TracChangeset
for help on using the changeset viewer.