Lines Matching refs:blue

727          int b = (palette[i].blue >> (8 - PNG_QUANTIZE_BLUE_BITS));  in png_set_quantize()
1135 png_ptr->background.blue = in png_init_palette_transformations()
1136 png_ptr->palette[png_ptr->background.index].blue; in png_init_palette_transformations()
1232 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations()
1237 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
1416 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations()
1462 CHOP(png_ptr->background.blue); in png_init_read_transformations()
1485 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations()
1561 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1565 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()
1601 back.blue = png_gamma_8bit_correct(png_ptr->background.blue, in png_init_read_transformations()
1609 back.blue = (png_byte)png_ptr->background.blue; in png_init_read_transformations()
1618 back_1.blue = png_gamma_8bit_correct(png_ptr->background.blue, in png_init_read_transformations()
1626 back_1.blue = (png_byte)png_ptr->background.blue; in png_init_read_transformations()
1651 v = png_ptr->gamma_to_1[palette[i].blue]; in png_init_read_transformations()
1652 png_composite(w, v, png_ptr->trans_alpha[i], back_1.blue); in png_init_read_transformations()
1653 palette[i].blue = png_ptr->gamma_from_1[w]; in png_init_read_transformations()
1660 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1714 (png_ptr->background.red != png_ptr->background.blue) || in png_init_read_transformations()
1726 png_ptr->background_1.blue = png_gamma_correct(png_ptr, in png_init_read_transformations()
1727 png_ptr->background.blue, g); in png_init_read_transformations()
1738 png_ptr->background.blue = png_gamma_correct(png_ptr, in png_init_read_transformations()
1739 png_ptr->background.blue, gs); in png_init_read_transformations()
1747 = png_ptr->background_1.blue = png_ptr->background_1.gray; in png_init_read_transformations()
1750 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
1780 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1804 back.blue = (png_byte)png_ptr->background.blue; in png_init_read_transformations()
1822 png_composite(palette[i].blue, palette[i].blue, in png_init_read_transformations()
1823 png_ptr->trans_alpha[i], back.blue); in png_init_read_transformations()
1863 shift = 8 - png_ptr->sig_bit.blue; in png_init_read_transformations()
1866 int component = png_ptr->palette[i].blue; in png_init_read_transformations()
1869 png_ptr->palette[i].blue = (png_byte)component; in png_init_read_transformations()
2497 shift[channels++] = bit_depth - sig_bits->blue; in png_do_unshift()
3262 png_byte blue = *(sp++); in png_do_rgb_to_gray() local
3264 if (red != green || red != blue) in png_do_rgb_to_gray()
3268 blue = png_ptr->gamma_to_1[blue]; in png_do_rgb_to_gray()
3272 (rc*red + gc*green + bc*blue + 16384)>>15]; in png_do_rgb_to_gray()
3301 png_byte blue = *(sp++); in png_do_rgb_to_gray() local
3303 if (red != green || red != blue) in png_do_rgb_to_gray()
3309 *(dp++) = (png_byte)((rc*red + gc*green + bc*blue)>>15); in png_do_rgb_to_gray()
3332 png_uint_16 red, green, blue, w; in png_do_rgb_to_gray() local
3336 blue = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2; in png_do_rgb_to_gray()
3338 if (red == green && red == blue) in png_do_rgb_to_gray()
3355 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue&0xff) in png_do_rgb_to_gray()
3356 >> png_ptr->gamma_shift][blue>>8]; in png_do_rgb_to_gray()
3383 png_uint_16 red, green, blue, gray16; in png_do_rgb_to_gray() local
3387 blue = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2; in png_do_rgb_to_gray()
3389 if (red != green || red != blue) in png_do_rgb_to_gray()
3396 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue + 16384) >> in png_do_rgb_to_gray()
3473 palette[i].blue = (png_byte)v; in png_build_grayscale_palette()
3762 *(sp + 2) == png_ptr->trans_color.blue) in png_do_compose()
3766 *(sp + 2) = (png_byte)png_ptr->background.blue; in png_do_compose()
3785 *(sp + 2) == png_ptr->trans_color.blue) in png_do_compose()
3789 *(sp + 2) = (png_byte)png_ptr->background.blue; in png_do_compose()
3812 b == png_ptr->trans_color.blue) in png_do_compose()
3821 *(sp + 4) = (png_byte)((png_ptr->background.blue >> 8) in png_do_compose()
3823 *(sp + 5) = (png_byte)(png_ptr->background.blue & 0xff); in png_do_compose()
3859 b == png_ptr->trans_color.blue) in png_do_compose()
3867 *(sp + 4) = (png_byte)((png_ptr->background.blue >> 8) in png_do_compose()
3869 *(sp + 5) = (png_byte)(png_ptr->background.blue & 0xff); in png_do_compose()
4027 *(sp + 2) = (png_byte)png_ptr->background.blue; in png_do_compose()
4045 png_composite(w, v, a, png_ptr->background_1.blue); in png_do_compose()
4063 *(sp + 2) = (png_byte)png_ptr->background.blue; in png_do_compose()
4074 png_ptr->background.blue); in png_do_compose()
4117 *(sp + 4) = (png_byte)((png_ptr->background.blue >> 8) in png_do_compose()
4119 *(sp + 5) = (png_byte)(png_ptr->background.blue & 0xff); in png_do_compose()
4144 png_composite_16(w, v, a, png_ptr->background_1.blue); in png_do_compose()
4172 *(sp + 4) = (png_byte)((png_ptr->background.blue >> 8) in png_do_compose()
4174 *(sp + 5) = (png_byte)(png_ptr->background.blue & 0xff); in png_do_compose()
4195 png_composite_16(v, b, a, png_ptr->background.blue); in png_do_compose()
4600 *dp-- = palette[*sp].blue; in png_do_expand_palette()
4619 *dp-- = palette[*sp].blue; in png_do_expand_palette()
4803 png_byte blue = (png_byte)(trans_color->blue & 0xff); in png_do_expand() local
4808 if (*(sp - 2) == red && *(sp - 1) == green && *(sp) == blue) in png_do_expand()
4823 png_byte blue_high = (png_byte)((trans_color->blue >> 8) & 0xff); in png_do_expand()
4826 png_byte blue_low = (png_byte)(trans_color->blue & 0xff); in png_do_expand()
5044 png_uint_32 blue = (s2 + s1 + 65536) & 0xffff; in png_do_read_intrapixel() local
5047 *(rp + 4) = (png_byte)((blue >> 8) & 0xff); in png_do_read_intrapixel()
5048 *(rp + 5) = (png_byte)(blue & 0xff); in png_do_read_intrapixel()