/external/libpng/tests/ |
D | pngstest | 46 *-tRNS[-.]*)
|
/external/skia/third_party/libpng/ |
D | pngwrite.c | 1798 png_byte tRNS[256]; in png_image_set_PLTE() local 1800 memset(tRNS, 255, (sizeof tRNS)); in png_image_set_PLTE() 1844 tRNS[i] = alphabyte; in png_image_set_PLTE() 1873 tRNS[i] = entry[afirst ? 0 : 3]; in png_image_set_PLTE() 1874 if (tRNS[i] < 255) in png_image_set_PLTE() 1884 tRNS[i] = entry[1 ^ afirst]; in png_image_set_PLTE() 1885 if (tRNS[i] < 255) in png_image_set_PLTE() 1910 png_set_tRNS(image->opaque->png_ptr, image->opaque->info_ptr, tRNS, in png_image_set_PLTE()
|
D | libpng-manual.txt | 602 PLTE, tRNS, IDAT, and IEND chunks are 1220 4) The transparent color information from a tRNS chunk. This can be modified by 1680 as the image data in a tRNS chunk, so this is what libpng expects for this data. 1703 transparency information in a tRNS chunk. This is most useful on 1722 added. It expands the sample depth without changing tRNS to alpha. 1763 the tRNS chunk is present, A means an alpha channel is present, and O 1764 means tRNS or alpha is present but all pixels in the image are opaque. 1787 "." means nothing is necessary (a tRNS chunk can just be ignored). 1815 alpha channel (or the tRNS chunk data) after it's read, so that 0 is 1975 appropriately and the tRNS chunk removed.) However, if you are doing this, [all …]
|
/external/pdfium/third_party/libpng16/ |
D | pngwrite.c | 1798 png_byte tRNS[256]; in png_image_set_PLTE() local 1800 memset(tRNS, 255, (sizeof tRNS)); in png_image_set_PLTE() 1844 tRNS[i] = alphabyte; in png_image_set_PLTE() 1873 tRNS[i] = entry[afirst ? 0 : 3]; in png_image_set_PLTE() 1874 if (tRNS[i] < 255) in png_image_set_PLTE() 1884 tRNS[i] = entry[1 ^ afirst]; in png_image_set_PLTE() 1885 if (tRNS[i] < 255) in png_image_set_PLTE() 1910 png_set_tRNS(image->opaque->png_ptr, image->opaque->info_ptr, tRNS, in png_image_set_PLTE()
|
/external/libpng/ |
D | pngwrite.c | 1798 png_byte tRNS[256]; in png_image_set_PLTE() local 1800 memset(tRNS, 255, (sizeof tRNS)); in png_image_set_PLTE() 1844 tRNS[i] = alphabyte; in png_image_set_PLTE() 1873 tRNS[i] = entry[afirst ? 0 : 3]; in png_image_set_PLTE() 1874 if (tRNS[i] < 255) in png_image_set_PLTE() 1884 tRNS[i] = entry[1 ^ afirst]; in png_image_set_PLTE() 1885 if (tRNS[i] < 255) in png_image_set_PLTE() 1910 png_set_tRNS(image->opaque->png_ptr, image->opaque->info_ptr, tRNS, in png_image_set_PLTE()
|
D | libpng-manual.txt | 602 PLTE, tRNS, IDAT, and IEND chunks are 1220 4) The transparent color information from a tRNS chunk. This can be modified by 1680 as the image data in a tRNS chunk, so this is what libpng expects for this data. 1703 transparency information in a tRNS chunk. This is most useful on 1722 added. It expands the sample depth without changing tRNS to alpha. 1763 the tRNS chunk is present, A means an alpha channel is present, and O 1764 means tRNS or alpha is present but all pixels in the image are opaque. 1787 "." means nothing is necessary (a tRNS chunk can just be ignored). 1815 alpha channel (or the tRNS chunk data) after it's read, so that 0 is 1975 appropriately and the tRNS chunk removed.) However, if you are doing this, [all …]
|
D | CHANGES | 268 Check for overlength tRNS chunk present when indexed-color PLTE is read. 345 Moved a misplaced pngrutil code block that truncates tRNS if it has more 770 In the code that checks for over-length tRNS chunks, added check of 997 compatible manner. PLTE and tRNS were revised similarly. 1118 Added tests to prevent pngwutil.c from writing a bKGD or tRNS chunk with 1671 png_set_gray_1_2_4_to_8() which also expands tRNS to alpha. 1908 Only use the valid bits of tRNS value in png_do_expand() (Brian Cartier) 1919 Fixed png_handle_tRNS() to only use the valid bits of tRNS value. 2326 multiple times and to specify the sample order in the tRNS chunk, 2327 because the ISO PNG specification has a typo in the tRNS table. [all …]
|
/external/libpng/contrib/libtests/ |
D | makepng.c | 772 unsigned int filters, unsigned int *colors, int small, int tRNS) in write_png() argument 897 if (tRNS) in write_png() 906 else if (tRNS) in write_png() 1685 int tRNS = 0; /* don't output a tRNS chunk */ in main() local 1706 tRNS = 1; in main() 1934 head_insert, filters, colors, small, tRNS); in main()
|
D | pngvalid.c | 451 unsigned int* palette_number, int low_depth_gray, int tRNS) in next_format() argument 472 if (((ct == 0/*GRAY*/ || ct/*RGB*/ == 2) && tRNS && pn < 2) || in next_format() 3672 png_byte tRNS[256]; in init_standard_palette() local 3676 if ((tRNS[i] = ppal[i].alpha) < 255) in init_standard_palette() 3681 tRNS[i] = 24; in init_standard_palette() 3685 png_set_tRNS(pp, pi, tRNS, j, 0/*color*/); in init_standard_palette() 3700 png_color_16 tRNS; in set_random_tRNS() local 3703 R8(tRNS); /* makes unset fields random */ in set_random_tRNS() 3709 tRNS.red = random_u16(); in set_random_tRNS() 3710 tRNS.green = random_u16(); in set_random_tRNS() [all …]
|
D | pngimage.c | 163 T(EXPAND, tRNS, X, A, ALL, R), 254 T(EXPAND_16, tRNS, X, A, 16, R),
|
/external/syslinux/com32/lib/libpng/ |
D | TODO | 20 Should we always malloc 2^bit_depth PLTE/tRNS/hIST entries for safety?
|
D | CHANGES | 256 Check for overlength tRNS chunk present when indexed-color PLTE is read. 326 Moved a misplaced pngrutil code block that truncates tRNS if it has more 706 In the code that checks for over-length tRNS chunks, added check of 906 compatible manner. PLTE and tRNS were revised similarly. 1010 Added tests to prevent pngwutil.c from writing a bKGD or tRNS chunk with 1504 png_set_gray_1_2_4_to_8() which also expands tRNS to alpha. 1741 Only use the valid bits of tRNS value in png_do_expand() (Brian Cartier) 1752 Fixed png_handle_tRNS() to only use the valid bits of tRNS value. 2113 Reject tRNS chunk with out-of-range samples instead of masking off 2118 Keep tRNS chunk with out-of-range samples and issue a png_warning(). [all …]
|
D | libpng.txt | 760 are stored in the same format/depth as the image data in a bKGD or tRNS 782 transparency information in a tRNS chunk. This is most useful on 817 alpha channel (or the tRNS chunk data) after it's read, so that 0 is 2038 other transformations because in the case of paletted images the tRNS 2039 chunk data has to be inverted before the tRNS chunk is written. If 2040 your image is not a paletted image, the tRNS data (which in such cases 2319 structure and continue to use the PLTE, tRNS, and hIST data in the write
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 4944 ucvector tRNS; in addChunk_tRNS() local 4945 ucvector_init(&tRNS); in addChunk_tRNS() 4956 for(i = 0; i < amount; i++) ucvector_push_back(&tRNS, info->palette[4 * i + 3]); in addChunk_tRNS() 4962 ucvector_push_back(&tRNS, (unsigned char)(info->key_r / 256)); in addChunk_tRNS() 4963 ucvector_push_back(&tRNS, (unsigned char)(info->key_r % 256)); in addChunk_tRNS() 4970 ucvector_push_back(&tRNS, (unsigned char)(info->key_r / 256)); in addChunk_tRNS() 4971 ucvector_push_back(&tRNS, (unsigned char)(info->key_r % 256)); in addChunk_tRNS() 4972 ucvector_push_back(&tRNS, (unsigned char)(info->key_g / 256)); in addChunk_tRNS() 4973 ucvector_push_back(&tRNS, (unsigned char)(info->key_g % 256)); in addChunk_tRNS() 4974 ucvector_push_back(&tRNS, (unsigned char)(info->key_b / 256)); in addChunk_tRNS() [all …]
|
/external/libpng/scripts/ |
D | pnglibconf.dfa | 536 # tEXt, zTXt, tRNS, pCAL). Others will just save time and make png_info 730 chunk tRNS
|