libcdio 2.1.0
|
Generic Byte-swapping routines. More...
Go to the source code of this file.
Generic Byte-swapping routines.
Note: this header will is slated to get removed and libcdio will use glib.h routines instead.
#define CVT_TO_FUNC | ( | bits | ) |
converter function template
#define from_711 | ( | i | ) |
Convert from ISO 9660 7.1.1 format to uint8_t
#define from_721 | ( | i | ) |
Convert from ISO 9660 7.2.1 format to uint16_t
#define from_722 | ( | i | ) |
Convert from ISO 9660 7.2.2 format to uint16_t
#define from_731 | ( | i | ) |
Convert from ISO 9660 7.3.1 format to uint32_t
#define from_732 | ( | i | ) |
Convert from ISO 9660 7.3.2 format to uint32_t
#define to_711 | ( | i | ) |
ISO9660-related field conversion routines Convert from uint8_t to ISO 9660 7.1.1 format
#define to_721 | ( | i | ) |
Convert from uint16_t to ISO 9669 7.2.1 format
#define to_722 | ( | i | ) |
Convert from uint16_t to ISO 9669 7.2.2 format
#define to_731 | ( | i | ) |
Convert from uint16_t to ISO 9669 7.3.1 format
#define to_732 | ( | i | ) |
Convert from uint32_t to ISO 9669 7.3.2 format
#define UINT16_FROM_BE | ( | val | ) |
#define uint16_from_be | ( | val | ) |
#define UINT16_FROM_LE | ( | val | ) |
#define uint16_from_le | ( | val | ) |
#define UINT16_SWAP_LE_BE UINT16_SWAP_LE_BE_C |
#define UINT16_SWAP_LE_BE_C | ( | val | ) |
16-bit big-endian to little-endian
#define UINT16_TO_BE | ( | val | ) |
#define UINT16_TO_LE | ( | val | ) |
#define UINT32_FROM_BE | ( | val | ) |
#define uint32_from_be | ( | val | ) |
#define UINT32_FROM_LE | ( | val | ) |
#define uint32_from_le | ( | val | ) |
#define UINT32_SWAP_LE_BE UINT32_SWAP_LE_BE_C |
#define UINT32_SWAP_LE_BE_C | ( | val | ) |
32-bit big-endian to little-endian
#define UINT32_TO_BE | ( | val | ) |
#define UINT32_TO_LE | ( | val | ) |
#define UINT64_FROM_BE | ( | val | ) |
#define uint64_from_be | ( | val | ) |
#define UINT64_FROM_LE | ( | val | ) |
#define uint64_from_le | ( | val | ) |
#define UINT64_SWAP_LE_BE UINT64_SWAP_LE_BE_C |
#define UINT64_SWAP_LE_BE_C | ( | val | ) |
64-bit big-endian to little-endian
#define UINT64_TO_BE | ( | val | ) |
#define UINT64_TO_LE | ( | val | ) |
#define UINT8_FROM_BE | ( | val | ) |
symmetric conversions
#define uint8_from_be | ( | val | ) |
#define UINT8_FROM_LE | ( | val | ) |
#define uint8_from_le | ( | val | ) |
#define UINT8_TO_BE | ( | val | ) |
#define UINT8_TO_LE | ( | val | ) |