Searched refs:pixel (Results 1 - 7 of 7) sorted by relevance

/gem5/src/base/
H A Dpixel.hh80 * Configurable RGB pixel converter.
87 * bit range for each pixel).
147 uint32_t fromPixel(const Pixel &pixel) const {
148 return ch_r.fromPixel(pixel.red) |
149 ch_g.fromPixel(pixel.green) |
150 ch_b.fromPixel(pixel.blue);
154 * Convert a pixel into a color word and store the resulting word
157 void fromPixel(uint8_t *rfb, const Pixel &pixel) const {
158 writeWord(rfb, fromPixel(pixel));
180 /** Bytes per pixel whe
[all...]
H A Dframebuffer.hh51 #include "base/pixel.hh"
63 * image. That is, the pixel at position (0, 0) is the upper left
105 * Fill the frame buffer with a single pixel value
107 * @param pixel Pixel value to fill with.
109 void fill(const Pixel &pixel);
116 * Fill the frame buffer with pixel data from an external buffer
124 * Fill the frame buffer with pixel data from an external buffer
154 * Get a pixel from an (x, y) coordinate
159 const Pixel &pixel(unsigned x, unsigned y) const { function in class:FrameBuffer
167 * Get a pixel fro
[all...]
H A Dframebuffer.cc91 FrameBuffer::fill(const Pixel &pixel) argument
94 p = pixel;
H A Dbmpwriter.cc69 sizeof(CompleteV1Header) /* Offset to pixel array */
77 32, /* Bits per pixel */
104 line_buffer[x] = fb.pixel(x, fb.height() - y - 1);
H A Dpngwriter.cc164 rowPacked[x] = fb.pixel(x, y);
/gem5/src/dev/
H A Dpixelpump.cc224 Pixel pixel(0, 0, 0);
227 if (!nextPixel(pixel)) {
232 pixel = underrun_pixel;
234 fb.pixel(_posX, pos_y) = pixel;
237 // Fill remaining pixels with a dummy pixel value if we ran out of
240 fb.pixel(_posX, pos_y) = underrun_pixel;
288 Pixel pixel(0, 0, 0);
290 if (!nextPixel(pixel)) {
294 fb.pixel(_pos
[all...]
/gem5/src/base/vnc/
H A Dvncserver.cc78 4, // 4 bytes / pixel
131 // We currently only support one pixel format. Extract the pixel
486 DPRINTF(VNC, "Received pixel format from client message\n");
673 pixelConverter.fromPixel(raw_pixel, fb->pixel(x, y));

Completed in 10 milliseconds