Home
last modified time | relevance | path

Searched refs:png_uint_16 (Results 1 – 25 of 42) sorted by relevance

12

/external/libpng/
Dpngstruct.h121 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;
Dpngrtran.c739 png_ptr->num_palette = (png_uint_16)num_palette; in png_set_quantize()
1004 png_uint_16 red_int, green_int; in png_set_rgb_to_gray_fixed()
1011 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed()
1012 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed()
1267 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations()
1272 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
1505 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations()
1528 png_ptr->background.red = (png_uint_16)(png_ptr->background.red * 257); in png_init_read_transformations()
1530 (png_uint_16)(png_ptr->background.green * 257); in png_init_read_transformations()
1531 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations()
[all …]
Dpng.h522 png_uint_16 red; /* for use in red green blue files */
523 png_uint_16 green;
524 png_uint_16 blue;
525 png_uint_16 gray; /* for use in grayscale files */
549 png_uint_16 red;
550 png_uint_16 green;
551 png_uint_16 blue;
552 png_uint_16 alpha;
553 png_uint_16 frequency;
633 png_uint_16 year; /* full year, as in, 1995 */
[all …]
Dpngconf.h495 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;
Dpnginfo.h63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */
64 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */
Dpngwrite.c476 ptime->year = (png_uint_16)(1900 + ttime->tm_year); in png_convert_from_struct_tm()
1576 const png_uint_16 alpha = in_ptr[aindex]; in png_write_image_16bit()
1593 png_uint_16 component = *in_ptr++; in png_write_image_16bit()
1612 component = (png_uint_16)(calc >> 15); in png_write_image_16bit()
1625 input_row += (png_uint_16)display->row_bytes/(sizeof (png_uint_16)); in png_write_image_16bit()
1728 png_uint_16 alpha = in_ptr[aindex]; in png_write_image_8bit()
1751 input_row += (png_uint_16)display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit()
1776 input_row += (png_uint_16)display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit()
1846 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; in png_image_set_PLTE()
2055 PNG_CONST png_uint_16 le = 0x0001; in png_image_write_main()
[all …]
Dpng.c1945 colorspace->rendering_intent = (png_uint_16)intent;
2257 png_uint_16 intent;
2524 png_ptr->rgb_to_gray_red_coeff = (png_uint_16)r;
2525 png_ptr->rgb_to_gray_green_coeff = (png_uint_16)g;
3856 static png_uint_16
3864 return (png_uint_16)((x + 32767U) >> 16);
3917 png_uint_16
3930 return (png_uint_16)r;
3943 return (png_uint_16)value;
3952 png_uint_16 /* PRIVATE */
[all …]
Dpngread.c1896 entry[afirst ? 0 : 3] = (png_uint_16)alpha; in png_create_colormap_entry()
1912 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry()
1913 entry[afirst + 1] = (png_uint_16)green; in png_create_colormap_entry()
1914 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry()
1918 entry[1 ^ afirst] = (png_uint_16)alpha; in png_create_colormap_entry()
1930 entry[afirst] = (png_uint_16)green; in png_create_colormap_entry()
2301 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2414 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2618 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2770 c.red = (png_uint_16)back_r; in png_image_read_colormap()
[all …]
Dpngtrans.c141 png_ptr->filler = (png_uint_16)filler; in png_set_filler()
335 *(png_uint_16*)rp = __builtin_bswap16(*(png_uint_16*)rp); in png_do_swap()
/external/pdfium/third_party/libpng16/
Dpngstruct.h121 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;
Dpngrtran.c736 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 …]
Dpng.h527 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 …]
Dpngconf.h495 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;
Dpnginfo.h63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */
64 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */
Dpng.c1904 colorspace->rendering_intent = (png_uint_16)intent;
2216 png_uint_16 intent;
2485 png_ptr->rgb_to_gray_red_coeff = (png_uint_16)r;
2486 png_ptr->rgb_to_gray_green_coeff = (png_uint_16)g;
3778 static png_uint_16
3786 return (png_uint_16)((x + 32767U) >> 16);
3839 png_uint_16
3852 return (png_uint_16)r;
3865 return (png_uint_16)value;
3874 png_uint_16 /* PRIVATE */
[all …]
Dpngread.c1884 entry[afirst ? 0 : 3] = (png_uint_16)alpha; in png_create_colormap_entry()
1900 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry()
1901 entry[afirst + 1] = (png_uint_16)green; in png_create_colormap_entry()
1902 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry()
1906 entry[1 ^ afirst] = (png_uint_16)alpha; in png_create_colormap_entry()
1918 entry[afirst] = (png_uint_16)green; in png_create_colormap_entry()
2287 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2400 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2604 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2756 c.red = (png_uint_16)back_r; in png_image_read_colormap()
[all …]
Dpngwrite.c465 ptime->year = (png_uint_16)(1900 + ttime->tm_year); in png_convert_from_struct_tm()
1564 const png_uint_16 alpha = in_ptr[aindex]; in png_write_image_16bit()
1581 png_uint_16 component = *in_ptr++; in png_write_image_16bit()
1600 component = (png_uint_16)(calc >> 15); in png_write_image_16bit()
1613 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_16bit()
1715 png_uint_16 alpha = in_ptr[aindex]; in png_write_image_8bit()
1738 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit()
1763 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit()
1833 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; in png_image_set_PLTE()
2042 PNG_CONST png_uint_16 le = 0x0001; in png_image_write_main()
[all …]
Dpngtrans.c141 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()
/external/libpng/contrib/libtests/
Dpngstest-errors.h17 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/libpng/contrib/tools/
DmakesRGB.c36 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()
Dpngfix.c173 typedef png_uint_16 udigit; /* A 'unum' is an array of these */
192 result[ndigits++] = (png_uint_16)(val & 0xffff); in uarb_set()
226 num[out_digits++] = (png_uint_16)(add & 0xffff); in uarb_inc()
232 num[out_digits++] = (png_uint_16)(add & 0xffff); in uarb_inc()
267 png_uint_16 val) in uarb_mult_digit()
296 acc[out_digits++] = (png_uint_16)(carry & 0xffff); in uarb_mult_digit()
319 (png_uint_16)(val & 0xffff)); in uarb_mult32()
324 (png_uint_16)val) + 1; in uarb_mult32()
340 png_uint_16 carry = 0; in uarb_shift()
346 png_uint_16 temp = (png_uint_16)(carry | (inout[i] >> right_shift)); in uarb_shift()
[all …]
Dgenpng.c737 p[0] = (png_uint_16)/*SAFE*/round(r * 65535); in pixel()
738 p[1] = (png_uint_16)/*SAFE*/round(g * 65535); in pixel()
739 p[2] = (png_uint_16)/*SAFE*/round(b * 65535); in pixel()
740 p[3] = (png_uint_16)/*SAFE*/round(a * 65535); in pixel()
/external/libpng/contrib/examples/
Dsimpleover.c104 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()
/external/libpng/intel/
Dfilter_sse2_intrinsics.c43 const png_uint_16* p01 = (png_const_uint_16p)p; in load3()
56 png_uint_16* p01; in store3()
63 *p01 = (png_uint_16)v012; in store3()
/external/pdfium/third_party/libpng16/contrib/intel/
Dfilter_sse2_intrinsics.c44 const png_uint_16* p01 = p; in load3()
59 png_uint_16* p01 = p; in store3()

12