/external/syslinux/com32/lib/libpng/ |
D | pngrtran.c | 476 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_dither() 717 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() 725 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed() 726 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); in png_set_rgb_to_gray_fixed() 737 (png_uint_16)(32768 - red_int - green_int); in png_set_rgb_to_gray_fixed() 821 png_ptr->background.gray *= (png_uint_16)0xff; in png_init_read_transformations() 826 png_ptr->trans_values.gray *= (png_uint_16)0xff; in png_init_read_transformations() 833 png_ptr->background.gray *= (png_uint_16)0x55; in png_init_read_transformations() 838 png_ptr->trans_values.gray *= (png_uint_16)0x55; in png_init_read_transformations() 845 png_ptr->background.gray *= (png_uint_16)0x11; in png_init_read_transformations() [all …]
|
D | pngwtran.c | 275 png_uint_16 v; in png_do_shift() 298 png_uint_16 v; in png_do_shift() 322 png_uint_16 value, v; in png_do_shift() 325 v = (png_uint_16)(((png_uint_16)(*bp) << 8) + *(bp + 1)); in png_do_shift() 330 value |= (png_uint_16)((v << j) & (png_uint_16)0xffff); in png_do_shift() 332 value |= (png_uint_16)((v >> (-j)) & (png_uint_16)0xffff); in png_do_shift()
|
/external/skia/third_party/libpng/ |
D | pngstruct.h | 121 png_uint_16 rendering_intent; /* Rendering intent of a profile */ 125 png_uint_16 flags; /* As defined below */ 240 png_uint_16 num_palette; /* number of color entries in palette */ 247 png_uint_16 num_trans; /* number of transparency values */ 270 png_uint_16 filler; /* filler bytes for pixel expansion */ 344 png_uint_16 offset_table_number; 345 png_uint_16 offset_table_count; 346 png_uint_16 offset_table_count_free; 390 png_uint_16 rgb_to_gray_red_coeff; 391 png_uint_16 rgb_to_gray_green_coeff;
|
D | pngrtran.c | 736 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize() 1001 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() 1008 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1009 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed() 1264 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations() 1269 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations() 1502 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations() 1525 png_ptr->background.red = (png_uint_16)(png_ptr->background.red * 257); in png_init_read_transformations() 1527 (png_uint_16)(png_ptr->background.green * 257); in png_init_read_transformations() 1528 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations() [all …]
|
D | png.h | 527 png_uint_16 red; /* for use in red green blue files */ 528 png_uint_16 green; 529 png_uint_16 blue; 530 png_uint_16 gray; /* for use in grayscale files */ 554 png_uint_16 red; 555 png_uint_16 green; 556 png_uint_16 blue; 557 png_uint_16 alpha; 558 png_uint_16 frequency; 638 png_uint_16 year; /* full year, as in, 1995 */ [all …]
|
D | pngconf.h | 495 typedef unsigned int png_uint_16; typedef 497 typedef unsigned short png_uint_16; typedef 584 typedef png_uint_16 * png_uint_16p; 585 typedef const png_uint_16 * png_const_uint_16p; 608 typedef png_uint_16 * * png_uint_16pp;
|
D | pnginfo.h | 63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ 64 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */
|
D | png.c | 1904 colorspace->rendering_intent = (png_uint_16)intent; 2182 png_uint_16 intent; 2451 png_ptr->rgb_to_gray_red_coeff = (png_uint_16)r; 2452 png_ptr->rgb_to_gray_green_coeff = (png_uint_16)g; 3743 static png_uint_16 3751 return (png_uint_16)((x + 32767U) >> 16); 3804 png_uint_16 3817 return (png_uint_16)r; 3830 return (png_uint_16)value; 3839 png_uint_16 /* PRIVATE */ [all …]
|
/external/libpng/ |
D | pngstruct.h | 121 png_uint_16 rendering_intent; /* Rendering intent of a profile */ 125 png_uint_16 flags; /* As defined below */ 240 png_uint_16 num_palette; /* number of color entries in palette */ 247 png_uint_16 num_trans; /* number of transparency values */ 270 png_uint_16 filler; /* filler bytes for pixel expansion */ 344 png_uint_16 offset_table_number; 345 png_uint_16 offset_table_count; 346 png_uint_16 offset_table_count_free; 390 png_uint_16 rgb_to_gray_red_coeff; 391 png_uint_16 rgb_to_gray_green_coeff;
|
D | pngrtran.c | 736 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize() 1001 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() 1008 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1009 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed() 1264 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations() 1269 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations() 1502 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations() 1525 png_ptr->background.red = (png_uint_16)(png_ptr->background.red * 257); in png_init_read_transformations() 1527 (png_uint_16)(png_ptr->background.green * 257); in png_init_read_transformations() 1528 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations() [all …]
|
D | png.h | 527 png_uint_16 red; /* for use in red green blue files */ 528 png_uint_16 green; 529 png_uint_16 blue; 530 png_uint_16 gray; /* for use in grayscale files */ 554 png_uint_16 red; 555 png_uint_16 green; 556 png_uint_16 blue; 557 png_uint_16 alpha; 558 png_uint_16 frequency; 638 png_uint_16 year; /* full year, as in, 1995 */ [all …]
|
D | pngconf.h | 495 typedef unsigned int png_uint_16; typedef 497 typedef unsigned short png_uint_16; typedef 584 typedef png_uint_16 * png_uint_16p; 585 typedef const png_uint_16 * png_const_uint_16p; 608 typedef png_uint_16 * * png_uint_16pp;
|
D | pnginfo.h | 63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ 64 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */
|
D | png.c | 1904 colorspace->rendering_intent = (png_uint_16)intent; 2216 png_uint_16 intent; 2483 png_ptr->rgb_to_gray_red_coeff = (png_uint_16)r; 2484 png_ptr->rgb_to_gray_green_coeff = (png_uint_16)g; 3775 static png_uint_16 3783 return (png_uint_16)((x + 32767U) >> 16); 3836 png_uint_16 3849 return (png_uint_16)r; 3862 return (png_uint_16)value; 3871 png_uint_16 /* PRIVATE */ [all …]
|
/external/pdfium/third_party/libpng16/ |
D | pngstruct.h | 121 png_uint_16 rendering_intent; /* Rendering intent of a profile */ 125 png_uint_16 flags; /* As defined below */ 240 png_uint_16 num_palette; /* number of color entries in palette */ 247 png_uint_16 num_trans; /* number of transparency values */ 270 png_uint_16 filler; /* filler bytes for pixel expansion */ 344 png_uint_16 offset_table_number; 345 png_uint_16 offset_table_count; 346 png_uint_16 offset_table_count_free; 390 png_uint_16 rgb_to_gray_red_coeff; 391 png_uint_16 rgb_to_gray_green_coeff;
|
D | pngrtran.c | 736 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize() 1001 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() 1008 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1009 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed() 1264 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations() 1269 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations() 1502 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations() 1525 png_ptr->background.red = (png_uint_16)(png_ptr->background.red * 257); in png_init_read_transformations() 1527 (png_uint_16)(png_ptr->background.green * 257); in png_init_read_transformations() 1528 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations() [all …]
|
D | png.h | 527 png_uint_16 red; /* for use in red green blue files */ 528 png_uint_16 green; 529 png_uint_16 blue; 530 png_uint_16 gray; /* for use in grayscale files */ 554 png_uint_16 red; 555 png_uint_16 green; 556 png_uint_16 blue; 557 png_uint_16 alpha; 558 png_uint_16 frequency; 638 png_uint_16 year; /* full year, as in, 1995 */ [all …]
|
D | pngconf.h | 495 typedef unsigned int png_uint_16; typedef 497 typedef unsigned short png_uint_16; typedef 584 typedef png_uint_16 * png_uint_16p; 585 typedef const png_uint_16 * png_const_uint_16p; 608 typedef png_uint_16 * * png_uint_16pp;
|
D | pnginfo.h | 63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ 64 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */
|
D | png.c | 1904 colorspace->rendering_intent = (png_uint_16)intent; 2182 png_uint_16 intent; 2451 png_ptr->rgb_to_gray_red_coeff = (png_uint_16)r; 2452 png_ptr->rgb_to_gray_green_coeff = (png_uint_16)g; 3744 static png_uint_16 3752 return (png_uint_16)((x + 32767U) >> 16); 3805 png_uint_16 3818 return (png_uint_16)r; 3831 return (png_uint_16)value; 3840 png_uint_16 /* PRIVATE */ [all …]
|
/external/libpng/contrib/libtests/ |
D | pngstest-errors.h | 17 static png_uint_16 gpc_error[16/*in*/][16/*out*/][4/*a*/] = 101 static png_uint_16 gpc_error_via_linear[16][4/*out*/][4] = 137 static png_uint_16 gpc_error_to_colormap[8/*i*/][8/*o*/][4] =
|
/external/syslinux/com32/include/ |
D | png.h | 636 png_uint_16 red; /* for use in red green blue files */ 637 png_uint_16 green; 638 png_uint_16 blue; 639 png_uint_16 gray; /* for use in grayscale files */ 661 png_uint_16 red; 662 png_uint_16 green; 663 png_uint_16 blue; 664 png_uint_16 alpha; 665 png_uint_16 frequency; 736 png_uint_16 year; /* full year, as in, 1995 */ [all …]
|
/external/libpng/contrib/tools/ |
D | makesRGB.c | 36 static png_uint_16 png_sRGB_table[256]; 37 static png_uint_16 png_sRGB_base[512]; 60 png_uint_16 71 return (png_uint_16)x; in invsRGB() 213 png_uint_16 base = png_sRGB_base[ibase >> 7], trybase = base, ob=base; in main()
|
D | pngfix.c | 174 typedef png_uint_16 udigit; /* A 'unum' is an array of these */ 193 result[ndigits++] = (png_uint_16)(val & 0xffff); in uarb_set() 227 num[out_digits++] = (png_uint_16)(add & 0xffff); in uarb_inc() 233 num[out_digits++] = (png_uint_16)(add & 0xffff); in uarb_inc() 268 png_uint_16 val) in uarb_mult_digit() 297 acc[out_digits++] = (png_uint_16)(carry & 0xffff); in uarb_mult_digit() 320 (png_uint_16)(val & 0xffff)); in uarb_mult32() 325 (png_uint_16)val) + 1; in uarb_mult32() 341 png_uint_16 carry = 0; in uarb_shift() 347 png_uint_16 temp = (png_uint_16)(carry | (inout[i] >> right_shift)); in uarb_shift() [all …]
|
/external/libpng/contrib/examples/ |
D | simpleover.c | 104 png_imagep image, const png_uint_16 *buffer) in sprite_op() 133 const png_uint_16 *in_pixel = buffer + (y * image->width + x)*4; in sprite_op() 141 png_uint_16 *out_pixel = sprite->buffer + in sprite_op() 431 buf_size = sizeof (png_uint_16 [4]); in simpleover_process() 440 if (tmp == sizeof (png_uint_16 [4])) in simpleover_process()
|