Home | History | Annotate | Download | only in jni

Lines Matching refs:png_uint_16

701    png_ptr->num_palette = (png_uint_16)num_palette;
969 png_uint_16 red_int, green_int;
976 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000);
977 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000);
1232 png_ptr->background.blue = (png_uint_16)gray;
1237 png_ptr->trans_color.blue = (png_uint_16)trans_gray;
1459 # define CHOP(x) (x)=((png_uint_16)(((png_uint_32)(x)*255+32895) >> 16))
1482 png_ptr->background.red = (png_uint_16)(png_ptr->background.red * 257);
1484 (png_uint_16)(png_ptr->background.green * 257);
1485 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257);
1486 png_ptr->background.gray = (png_uint_16)(png_ptr->background.gray * 257);
3332 png_uint_16 red, green, blue, w;
3334 red = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2;
3335 green = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2;
3336 blue = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2;
3350 png_uint_16 red_1 = png_ptr->gamma_16_to_1[(red&0xff)
3352 png_uint_16 green_1 =
3355 png_uint_16 blue_1 = png_ptr->gamma_16_to_1[(blue&0xff)
3357 png_uint_16 gray16 = (png_uint_16)((rc*red_1 + gc*green_1
3383 png_uint_16 red, green, blue, gray16;
3385 red = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2;
3386 green = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2;
3387 blue = (png_uint_16)(((*(sp))<<8) | *(sp + 1)); sp += 2;
3396 gray16 = (png_uint_16)((rc*red + gc*green + bc*blue + 16384) >>
3520 if ((png_uint_16)((*sp >> shift) & 0x01)
3548 if ((png_uint_16)((*sp >> shift) & 0x03)
3582 if ((png_uint_16)((*sp >> shift) & 0x03)
3611 if ((png_uint_16)((*sp >> shift) & 0x0f)
3645 if ((png_uint_16)((*sp >> shift) & 0x0f)
3701 png_uint_16 v;
3703 v = (png_uint_16)(((*sp) << 8) + *(sp + 1));
3728 png_uint_16 v;
3730 v = (png_uint_16)(((*sp) << 8) + *(sp + 1));
3802 png_uint_16 r = (png_uint_16)(((*sp) << 8) + *(sp + 1));
3804 png_uint_16 g = (png_uint_16)(((*(sp + 2)) << 8)
3807 png_uint_16 b = (png_uint_16)(((*(sp + 4)) << 8)
3828 png_uint_16 v = gamma_16[*(sp + 1) >> gamma_shift][*sp];
3849 png_uint_16 r = (png_uint_16)(((*sp) << 8) + *(sp + 1));
3851 png_uint_16 g = (png_uint_16)(((*(sp + 2)) << 8)
3854 png_uint_16 b = (png_uint_16)(((*(sp + 4)) << 8)
3888 png_uint_16 a = *(sp + 1);
3936 png_uint_16 a = (png_uint_16)(((*(sp + 2)) << 8)
3939 if (a == (png_uint_16)0xffff)
3941 png_uint_16 v;
3958 png_uint_16 g, v, w;
3977 png_uint_16 a = (png_uint_16)(((*(sp + 2)) << 8)
3989 png_uint_16 g, v;
3991 g = (png_uint_16)(((*sp) << 8) + *(sp + 1));
4088 png_uint_16 a = (png_uint_16)(((png_uint_16)(*(sp + 6))
4089 << 8) + (png_uint_16)(*(sp + 7)));
4091 if (a == (png_uint_16)0xffff)
4093 png_uint_16 v;
4124 png_uint_16 v, w;
4161 png_uint_16 a = (png_uint_16)(((png_uint_16)(*(sp + 6))
4162 << 8) + (png_uint_16)(*(sp + 7)));
4179 png_uint_16 v;
4181 png_uint_16 r = (png_uint_16)(((*sp) << 8) + *(sp + 1));
4182 png_uint_16 g = (png_uint_16)(((*(sp + 2)) << 8)
4184 png_uint_16 b = (png_uint_16)(((*(sp + 4)) << 8)
4258 png_uint_16 v;
4304 png_uint_16 v = gamma_16_table[*(sp + 1) >> gamma_shift][*sp];
4340 png_uint_16
4399 png_uint_16 v = gamma_16_table[*(sp + 1) >> gamma_shift][*sp];
4463 png_uint_16 v;
4653 png_uint_16 gray = (png_uint_16)(trans_color ? trans_color->gray : 0);
4661 gray = (png_uint_16)((gray & 0x01) * 0xff);
4689 gray = (png_uint_16)((gray & 0x03) * 0x55);
4714 gray = (png_uint_16)((gray & 0x0f) * 0x11);