Lines Matching defs:pixel

72 static int pixel_limit; /* Optionally force a pixel resolution limit */
421 * Rather than 256 pixel commands which are either rl or raw encoded,
426 * compression than 256 pixel raw or rle commands, with similar CPU consumpion.
438 const uint16_t *pixel = *pixel_start_ptr;
442 while ((pixel_end > pixel) &&
450 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) {
451 pixel++;
464 cmd_pixel_start = pixel;
467 raw_pixel_start = pixel;
469 cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL,
470 (unsigned long)(pixel_end - pixel),
475 while (cmd_pixel_end - 1 > pixel &&
480 while (pixel < cmd_pixel_end) {
481 const uint16_t * const repeating_pixel = pixel;
482 u16 pixel_value = *pixel;
486 *(u16 *)((u8 *)pixel + back_buffer_offset) = pixel_value;
488 pixel++;
490 if (unlikely((pixel < cmd_pixel_end) &&
491 (*pixel == pixel_value))) {
492 /* go back and fill in raw pixel count */
498 *(u16 *)((u8 *)pixel + back_buffer_offset) = pixel_value;
499 pixel++;
500 } while ((pixel < cmd_pixel_end) &&
501 (*pixel == pixel_value));
504 *cmd++ = ((pixel - repeating_pixel) - 1) & 0xFF;
506 /* Then start another raw pixel span */
507 raw_pixel_start = pixel;
512 if (pixel > raw_pixel_start) {
514 *raw_pixels_count_byte = (pixel-raw_pixel_start) & 0xFF;
520 *cmd_pixels_count_byte = (pixel - cmd_pixel_start) & 0xFF;
521 dev_addr += (u8 *)pixel - (u8 *)cmd_pixel_start;
532 *pixel_start_ptr = pixel;
537 * There are 3 copies of every pixel: The front buffer that the fbdev
1083 *buf++ = 0x01; /* one pixel */
1571 "DL chip limited to %d pixel modes\n",