Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChevyRay/crunch
/ functions
Functions
289 in github.com/ChevyRay/crunch
⨍
Functions
289
◇
Types & classes
37
↓ 65 callers
Function
lodepng_free
crunch/lodepng.cpp:73
↓ 62 callers
Function
ucvector_push_back
returns 1 if success, 0 if failure ==> nothing done*/
crunch/lodepng.cpp:265
↓ 43 callers
Function
lodepng_malloc
crunch/lodepng.cpp:63
↓ 19 callers
Function
uivector_push_back
returns 1 if success, 0 if failure ==> nothing done*/
crunch/lodepng.cpp:193
↓ 16 callers
Function
ucvector_init
crunch/lodepng.cpp:246
↓ 15 callers
Function
ucvector_cleanup
crunch/lodepng.cpp:239
↓ 13 callers
Function
PathToStr
crunch/str.cpp:37
↓ 13 callers
Function
lodepng_realloc
crunch/lodepng.cpp:68
↓ 11 callers
Function
addChunk
chunkName must be string of 4 characters*/
crunch/lodepng.cpp:4868
↓ 11 callers
Function
lodepng_chunk_type_equals
crunch/lodepng.cpp:2433
↓ 10 callers
Function
HuffmanTree_getLength
crunch/lodepng.cpp:901
↓ 10 callers
Function
WriteShort
crunch/binary.cpp:35
↓ 10 callers
Function
uivector_cleanup
crunch/lodepng.cpp:144
↓ 10 callers
Function
uivector_init
crunch/lodepng.cpp:185
↓ 9 callers
Function
addBitsToStream
crunch/lodepng.cpp:430
↓ 9 callers
Function
readBitsFromStream
crunch/lodepng.cpp:454
↓ 9 callers
Function
tinydir_close
crunch/tinydir.h:400
↓ 8 callers
Function
HuffmanTree_cleanup
crunch/lodepng.cpp:538
↓ 8 callers
Function
HuffmanTree_init
crunch/lodepng.cpp:531
↓ 8 callers
Function
lodepng_get_raw_size_idat
in an idat chunk, each scanline is a multiple of 8 bits, unlike the lodepng output buffer*/
crunch/lodepng.cpp:2728
↓ 7 callers
Function
lodepng_chunk_length
crunch/lodepng.cpp:2421
↓ 7 callers
Function
lodepng_get_bpp
crunch/lodepng.cpp:2665
↓ 7 callers
Function
ucvector_resize
returns 1 if success, 0 if failure ==> nothing done*/
crunch/lodepng.cpp:230
↓ 6 callers
Method
Disjoint
crunch/Rect.h:71
↓ 6 callers
Function
HuffmanTree_getCode
crunch/lodepng.cpp:896
↓ 6 callers
Function
addHuffmanSymbol
bitlen is the size in bits of the code*/
crunch/lodepng.cpp:1321
↓ 6 callers
Function
lodepng_get_raw_size
crunch/lodepng.cpp:2708
↓ 6 callers
Function
lodepng_read32bitInt
crunch/lodepng.cpp:320
↓ 6 callers
Function
string_cleanup
free the above pair again*/
crunch/lodepng.cpp:298
↓ 6 callers
Function
string_init
init a {char*, size_t} pair for use as string*/
crunch/lodepng.cpp:291
↓ 6 callers
Function
string_set
crunch/lodepng.cpp:304
↓ 5 callers
Function
HashCombine
crunch/hash.cpp:36
↓ 5 callers
Function
HuffmanTree_makeFromLengths
given the code lengths (as stored in the PNG file), generate the tree as defined by Deflate. maxbitlen is the maximum bits that a code in the tree can
crunch/lodepng.cpp:656
↓ 5 callers
Function
RemoveFile
crunch/main.cpp:165
↓ 5 callers
Function
bpmnode_create
creates a new chain node with the given parameters, from the memory in the lists */
crunch/lodepng.cpp:698
↓ 5 callers
Function
filterScanline
crunch/lodepng.cpp:5144
↓ 5 callers
Function
lodepng_add32bitInt
crunch/lodepng.cpp:337
↓ 5 callers
Function
readBitFromReversedStream
crunch/lodepng.cpp:2377
↓ 5 callers
Function
tinydir_next
crunch/tinydir.h:433
↓ 5 callers
Function
uivector_resize
returns 1 if success, 0 if failure ==> nothing done*/
crunch/lodepng.cpp:169
↓ 5 callers
Function
uivector_resizev
resize and give all new elements the value*/
crunch/lodepng.cpp:177
↓ 5 callers
Function
zlib_compress
compress using the default or custom zlib function */
crunch/lodepng.cpp:2230
↓ 4 callers
Function
Adam7_getpassvalues
Outputs various dimensions and positions in the image related to the Adam7 reduced images. passw: output containing the width of the 7 passes passh: o
crunch/lodepng.cpp:3868
↓ 4 callers
Method
Add
crunch/Rect.h:54
↓ 4 callers
Function
filter
crunch/lodepng.cpp:5209
↓ 4 callers
Function
getPixelColorRGBA16
Get RGBA16 color of pixel with index i (y * width + x) from the raw image with given color type, but the given color type must be 16-bit itself.*/
crunch/lodepng.cpp:3425
↓ 4 callers
Function
lodepng_color_mode_cleanup
crunch/lodepng.cpp:2593
↓ 4 callers
Function
lodepng_color_mode_copy
crunch/lodepng.cpp:2598
↓ 4 callers
Function
lodepng_color_mode_init
crunch/lodepng.cpp:2583
↓ 4 callers
Function
lodepng_decode_memory
crunch/lodepng.cpp:4768
↓ 4 callers
Function
lodepng_encode_memory
crunch/lodepng.cpp:5833
↓ 4 callers
Function
lodepng_info_cleanup
crunch/lodepng.cpp:2943
↓ 4 callers
Function
lodepng_info_init
crunch/lodepng.cpp:2923
↓ 4 callers
Function
lodepng_state_cleanup
crunch/lodepng.cpp:4843
↓ 4 callers
Function
lodepng_state_init
crunch/lodepng.cpp:4830
↓ 4 callers
Function
readBitsFromReversedStream
crunch/lodepng.cpp:2384
↓ 4 callers
Function
setBitOfReversedStream
crunch/lodepng.cpp:2409
↓ 4 callers
Function
zlib_decompress
crunch/lodepng.cpp:2171
↓ 3 callers
Function
HuffmanTree_makeFromFrequencies
Create the Huffman tree given the symbol frequencies*/
crunch/lodepng.cpp:879
↓ 3 callers
Function
addUnknownChunks
crunch/lodepng.cpp:5627
↓ 3 callers
Function
checkColorValidity
return type is a LodePNG error code*/
crunch/lodepng.cpp:2548
↓ 3 callers
Function
color_tree_init
crunch/lodepng.cpp:3006
↓ 3 callers
Function
getPixelColorRGBA8
Get RGBA8 color of pixel with index i (y * width + x) from the raw image with given color type.*/
crunch/lodepng.cpp:3181
↓ 3 callers
Function
huffmanDecodeSymbol
returns the code, or (unsigned)(-1) if error happened inbitlength is the length of the complete buffer, in bits (so its byte length times 8) */
crunch/lodepng.cpp:947
↓ 3 callers
Function
lodepng_add_text
crunch/lodepng.cpp:2813
↓ 3 callers
Function
lodepng_color_mode_equal
crunch/lodepng.cpp:2612
↓ 3 callers
Function
lodepng_crc32
Return the CRC of the bytes buf[0..len-1].*/
crunch/lodepng.cpp:2359
↓ 3 callers
Function
lodepng_set32bitInt
buffer must have at least 4 allocated bytes available*/
crunch/lodepng.cpp:327
↓ 3 callers
Function
readBitFromStream
crunch/lodepng.cpp:447
↓ 3 callers
Function
ucvector_init_buffer
you can both convert from vector to buffer&size and vica versa. If you use init_buffer to take over a buffer and size, it is not needed to use cleanup
crunch/lodepng.cpp:256
↓ 3 callers
Function
unfilter
crunch/lodepng.cpp:4043
↓ 2 callers
Method
Clear
crunch/Rect.h:66
↓ 2 callers
Function
CommonIntervalLength
Returns 0 if the two intervals i1 and i2 are disjoint, or the length of their overlap otherwise.
crunch/MaxRectsBinPack.cpp:382
↓ 2 callers
Function
GetPackSize
crunch/main.cpp:170
↓ 2 callers
Function
GetPadding
crunch/main.cpp:191
↓ 2 callers
Function
HashFile
crunch/hash.cpp:51
↓ 2 callers
Function
HuffmanTree_makeFromLengths2
Second step for the ...makeFromLengths and ...makeFromFrequencies functions. numcodes, lengths and maxbitlen must already be filled in correctly. retu
crunch/lodepng.cpp:611
↓ 2 callers
Function
IsContainedIn
#include "clb/Algorithm/Sort.h" int CompareRectShortSide(const Rect &a, const Rect &b) { using namespace std; int smallerSideA = min(a.width, a.he
crunch/Rect.cpp:44
↓ 2 callers
Function
LoadBitmap
crunch/main.cpp:130
↓ 2 callers
Function
LodePNGIText_cleanup
crunch/lodepng.cpp:2848
↓ 2 callers
Function
LodePNGText_cleanup
crunch/lodepng.cpp:2783
↓ 2 callers
Function
LodePNGUnknownChunks_cleanup
crunch/lodepng.cpp:2747
↓ 2 callers
Function
LodePNGUnknownChunks_init
crunch/lodepng.cpp:2740
↓ 2 callers
Function
SplitFileName
crunch/main.cpp:94
↓ 2 callers
Function
StrToPath
crunch/str.cpp:32
↓ 2 callers
Function
WriteString
crunch/binary.cpp:30
↓ 2 callers
Function
addChunk_PLTE
crunch/lodepng.cpp:4909
↓ 2 callers
Function
addChunk_tEXt
crunch/lodepng.cpp:4995
↓ 2 callers
Function
addChunk_tRNS
crunch/lodepng.cpp:4926
↓ 2 callers
Function
addColorBits
index: bitgroup index, bits: bitgroup size(1, 2 or 4), in: bitgroup value, out: octet array to add bits to*/
crunch/lodepng.cpp:2981
↓ 2 callers
Function
addPaddingBits
crunch/lodepng.cpp:5429
↓ 2 callers
Function
adler32
Return the adler32 of the bytes data[0..len-1]*/
crunch/lodepng.cpp:2115
↓ 2 callers
Function
color_tree_add
color is not allowed to already exist. Index should be >= 0 (it's signed to be compatible with using -1 for "doesn't exist")*/
crunch/lodepng.cpp:3048
↓ 2 callers
Function
color_tree_cleanup
crunch/lodepng.cpp:3013
↓ 2 callers
Function
color_tree_get
returns -1 if color not present, its index otherwise*/
crunch/lodepng.cpp:3027
↓ 2 callers
Function
countZeros
crunch/lodepng.cpp:1442
↓ 2 callers
Function
encodeLZ77
LZ77-encode the data. Return value is error code. The input are raw bytes, the output is in the form of unsigned integers with codes representing for
crunch/lodepng.cpp:1474
↓ 2 callers
Function
generateFixedDistanceTree
get the distance code tree of a deflated block with fixed tree, as specified in the deflate specification*/
crunch/lodepng.cpp:927
↓ 2 callers
Function
generateFixedLitLenTree
get the literal and length code tree of a deflated block with fixed tree, as per the deflate specification*/
crunch/lodepng.cpp:908
↓ 2 callers
Function
getHash
crunch/lodepng.cpp:1421
next →
1–100 of 289, ranked by callers