Lines Matching refs:pixel
72 static int pixel_limit; /* Optionally force a pixel resolution limit */
416 * Rather than 256 pixel commands which are either rl or raw encoded,
421 * compression than 256 pixel raw or rle commands, with similar CPU consumpion.
433 const uint16_t *pixel = *pixel_start_ptr;
437 while ((pixel_end > pixel) &&
445 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) {
446 pixel++;
459 cmd_pixel_start = pixel;
462 raw_pixel_start = pixel;
464 cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL,
465 (unsigned long)(pixel_end - pixel),
470 while (cmd_pixel_end - 1 > pixel &&
475 while (pixel < cmd_pixel_end) {
476 const uint16_t * const repeating_pixel = pixel;
477 u16 pixel_value = *pixel;
481 *(u16 *)((u8 *)pixel + back_buffer_offset) = pixel_value;
483 pixel++;
485 if (unlikely((pixel < cmd_pixel_end) &&
486 (*pixel == pixel_value))) {
487 /* go back and fill in raw pixel count */
493 *(u16 *)((u8 *)pixel + back_buffer_offset) = pixel_value;
494 pixel++;
495 } while ((pixel < cmd_pixel_end) &&
496 (*pixel == pixel_value));
499 *cmd++ = ((pixel - repeating_pixel) - 1) & 0xFF;
501 /* Then start another raw pixel span */
502 raw_pixel_start = pixel;
507 if (pixel > raw_pixel_start) {
509 *raw_pixels_count_byte = (pixel-raw_pixel_start) & 0xFF;
515 *cmd_pixels_count_byte = (pixel - cmd_pixel_start) & 0xFF;
516 dev_addr += (u8 *)pixel - (u8 *)cmd_pixel_start;
527 *pixel_start_ptr = pixel;
532 * There are 3 copies of every pixel: The front buffer that the fbdev
1142 *buf++ = 0x01; /* one pixel */
1621 "DL chip limited to %d pixel modes\n",