/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | pngstruct.h | 122 png_uint_16 rendering_intent; /* Rendering intent of a profile */ 126 png_uint_16 flags; /* As defined below */ 239 png_uint_16 num_palette; /* number of color entries in palette */ 246 png_uint_16 num_trans; /* number of transparency values */ 266 png_uint_16 filler; /* filler bytes for pixel expansion */ 340 png_uint_16 offset_table_number; 341 png_uint_16 offset_table_count; 342 png_uint_16 offset_table_count_free; 396 png_uint_16 rgb_to_gray_red_coeff; 397 png_uint_16 rgb_to_gray_green_coeff;
|
D | fx_pngrtran.c | 731 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize() 997 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() 1004 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1005 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed() 1254 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations() 1259 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations() 1492 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations() 1515 png_ptr->background.red = (png_uint_16)(png_ptr->background.red * 257); in png_init_read_transformations() 1517 (png_uint_16)(png_ptr->background.green * 257); in png_init_read_transformations() 1518 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations() [all …]
|
D | pngconf.h | 490 typedef unsigned int png_uint_16; typedef 492 typedef unsigned short png_uint_16; typedef 579 typedef png_uint_16 * png_uint_16p; 580 typedef const png_uint_16 * png_const_uint_16p; 603 typedef png_uint_16 * * png_uint_16pp;
|
D | fx_pngwrite.c | 454 ptime->year = (png_uint_16)(1900 + ttime->tm_year); in png_convert_from_struct_tm() 1118 (png_uint_32)((sizeof (png_uint_16)) * num_weights)); in png_init_filter_heuristics() 1121 (png_uint_32)((sizeof (png_uint_16)) * num_weights)); in png_init_filter_heuristics() 1139 (png_uint_32)((sizeof (png_uint_16)) * PNG_FILTER_VALUE_LAST)); in png_init_filter_heuristics() 1142 (png_uint_32)((sizeof (png_uint_16)) * PNG_FILTER_VALUE_LAST)); in png_init_filter_heuristics() 1199 (png_uint_16)(PNG_WEIGHT_FACTOR*filter_weights[i]+.5); in png_set_filter_heuristics() 1202 (png_uint_16)(PNG_WEIGHT_FACTOR/filter_weights[i]+.5); in png_set_filter_heuristics() 1216 (png_uint_16)(PNG_COST_FACTOR / filter_costs[i] + .5); in png_set_filter_heuristics() 1219 (png_uint_16)(PNG_COST_FACTOR * filter_costs[i] + .5); in png_set_filter_heuristics() 1253 png_ptr->inv_filter_weights[i] = (png_uint_16) in png_set_filter_heuristics_fixed() [all …]
|
D | png.h | 852 png_uint_16 red; /* for use in red green blue files */ 853 png_uint_16 green; 854 png_uint_16 blue; 855 png_uint_16 gray; /* for use in grayscale files */ 879 png_uint_16 red; 880 png_uint_16 green; 881 png_uint_16 blue; 882 png_uint_16 alpha; 883 png_uint_16 frequency; 963 png_uint_16 year; /* full year, as in, 1995 */ [all …]
|
D | pnginfo.h | 64 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ 65 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */
|
D | fx_png.c | 1805 colorspace->rendering_intent = (png_uint_16)intent; 2081 png_uint_16 intent; 2340 png_ptr->rgb_to_gray_red_coeff = (png_uint_16)r; 2341 png_ptr->rgb_to_gray_green_coeff = (png_uint_16)g; 3594 static png_uint_16 3602 return (png_uint_16)((x + 32767U) >> 16); 3629 png_uint_16 3636 return (png_uint_16)r; 3649 return (png_uint_16)value; 3657 png_uint_16 /* PRIVATE */ [all …]
|
D | fx_pngread.c | 1757 entry[afirst ? 0 : 3] = (png_uint_16)alpha; in png_create_colormap_entry() 1773 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry() 1774 entry[afirst + 1] = (png_uint_16)green; in png_create_colormap_entry() 1775 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry() 1779 entry[1 ^ afirst] = (png_uint_16)alpha; in png_create_colormap_entry() 1791 entry[afirst] = (png_uint_16)green; in png_create_colormap_entry() 2160 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap() 2267 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap() 2464 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap() 2616 c.red = (png_uint_16)back_r; in png_image_read_colormap() [all …]
|
D | fx_pngrutil.c | 95 png_uint_16 (PNGAPI in png_uint_16() function 107 return (png_uint_16)val; in png_uint_16() 1822 png_ptr->num_trans = (png_uint_16)length; in png_handle_tRNS() 1914 background.red = (png_uint_16)png_ptr->palette[buf[0]].red; in png_handle_bKGD() 1915 background.green = (png_uint_16)png_ptr->palette[buf[0]].green; in png_handle_bKGD() 1916 background.blue = (png_uint_16)png_ptr->palette[buf[0]].blue; in png_handle_bKGD() 1952 png_uint_16 readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_hIST() 3351 png_isaligned(dp, png_uint_16) && in png_combine_row() 3352 png_isaligned(sp, png_uint_16) && in png_combine_row() 3353 bytes_to_copy % (sizeof (png_uint_16)) == 0 && in png_combine_row() [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 */ 287 png_uint_16 num_palette; /* number of color entries in palette */ 294 png_uint_16 num_trans; /* number of transparency values */ 317 png_uint_16 filler; /* filler bytes for pixel expansion */ 391 png_uint_16 offset_table_number; 392 png_uint_16 offset_table_count; 393 png_uint_16 offset_table_count_free; 437 png_uint_16 rgb_to_gray_red_coeff; 438 png_uint_16 rgb_to_gray_green_coeff;
|
D | pngrtran.c | 737 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize() 1002 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed() 1009 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1010 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed() 1265 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations() 1270 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations() 1503 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations() 1526 png_ptr->background.red = (png_uint_16)(png_ptr->background.red * 257); in png_init_read_transformations() 1528 (png_uint_16)(png_ptr->background.green * 257); in png_init_read_transformations() 1529 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations() [all …]
|
D | png.h | 496 png_uint_16 red; /* for use in red green blue files */ 497 png_uint_16 green; 498 png_uint_16 blue; 499 png_uint_16 gray; /* for use in grayscale files */ 523 png_uint_16 red; 524 png_uint_16 green; 525 png_uint_16 blue; 526 png_uint_16 alpha; 527 png_uint_16 frequency; 607 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 | 1903 colorspace->rendering_intent = (png_uint_16)intent; 2181 png_uint_16 intent; 2450 png_ptr->rgb_to_gray_red_coeff = (png_uint_16)r; 2451 png_ptr->rgb_to_gray_green_coeff = (png_uint_16)g; 3742 static png_uint_16 3750 return (png_uint_16)((x + 32767U) >> 16); 3803 png_uint_16 3816 return (png_uint_16)r; 3829 return (png_uint_16)value; 3838 png_uint_16 /* PRIVATE */ [all …]
|
D | pngwrite.c | 465 ptime->year = (png_uint_16)(1900 + ttime->tm_year); in png_convert_from_struct_tm() 1561 const png_uint_16 alpha = in_ptr[aindex]; in png_write_image_16bit() 1578 png_uint_16 component = *in_ptr++; in png_write_image_16bit() 1597 component = (png_uint_16)(calc >> 15); in png_write_image_16bit() 1610 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_16bit() 1712 png_uint_16 alpha = in_ptr[aindex]; in png_write_image_8bit() 1735 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 1760 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 1830 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; in png_image_set_PLTE() 2005 PNG_CONST png_uint_16 le = 0x0001; in png_image_write_main() [all …]
|
D | pngread.c | 2045 entry[afirst ? 0 : 3] = (png_uint_16)alpha; in png_create_colormap_entry() 2061 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry() 2062 entry[afirst + 1] = (png_uint_16)green; in png_create_colormap_entry() 2063 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry() 2067 entry[1 ^ afirst] = (png_uint_16)alpha; in png_create_colormap_entry() 2079 entry[afirst] = (png_uint_16)green; in png_create_colormap_entry() 2448 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap() 2561 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap() 2765 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap() 2917 c.red = (png_uint_16)back_r; in png_image_read_colormap() [all …]
|
D | pngtrans.c | 141 png_ptr->filler = (png_uint_16)filler; in png_set_filler() 334 *(png_uint_16*)rp = __builtin_bswap16(*(png_uint_16*)rp); in png_do_swap()
|
D | pngrutil.c | 102 png_uint_16 (PNGAPI in png_uint_16() function 114 return (png_uint_16)val; in png_uint_16() 1915 png_ptr->num_trans = (png_uint_16)length; in png_handle_tRNS() 2007 background.red = (png_uint_16)png_ptr->palette[buf[0]].red; in png_handle_bKGD() 2008 background.green = (png_uint_16)png_ptr->palette[buf[0]].green; in png_handle_bKGD() 2009 background.blue = (png_uint_16)png_ptr->palette[buf[0]].blue; in png_handle_bKGD() 2045 png_uint_16 readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_hIST() 3447 png_isaligned(dp, png_uint_16) && in png_combine_row() 3448 png_isaligned(sp, png_uint_16) && in png_combine_row() 3449 bytes_to_copy % (sizeof (png_uint_16)) == 0 && in png_combine_row() [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] =
|
D | pngstest.c | 126 static png_uint_16 130 return (png_uint_16)d; in u16d() 182 static png_uint_16 188 static png_uint_16 194 static png_uint_16 201 static png_uint_16 562 png_uint_16 colormap[256*4]; 2019 png_uint_16 error[4]; 2024 png_uint_16 *error_ptr; 2430 transform->error[3] = (png_uint_16)err_a; in cmppixel() [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() 328 (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 …]
|
D | genpng.c | 736 p[0] = (png_uint_16)/*SAFE*/round(r * 65535); in pixel() 737 p[1] = (png_uint_16)/*SAFE*/round(g * 65535); in pixel() 738 p[2] = (png_uint_16)/*SAFE*/round(b * 65535); in pixel() 739 p[3] = (png_uint_16)/*SAFE*/round(a * 65535); in pixel()
|
/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()
|