Lines Matching full:color

83     int jpeg_full;              /* Allow full color JPEG */
150 * If client is big-endian, color samples begin from the second in tight_detect_smooth_image24()
473 * if it does, use the first color instead \
544 * ``Gradient'' filter for 24-bit color samples.
546 * Color components assumed to be byte-aligned.
602 * ``Gradient'' filter for other color depths.
669 * Check if a rectangle is all of the same color. If needSameColor is
670 * set to non-zero, then also check that its color equals to the
672 * that case new color will be stored in *colorPtr.
677 uint32_t *color, bool samecolor) in check_solid_tile32() argument
687 if (samecolor && (uint32_t)c != *color) { in check_solid_tile32()
701 *color = (uint32_t)c; in check_solid_tile32()
706 uint32_t* color, bool samecolor) in check_solid_tile() argument
709 return check_solid_tile32(vs, x, y, w, h, color, samecolor); in check_solid_tile()
713 uint32_t color, int *w_ptr, int *h_ptr) in find_best_solid_area() argument
726 if (!check_solid_tile(vs, x, dy, dw, dh, &color, true)) { in find_best_solid_area()
733 if (!check_solid_tile(vs, dx, dy, dw, dh, &color, true)) { in find_best_solid_area()
751 uint32_t color, int *x_ptr, int *y_ptr, in extend_solid_area() argument
758 cy >= y && check_solid_tile(vs, *x_ptr, cy, *w_ptr, 1, &color, true); in extend_solid_area()
766 check_solid_tile(vs, *x_ptr, cy, *w_ptr, 1, &color, true); in extend_solid_area()
772 cx >= x && check_solid_tile(vs, cx, *y_ptr, 1, *h_ptr, &color, true); in extend_solid_area()
780 check_solid_tile(vs, cx, *y_ptr, 1, *h_ptr, &color, true); in extend_solid_area()
1036 static void write_palette(int idx, uint32_t color, void *opaque) in write_palette() argument
1043 ((uint32_t*)priv->header)[idx] = color; in write_palette()
1045 ((uint16_t*)priv->header)[idx] = color; in write_palette()
1250 png_colorp color = &priv->png_palette[idx]; in write_png_palette() local
1254 color->red = (pix >> vs->client_pf.rshift) & vs->client_pf.rmax; in write_png_palette()
1255 color->green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()
1256 color->blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()
1265 color->red = ((red * 255 + vs->client_pf.rmax / 2) / in write_png_palette()
1267 color->green = ((green * 255 + vs->client_pf.gmax / 2) / in write_png_palette()
1269 color->blue = ((blue * 255 + vs->client_pf.bmax / 2) / in write_png_palette()
1579 /* Try to find large solid-color areas and send them separately. */ in find_large_solid_color_rect()
1603 /* Get dimensions of solid-color area. */ in find_large_solid_color_rect()
1609 (or the whole rectangle is of the same color). */ in find_large_solid_color_rect()
1622 /* Send rectangles at top and left to solid-color area. */ in find_large_solid_color_rect()
1632 /* Send solid-color rectangle. */ in find_large_solid_color_rect()