Lines Matching refs:pixel
29 uint32_t x, uint32_t y, pixel_t* pixel);
31 uint32_t x, uint32_t y, const pixel_t* pixel);
33 uint32_t x, uint32_t y, pixel_t* pixel);
35 uint32_t x, uint32_t y, pixel_t* pixel);
114 uint32_t x, uint32_t y, pixel_t* pixel) in read_pixel() argument
129 pixel->s[i] = f->c[i].h - f->c[i].l; in read_pixel()
130 if (pixel->s[i]) in read_pixel()
131 pixel->c[i] = extract(v, f->c[i].h, f->c[i].l, f->size*8); in read_pixel()
136 uint32_t x, uint32_t y, pixel_t* pixel) in readRGB565() argument
139 pixel->c[0] = 0; in readRGB565()
140 pixel->c[1] = v>>11; in readRGB565()
141 pixel->c[2] = (v>>5)&0x3F; in readRGB565()
142 pixel->c[3] = v&0x1F; in readRGB565()
143 pixel->s[0] = 0; in readRGB565()
144 pixel->s[1] = 5; in readRGB565()
145 pixel->s[2] = 6; in readRGB565()
146 pixel->s[3] = 5; in readRGB565()
150 uint32_t x, uint32_t y, pixel_t* pixel) in readABGR8888() argument
154 pixel->c[0] = v>>24; // A in readABGR8888()
155 pixel->c[1] = v&0xFF; // R in readABGR8888()
156 pixel->c[2] = (v>>8)&0xFF; // G in readABGR8888()
157 pixel->c[3] = (v>>16)&0xFF; // B in readABGR8888()
158 pixel->s[0] = in readABGR8888()
159 pixel->s[1] = in readABGR8888()
160 pixel->s[2] = in readABGR8888()
161 pixel->s[3] = 8; in readABGR8888()
165 uint32_t x, uint32_t y, const pixel_t* pixel) in write_pixel() argument
192 uint32_t u = pixel->c[i]; in write_pixel()
193 int32_t pixelSize = pixel->s[i]; in write_pixel()