Lines Matching refs:Pixel
54 * Internal gem5 representation of a Pixel.
56 struct Pixel
58 Pixel()
61 Pixel(uint8_t _red, uint8_t _green, uint8_t _blue)
71 operator==(const Pixel &lhs, const Pixel &rhs)
83 * internal Pixel representation. The class assumes that pixels are
134 /** Get the Pixel representation of a color word. */
135 Pixel toPixel(uint32_t word) const {
136 return Pixel(ch_r.toPixel(word),
141 /** Get a Pixel representation by reading a word from memory. */
142 Pixel toPixel(const uint8_t *rfb) const {
146 /** Convert a Pixel into a color word */
147 uint32_t fromPixel(const Pixel &pixel) const {
157 void fromPixel(uint8_t *rfb, const Pixel &pixel) const {
214 to_number(const std::string &value, Pixel &retval)
225 operator<<(std::ostream &os, const Pixel &pxl)