Read 16, 24 or 32 bits stored in little-endian order.
| 24 | |
| 25 | // Read 16, 24 or 32 bits stored in little-endian order. |
| 26 | static WEBP_INLINE int GetLE16(const uint8_t* const data) { |
| 27 | return (int)(data[0] << 0) | (data[1] << 8); |
| 28 | } |
| 29 | |
| 30 | static WEBP_INLINE int GetLE24(const uint8_t* const data) { |
| 31 | return GetLE16(data) | (data[2] << 16); |