Lines Matching defs:line
134 set_1_bit_per_pixel(uint8 *line, int32 x, int32 value)
138 line[x / 8] |= mask;
140 line[x / 8] &= ~mask;
145 set_4_bits_per_pixel(uint8 *line, int32 x, int32 value)
150 line[x / 2] &= mask;
151 line[x / 2] |= value << shift;
156 get_1_bit_per_pixel(uint8 *line, int32 x)
158 return (line[x / 8] >> (7 - (x & 7))) & 1;
163 get_4_bits_per_pixel(uint8 *line, int32 x)
165 return (line[x / 2] >> (4 * ((x + 1) & 1))) & 0xf;
319 uint8 *line = get_data_row(xorData, xorDataSize, xorRowBytes, row);
326 index = get_1_bit_per_pixel(line, x);
329 index = get_4_bits_per_pixel(line, x);
333 index = line[x];
342 uint16 color = ((uint16 *)line)[x];
350 outRowData[x].blue = line[x * 3 + 0];
351 outRowData[x].green = line[x * 3 + 1];
352 outRowData[x].red = line[x * 3 + 2];
356 outRowData[x] = ((rgba32_color *)line)[x];
406 // (ICO data is upside down, so we're starting at the last line)