Lines Matching refs:word
84 * stored in a word of configurable length (up to 32 bits). Individual
86 * the word (i.e., it is possible to shift and mask out a contiguous
106 uint8_t toPixel(uint32_t word) const {
107 return round(((word >> offset) & mask) * factor);
134 /** Get the Pixel representation of a color word. */
135 Pixel toPixel(uint32_t word) const {
136 return Pixel(ch_r.toPixel(word),
137 ch_g.toPixel(word),
138 ch_b.toPixel(word));
141 /** Get a Pixel representation by reading a word from memory. */
146 /** Convert a Pixel into a color word */
154 * Convert a pixel into a color word and store the resulting word
162 * Read a word of a given length and endianness from memory.
165 * length of a color word. Note that some of the bytes may be
168 * @param p Pointer to the first byte in the word.
173 * Write a word of a given length and endianness to memory.
176 * @param word Word to store (host endianness).
178 void writeWord(uint8_t *p, uint32_t word) const;