Lines Matching refs:pixel
72 static int pixel_limit; /* Optionally force a pixel resolution limit */
419 * Rather than 256 pixel commands which are either rl or raw encoded,
424 * compression than 256 pixel raw or rle commands, with similar CPU consumpion.
436 const uint16_t *pixel = *pixel_start_ptr;
440 while ((pixel_end > pixel) &&
448 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) {
449 pixel++;
462 cmd_pixel_start = pixel;
465 raw_pixel_start = pixel;
467 cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL,
468 (unsigned long)(pixel_end - pixel),
473 while (cmd_pixel_end - 1 > pixel &&
478 while (pixel < cmd_pixel_end) {
479 const uint16_t * const repeating_pixel = pixel;
480 u16 pixel_value = *pixel;
484 *(u16 *)((u8 *)pixel + back_buffer_offset) = pixel_value;
486 pixel++;
488 if (unlikely((pixel < cmd_pixel_end) &&
489 (*pixel == pixel_value))) {
490 /* go back and fill in raw pixel count */
496 *(u16 *)((u8 *)pixel + back_buffer_offset) = pixel_value;
497 pixel++;
498 } while ((pixel < cmd_pixel_end) &&
499 (*pixel == pixel_value));
502 *cmd++ = ((pixel - repeating_pixel) - 1) & 0xFF;
504 /* Then start another raw pixel span */
505 raw_pixel_start = pixel;
510 if (pixel > raw_pixel_start) {
512 *raw_pixels_count_byte = (pixel-raw_pixel_start) & 0xFF;
518 *cmd_pixels_count_byte = (pixel - cmd_pixel_start) & 0xFF;
519 dev_addr += (u8 *)pixel - (u8 *)cmd_pixel_start;
530 *pixel_start_ptr = pixel;
535 * There are 3 copies of every pixel: The front buffer that the fbdev
1143 *buf++ = 0x01; /* one pixel */
1614 "DL chip limited to %d pixel modes\n",