Lines Matching full:as

6 This software is provided 'as-is', without any express or implied
19 2. Altered source versions must be plainly marked as such, and must not be
20 misrepresented as being the original software.
116 /* Replacements for C library functions such as memcpy and strlen, to support platforms
118 to something as fast. */
208 -The string tools are made to avoid problems with compilers that declare things like strncat as dep…
209 -They're not used in the interface, only internally in this file as static functions.
210 -As with many other structs in this file, the init and cleanup functions serve as ctor and dtor.
646 /*the order in which "code length alphabet code lengths" are stored as specified by deflate, out of…
784 /* As length, use a value smaller than FIRSTBITS for the head table, in HuffmanTree_makeTable()
846 given the code lengths (as stored in the PNG file), generate the tree as defined
991 make these work as well ensure there are at least two symbols. The in lodepng_huffman_code_lengths()
1060 /*get the literal and length code tree of a deflated block with fixed tree, as per the deflate spec…
1078 /*get the distance code tree of a deflated block with fixed tree, as specified in the deflate speci…
1120 /*get the tree of a deflated block with fixed tree, as specified in the deflate specification
1489 bytes as input because 3 is the minimum match length for deflate*/
1491 static const unsigned HASH_BIT_MASK = 65535; /*HASH_NUM_VALUES - 1, but C90 does not like that as i…
1503 unsigned short* zeros; /*length of zeros streak, used as a second hash chain*/
1523 …for(i = 0; i != windowsize; ++i) hash->chain[i] = i; /*same value as index indicates uninitialized… in hash_init()
1526 …for(i = 0; i != windowsize; ++i) hash->chainz[i] = i; /*same value as index indicates uninitialize… in hash_init()
1568 …/*subtracting two addresses returned as 32-bit number (max value is MAX_SUPPORTED_DEFLATE_LENGTH)*/ in countZeros()
1588 sliding window (of windowsize) is used, and all past bytes in that window can be used as
1655 /*common case in PNGs is lots of zeros. Quickly skip over them as a speedup*/ in encodeLZ77()
1701 /*push the previous character as literal*/ in encodeLZ77()
1714 /*encode it as length/distance pair or literal value*/ in encodeLZ77()
1715 if(length < 3) /*only lengths of 3 or higher are supported as length/distance pair*/ { in encodeLZ77()
1812 A block is compressed as follows: The PNG data is lz77 encoded, resulting in in deflateDynamic()
3004 /* same as set but does not delete */
3703 /* mark things as done already if it would be impossible to have a more expensive case */ in lodepng_compute_color_stats()
3721 and mark things as done already if we know they are the most expensive case already*/ in lodepng_compute_color_stats()
3879 …olor to the color stats. The stats must already have been inited. The color must be given as 16-bit
3898 /*Computes a minimal PNG color model that can contain all colors as indicated by the stats.
4759 /*read a PNG, the result will be in the same color type as the PNG (hence "generic")*/
5143 /*the tail of palette values that all have 255 as alpha, does not have to be encoded*/ in addChunk_tRNS()
5451 out must be a buffer with as size: h + (w * h * bpp + 7u) / 8u, because there are in filter()
5471 …not smaller than 8, then use adaptive filtering heuristic as follows: independently for each row, … in filter()
5516 … /*For differences, each byte should be treated as signed, values above 127 are negative in filter()
5874 /*the background chunk's color must be taken into account as well*/ in lodepng_encode()
6036 …ddChunk_tEXt(&outv, "LodePNG", LODEPNG_VERSION_STRING); /*it's shorter as tEXt than as zTXt chunk*/ in lodepng_encode()