Home | History | Annotate | Download | only in utils

Lines Matching refs:val

60 static WEBP_INLINE void PutLE16(uint8_t* const data, int val) {
61 assert(val < (1 << 16));
62 data[0] = (val >> 0);
63 data[1] = (val >> 8);
66 static WEBP_INLINE void PutLE24(uint8_t* const data, int val) {
67 assert(val < (1 << 24));
68 PutLE16(data, val & 0xffff);
69 data[2] = (val >> 16);
72 static WEBP_INLINE void PutLE32(uint8_t* const data, uint32_t val) {
73 PutLE16(data, (int)(val & 0xffff));
74 PutLE16(data + 2, (int)(val >> 16));