Home | History | Annotate | Download | only in libpng

Lines Matching refs:blue

501          int b = (palette[i].blue >> (8 - PNG_DITHER_BLUE_BITS));
816 png_ptr->background.red == png_ptr->background.blue)
834 = png_ptr->background.blue = png_ptr->background.gray;
839 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
846 = png_ptr->background.blue = png_ptr->background.gray;
851 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
858 = png_ptr->background.blue = png_ptr->background.gray;
863 = png_ptr->trans_values.blue = png_ptr->trans_values.gray;
871 = png_ptr->background.blue = png_ptr->background.gray;
881 png_ptr->background.blue =
882 png_ptr->palette[png_ptr->background.index].blue;
945 back.blue = png_ptr->gamma_table[png_ptr->background.blue];
949 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue];
981 back.blue = (png_byte)png_ptr->background.blue;
990 back.blue = (png_byte)(pow(
991 (double)png_ptr->background.blue/255, gs) * 255.0 + .5);
998 back_1.blue = (png_byte)(pow(
999 (double)png_ptr->background.blue/255, g) * 255.0 + .5);
1021 v = png_ptr->gamma_to_1[palette[i].blue];
1022 png_composite(w, v, png_ptr->trans[i], back_1.blue);
1023 palette[i].blue = png_ptr->gamma_from_1[w];
1030 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
1075 (png_ptr->background.red != png_ptr->background.blue) ||
1083 png_ptr->background_1.blue = (png_uint_16)(pow(
1084 (double)png_ptr->background.blue / m, g) * m + .5);
1089 png_ptr->background.blue = (png_uint_16)(pow(
1090 (double)png_ptr->background.blue / m, gs) * m + .5);
1096 = png_ptr->background_1.blue = png_ptr->background_1.gray;
1098 = png_ptr->background.blue = png_ptr->background.gray;
1115 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
1138 back.blue = (png_byte)png_ptr->background.blue;
1153 png_composite(palette[i].blue, palette[i].blue,
1154 png_ptr->trans[i], back.blue);
1172 int sb = 8 - png_ptr->sig_bit.blue;
1184 png_ptr->palette[i].blue >>= sb;
1705 shift[channels++] = row_info->bit_depth - sig_bits->blue;
2361 png_byte blue = png_ptr->gamma_to_1[*(sp++)];
2362 if (red != green || red != blue)
2366 (rc*red + gc*green + bc*blue)>>15];
2381 png_byte blue = *(sp++);
2382 if (red != green || red != blue)
2385 *(dp++) = (png_byte)((rc*red + gc*green + bc*blue)>>15);
2403 png_uint_16 red, green, blue, w;
2407 blue = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2409 if (red == green && red == blue)
2418 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue&0xff) >>
2419 png_ptr->gamma_shift][blue>>8];
2438 png_uint_16 red, green, blue, gray16;
2442 blue = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2444 if (red != green || red != blue)
2446 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15);
2466 png_byte blue = png_ptr->gamma_to_1[*(sp++)];
2467 if (red != green || red != blue)
2470 [(rc*red + gc*green + bc*blue)>>15];
2483 blue = *(sp++);
2484 if (red != green || red != blue)
2486 *(dp++) = (png_byte)((rc*red + gc*green + bc*blue)>>15);
2501 png_uint_16 red, green, blue, w;
2505 blue = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2507 if (red == green && red == blue)
2516 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue&0xff) >>
2517 png_ptr->gamma_shift][blue>>8];
2538 png_uint_16 red, green, blue, gray16;
2541 blue = (png_uint_16)((*(sp)<<8) | *(sp+1)); sp+=2;
2542 if (red != green || red != blue)
2544 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15);
2613 palette[i].blue = (png_byte)v;
2637 back.blue = png_ptr->gamma_table[png_ptr->background.blue];
2641 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue];
2654 back.blue = png_ptr->background.blue;
2664 back.blue =
2665 (png_byte)(pow((double)png_ptr->background.blue/255, g) *
2677 back_1.blue =
2678 (png_byte)(pow((double)png_ptr->background.blue/255, g) *
2704 v = png_ptr->gamma_to_1[png_ptr->palette[i].blue];
2705 png_composite(w, v, png_ptr->trans[i], back_1.blue);
2706 palette[i].blue = png_ptr->gamma_from_1[w];
2712 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
2730 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
2746 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
2762 back.blue = (png_byte)png_ptr->background.blue;
2770 palette[i].blue = back.blue;
2778 png_composite(palette[i].blue, png_ptr->palette[i].blue,
2779 png_ptr->trans[i], back.blue);
2793 palette[i].blue = (png_byte)png_ptr->background.blue;
3067 *(sp + 2) == trans_values->blue)
3071 *(sp + 2) = (png_byte)background->blue;
3089 *(sp + 2) == trans_values->blue)
3093 *(sp + 2) = (png_byte)background->blue;
3110 b == trans_values->blue)
3117 *(sp + 4) = (png_byte)((background->blue >> 8) & 0xff);
3118 *(sp + 5) = (png_byte)(background->blue & 0xff);
3145 b == trans_values->blue)
3151 *(sp + 4) = (png_byte)((background->blue >> 8) & 0xff);
3152 *(sp + 5) = (png_byte)(background->blue & 0xff);
3328 *(dp + 2) = (png_byte)background->blue;
3341 png_composite(w, v, a, background_1->blue);
3365 *(dp + 2) = (png_byte)background->blue;
3373 background->blue);
3411 *(dp + 4) = (png_byte)((background->blue >> 8) & 0xff);
3412 *(dp + 5) = (png_byte)(background->blue & 0xff);
3429 png_composite_16(w, v, a, background_1->blue);
3455 *(dp + 4) = (png_byte)((background->blue >> 8) & 0xff);
3456 *(dp + 5) = (png_byte)(background->blue & 0xff);
3474 png_composite_16(v, b, a, background->blue);
3801 *dp-- = palette[*sp].blue;
3819 *dp-- = palette[*sp].blue;
3994 png_byte blue = trans_value->blue & 0xff;
3999 if (*(sp - 2) == red && *(sp - 1) == green && *(sp) == blue)
4012 png_byte blue_high = (trans_value->blue >> 8) & 0xff;
4015 png_byte blue_low = trans_value->blue & 0xff;
4256 if ((int)png_ptr->sig_bit.blue > sig_bit)
4257 sig_bit = png_ptr->sig_bit.blue;
4457 png_uint_32 blue = (png_uint_32)((s2 + s1 + 65536L) & 0xffffL);
4460 *(rp+4) = (png_byte)((blue >> 8) & 0xff);
4461 *(rp+5) = (png_byte)(blue & 0xff);