Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:png_uint_16

448    png_ptr->num_palette = (png_uint_16)num_palette;
677 png_uint_16 red_int, green_int;
685 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L);
686 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L);
696 png_ptr->rgb_to_gray_blue_coeff = (png_uint_16)(32768-red_int-green_int);
774 png_ptr->background.gray *= (png_uint_16)0xff;
779 png_ptr->trans_values.gray *= (png_uint_16)0xff;
785 png_ptr->background.gray *= (png_uint_16)0x55;
790 png_ptr->trans_values.gray *= (png_uint_16)0x55;
796 png_ptr->background.gray *= (png_uint_16)0x11;
801 png_ptr->trans_values.gray *= (png_uint_16)0x11;
993 png_ptr->background_1.gray = (png_uint_16)(pow(
995 png_ptr->background.gray = (png_uint_16)(pow(
1003 png_ptr->background_1.red = (png_uint_16)(pow(
1005 png_ptr->background_1.green = (png_uint_16)(pow(
1007 png_ptr->background_1.blue = (png_uint_16)(pow(
1009 png_ptr->background.red = (png_uint_16)(pow(
1011 png_ptr->background.green = (png_uint_16)(pow(
1013 png_ptr->background.blue = (png_uint_16)(pow(
1085 png_uint_16 i;
1086 png_uint_16 istop = png_ptr->num_palette;
1607 png_uint_16 value = 0;
1686 value = (png_uint_16)((*bp << 8) + *(bp + 1));
2298 png_uint_16 red, green, blue, w;
2300 red = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2301 green = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2302 blue = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2308 png_uint_16 red_1 = png_ptr->gamma_16_to_1[(red&0xff) >>
2310 png_uint_16 green_1 = png_ptr->gamma_16_to_1[(green&0xff) >>
2312 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue&0xff) >>
2314 png_uint_16 gray16 = (png_uint_16)((rc*red_1 + gc*green_1
2332 png_uint_16 red, green, blue, gray16;
2334 red = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2335 green = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2336 blue = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2340 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15);
2395 png_uint_16 red, green, blue, w;
2397 red = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2398 green = (png_uint_16)(((*(sp))<<8) | *(sp+1)); sp+=2;
2399 blue = (png_uint_16
2405 png_uint_16 red_1 = png_ptr->gamma_16_to_1[(red&0xff) >>
2407 png_uint_16 green_1 = png_ptr->gamma_16_to_1[(green&0xff) >>
2409 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue&0xff) >>
2411 png_uint_16 gray16 = (png_uint_16)((rc * red_1
2431 png_uint_16 red, green, blue, gray16;
2432 red = (png_uint_16)((*(sp)<<8) | *(sp+1)); sp+=2;
2433 green = (png_uint_16)((*(sp)<<8) | *(sp+1)); sp+=2;
2434 blue = (png_uint_16)((*(sp)<<8) | *(sp+1)); sp+=2;
2437 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue)>>15);
2728 if ((png_uint_16)((*sp >> shift) & 0x01)
2753 if ((png_uint_16)((*sp >> shift) & 0x03)
2783 if ((png_uint_16)((*sp >> shift) & 0x03)
2809 if ((png_uint_16)((*sp >> shift) & 0x0f)
2839 if ((png_uint_16)((*sp >> shift) & 0x0f)
2896 png_uint_16 v;
2898 v = (png_uint_16)(((*sp) << 8) + *(sp + 1));
2919 png_uint_16 v;
2921 v = (png_uint_16)(((*sp) << 8) + *(sp + 1));
2985 png_uint_16 r = (png_uint_16)(((*sp) << 8) + *(sp + 1));
2986 png_uint_16 g = (png_uint_16)(((*(sp+2)) << 8) + *(sp+3));
2987 png_uint_16 b = (png_uint_16)(((*(sp+4)) << 8) + *(sp+5));
3001 png_uint_16 v = gamma_16[*(sp + 1) >> gamma_shift][*sp];
3019 png_uint_16 r = (png_uint_16)(((*sp) << 8) + *(sp+1));
3020 png_uint_16 g = (png_uint_16)(((*(sp+2)) << 8) + *(sp+3));
3021 png_uint_16 b = (png_uint_16)(((*(sp+4)) << 8) + *(sp+5));
3050 png_uint_16 a = *(sp + 1);
3109 png_uint_16 a = (png_uint_16)(((*(sp+2)) << 8) + *(sp+3));
3111 if (a == (png_uint_16)0xffff)
3113 png_uint_16 v;
3132 png_uint_16 g, v, w;
3150 png_uint_16 a = (png_uint_16)(((*(sp+2)) << 8) + *(sp+3));
3151 if (a == (png_uint_16)0xffff)
3167 png_uint_16 g, v;
3169 g = (png_uint_16)(((*sp) << 8) + *(sp + 1));
3265 png_uint_16 a = (png_uint_16)(((png_uint_16)(*(sp + 6))
3266 << 8) + (png_uint_16)(*(sp + 7)));
3267 if (a == (png_uint_16)0xffff)
3269 png_uint_16 v;
3293 png_uint_16 v, w, x;
3320 png_uint_16 a = (png_uint_16)(((png_uint_16)(*(sp + 6))
3321 << 8) + (png_uint_16)(*(sp + 7)));
3322 if (a == (png_uint_16)0xffff)
3337 png_uint_16 v;
3339 png_uint_16 r = (png_uint_16)(((*sp) << 8) + *(sp + 1));
3340 png_uint_16 g = (png_uint_16)(((*(sp + 2)) << 8)
3342 png_uint_16 b = (png_uint_16)(((*(sp + 4)) << 8)
3420 png_uint_16 v;
3459 png_uint_16 v = gamma_16_table[*(sp + 1) >> gamma_shift][*sp];
3491 png_uint_16 v = gamma_16_table[*(sp + 1) >> gamma_shift][*sp];
3546 png_uint_16 v = gamma_16_table[*(sp + 1) >> gamma_shift][*sp];
3722 png_uint_16 gray = (png_uint_16)(trans_value ? trans_value->gray : 0);
3730 gray = (png_uint_16)((gray&0x01)*0xff);
3754 gray = (png_uint_16)((gray&0x03)*0x55);
3777 gray = (png_uint_16)((gray&0x0f)*0x11);
4127 (png_uint_32)(256 * png_sizeof (png_uint_16)));
4140 [(int)(last >> (8 - shift))] = (png_uint_16)(
4141 (png_uint_16)i | ((png_uint_16)i << 8));
4148 [(int)(last >> (8 - shift))] = (png_uint_16)65535L;
4157 (png_uint_32)(256 * png_sizeof (png_uint_16)));
4163 (png_uint_16)(pow((double)(ig + ((png_uint_32)j << 8)) /
4182 (png_uint_32)(256 * png_sizeof (png_uint_16)));
4189 (png_uint_16)(pow((double)(ig + ((png_uint_32)j << 8)) /
4205 (png_uint_32)(256 * png_sizeof (png_uint_16)));
4212 (png_uint_16)(pow((double)(ig + ((png_uint_32)j << 8)) /