Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zal0/ZGB
/ functions
Functions
326 in github.com/Zal0/ZGB
⨍
Functions
326
◇
Types & classes
56
↓ 75 callers
Function
lodepng_free
tools/gbr2png/lodepng/lodepng.cpp:89
↓ 57 callers
Function
lodepng_malloc
tools/gbr2png/lodepng/lodepng.cpp:74
↓ 42 callers
Function
lodepng_memcpy
tools/gbr2png/lodepng/lodepng.cpp:120
↓ 29 callers
Function
lodepng_chunk_type_equals
tools/gbr2png/lodepng/lodepng.cpp:2476
↓ 17 callers
Function
lodepng_chunk_init
Sets length and name and allocates the space for data and crc but does not set data or crc yet. Returns the start of the chunk in chunk. The start of
tools/gbr2png/lodepng/lodepng.cpp:2587
↓ 17 callers
Function
lodepng_strlen
does not check memory out of bounds, do not use on untrusted data */
tools/gbr2png/lodepng/lodepng.cpp:133
↓ 16 callers
Function
lodepng_set32bitInt
buffer must have at least 4 allocated bytes available*/
tools/gbr2png/lodepng/lodepng.cpp:330
↓ 15 callers
Function
writeBits
LSB of value is written first, and LSB of bytes is used first */
tools/gbr2png/lodepng/lodepng.cpp:432
↓ 13 callers
Function
lodepng_chunk_generate_crc
tools/gbr2png/lodepng/lodepng.cpp:2510
↓ 12 callers
Function
readBits
Must have enough bits available with ensureBits */
tools/gbr2png/lodepng/lodepng.cpp:580
↓ 11 callers
Function
lodepng_addofl
Safely check if adding two integers will overflow (no undefined behavior, compiler removing the code, etc...) and output result. */
tools/gbr2png/lodepng/lodepng.cpp:148
↓ 11 callers
Function
paethPredictor
Paeth predictor, used by PNG filter type 4 The parameters are of type short, but should come from unsigned chars, the shorts are only needed to make t
tools/gbr2png/lodepng/lodepng.cpp:3974
↓ 10 callers
Function
lodepng_get_raw_size_idat
in an idat chunk, each scanline is a multiple of 8 bits, unlike the lodepng output buffer, and in addition has one extra byte per line: the filter byt
tools/gbr2png/lodepng/lodepng.cpp:2808
↓ 10 callers
Function
lodepng_memset
tools/gbr2png/lodepng/lodepng.cpp:126
↓ 9 callers
Function
lodepng_get_bpp
calculate bits per pixel out of colortype and bitdepth*/
tools/gbr2png/lodepng/lodepng.cpp:2758
↓ 9 callers
Function
lodepng_realloc
NOTE: when realloc returns NULL, it leaves the original memory untouched */
tools/gbr2png/lodepng/lodepng.cpp:82
↓ 8 callers
Function
HuffmanTree_cleanup
tools/gbr2png/lodepng/lodepng.cpp:674
↓ 8 callers
Function
HuffmanTree_init
tools/gbr2png/lodepng/lodepng.cpp:667
↓ 8 callers
Function
UPDATE_TILE
common/src/Scroll.c:91
↓ 8 callers
Function
lodepng_chunk_length
tools/gbr2png/lodepng/lodepng.cpp:2466
↓ 8 callers
Function
ucvector_resize
returns 1 if success, 0 if failure ==> nothing done*/
tools/gbr2png/lodepng/lodepng.cpp:270
↓ 7 callers
Function
ExtractFileName
tools/gbr2png/gbr2png.cpp:7
↓ 7 callers
Function
lodepng_get_raw_size
tools/gbr2png/lodepng/lodepng.cpp:2798
↓ 7 callers
Function
string_cleanup
free string pointer and set it to NULL*/
tools/gbr2png/lodepng/lodepng.cpp:297
↓ 6 callers
Function
lodepng_color_mode_init
tools/gbr2png/lodepng/lodepng.cpp:2667
↓ 6 callers
Function
lodepng_read32bitInt
tools/gbr2png/lodepng/lodepng.cpp:322
↓ 6 callers
Function
readBitsFromReversedStream
TODO: make this faster */
tools/gbr2png/lodepng/lodepng.cpp:2445
↓ 6 callers
Function
ucvector_init
tools/gbr2png/lodepng/lodepng.cpp:284
↓ 6 callers
Function
writeBitsReversed
This one is to use for adding huffman symbol, the value bits are written MSB first */
tools/gbr2png/lodepng/lodepng.cpp:445
↓ 6 callers
Function
zlib_compress
compress using the default or custom zlib function */
tools/gbr2png/lodepng/lodepng.cpp:2293
↓ 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
tools/gbr2png/lodepng/lodepng.cpp:851
↓ 5 callers
Function
alloc_string
dynamically allocates a new string with a copy of the null terminated input text */
tools/gbr2png/lodepng/lodepng.cpp:313
↓ 5 callers
Function
bpmnode_create
creates a new chain node with the given parameters, from the memory in the lists */
tools/gbr2png/lodepng/lodepng.cpp:890
↓ 5 callers
Function
filterScanline
tools/gbr2png/lodepng/lodepng.cpp:5412
↓ 5 callers
Function
lodepng_color_mode_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2694
↓ 5 callers
Function
lodepng_mulofl
Safely check if multiplying two integers will overflow (no undefined behavior, compiler removing the code, etc...) and output result. */
tools/gbr2png/lodepng/lodepng.cpp:157
↓ 5 callers
Function
readBitFromReversedStream
tools/gbr2png/lodepng/lodepng.cpp:2438
↓ 5 callers
Function
setBitOfReversedStream
tools/gbr2png/lodepng/lodepng.cpp:2455
↓ 5 callers
Function
zlib_decompress
expected_size is expected output size, to avoid intermediate allocations. Set to 0 if not known. */
tools/gbr2png/lodepng/lodepng.cpp:2226
↓ 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
tools/gbr2png/lodepng/lodepng.cpp:4005
↓ 4 callers
Function
DespRight
common/src/Math.c:3
↓ 4 callers
Function
ExtractFileName
tools/gbr2c/gbrParser .cpp:29
↓ 4 callers
Function
FadeInOp
common/src/Fade_b.c:11
↓ 4 callers
Function
SetPalette
common/src/main.c:53
↓ 4 callers
Function
advanceBits
Must have enough bits available with ensureBits */
tools/gbr2png/lodepng/lodepng.cpp:574
↓ 4 callers
Function
filter
tools/gbr2png/lodepng/lodepng.cpp:5477
↓ 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.*/
tools/gbr2png/lodepng/lodepng.cpp:3498
↓ 4 callers
Function
lodepng_chunk_createv
like lodepng_chunk_create but with custom allocsize */
tools/gbr2png/lodepng/lodepng.cpp:2606
↓ 4 callers
Function
lodepng_color_mode_copy
tools/gbr2png/lodepng/lodepng.cpp:2698
↓ 4 callers
Function
lodepng_decode_memory
tools/gbr2png/lodepng/lodepng.cpp:5021
↓ 4 callers
Function
lodepng_encode_memory
tools/gbr2png/lodepng/lodepng.cpp:6108
↓ 4 callers
Function
lodepng_info_cleanup
tools/gbr2png/lodepng/lodepng.cpp:3058
↓ 4 callers
Function
lodepng_info_init
tools/gbr2png/lodepng/lodepng.cpp:3032
↓ 4 callers
Function
lodepng_state_cleanup
tools/gbr2png/lodepng/lodepng.cpp:5100
↓ 4 callers
Function
lodepng_state_init
tools/gbr2png/lodepng/lodepng.cpp:5088
↓ 3 callers
Function
HuffmanTree_makeFromFrequencies
Create the Huffman tree given the symbol frequencies*/
tools/gbr2png/lodepng/lodepng.cpp:1046
↓ 3 callers
Function
LoadGBR
tools/gbr2c/gbrParser .cpp:59
↓ 3 callers
Function
UpdateMapTile
common/src/Scroll.c:184
↓ 3 callers
Function
addUnknownChunks
tools/gbr2png/lodepng/lodepng.cpp:5816
↓ 3 callers
Function
alloc_string_sized
also appends null termination character*/
tools/gbr2png/lodepng/lodepng.cpp:303
↓ 3 callers
Function
checkColorValidity
checks if the colortype is valid and the bitdepth bd is allowed for this colortype. Return value is a LodePNG error code.*/
tools/gbr2png/lodepng/lodepng.cpp:2635
↓ 3 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") Returns error code, or 0
tools/gbr2png/lodepng/lodepng.cpp:3150
↓ 3 callers
Function
color_tree_init
tools/gbr2png/lodepng/lodepng.cpp:3115
↓ 3 callers
Function
ensureBits25
See ensureBits documentation above. This one ensures up to 25 bits */
tools/gbr2png/lodepng/lodepng.cpp:528
↓ 3 callers
Function
ensureBits9
See ensureBits documentation above. This one ensures up to 9 bits */
tools/gbr2png/lodepng/lodepng.cpp:494
↓ 3 callers
Function
getPixelColorRGBA8
Get RGBA8 color of pixel with index i (y * width + x) from the raw image with given color type.*/
tools/gbr2png/lodepng/lodepng.cpp:3254
↓ 3 callers
Function
huffmanDecodeSymbol
returns the code. The bit reader must already have been ensured at least 15 bits */
tools/gbr2png/lodepng/lodepng.cpp:1098
↓ 3 callers
Function
lodepng_add_itext_sized
tools/gbr2png/lodepng/lodepng.cpp:2972
↓ 3 callers
Function
lodepng_clear_icc
tools/gbr2png/lodepng/lodepng.cpp:3023
↓ 3 callers
Function
lodepng_color_mode_equal
tools/gbr2png/lodepng/lodepng.cpp:2717
↓ 3 callers
Function
lodepng_crc32
Return the CRC of the bytes buf[0..len-1].*/
tools/gbr2png/lodepng/lodepng.cpp:2419
↓ 3 callers
Function
lodepng_get_raw_size_lct
tools/gbr2png/lodepng/lodepng.cpp:2792
↓ 3 callers
Function
peekBits
Get bits without advancing the bit pointer. Must have enough bits available with ensureBits. Max nbits is 31. */
tools/gbr2png/lodepng/lodepng.cpp:568
↓ 3 callers
Function
uivector_push_back
returns 1 if success, 0 if failure ==> nothing done*/
tools/gbr2png/lodepng/lodepng.cpp:252
↓ 3 callers
Function
uivector_resize
returns 1 if success, 0 if failure ==> nothing done*/
tools/gbr2png/lodepng/lodepng.cpp:231
↓ 3 callers
Function
unfilter
tools/gbr2png/lodepng/lodepng.cpp:4231
↓ 2 callers
Function
ClampScrollLimits
common/src/Scroll.c:240
↓ 2 callers
Function
FadeDMG
common/src/Fade_b.c:15
↓ 2 callers
Function
FadeStepColor
common/src/Fade_b.c:49
↓ 2 callers
Function
HuffmanTree_makeFromLengths2
Second step for the ...makeFromLengths and ...makeFromFrequencies functions. numcodes, lengths and maxbitlen must already be filled in correctly. retu
tools/gbr2png/lodepng/lodepng.cpp:810
↓ 2 callers
Function
IsTileEmpty
tools/gbr2c/gbrParser .cpp:47
↓ 2 callers
Function
LodePNGBitReader_init
data size argument is in bytes. Returns error if size too large causing overflow */
tools/gbr2png/lodepng/lodepng.cpp:465
↓ 2 callers
Function
LodePNGIText_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2940
↓ 2 callers
Function
LodePNGText_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2884
↓ 2 callers
Function
LodePNGUnknownChunks_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2853
↓ 2 callers
Function
LodePNGUnknownChunks_init
tools/gbr2png/lodepng/lodepng.cpp:2847
↓ 2 callers
Function
Replace
tools/gbr2c/gbrParser .cpp:12
↓ 2 callers
Function
ScrollSetTiles
common/src/Scroll.c:140
↓ 2 callers
Function
ScrollUpdateColumnR
common/src/Scroll.c:370
↓ 2 callers
Function
ScrollUpdateColumnWithDelay
common/src/Scroll.c:385
↓ 2 callers
Function
ScrollUpdateRowR
common/src/Scroll.c:324
↓ 2 callers
Function
ScrollUpdateRowWithDelay
common/src/Scroll.c:336
↓ 2 callers
Function
SetFrame
common/src/Sprite.c:8
↓ 2 callers
Function
SpriteManagerRemove
common/src/SpriteManager.c:131
↓ 2 callers
Function
UpdateColor
common/src/Fade_b.c:44
↓ 2 callers
Function
addChunk_PLTE
only adds the chunk if needed (there is a key or palette with alpha) */
tools/gbr2png/lodepng/lodepng.cpp:5151
↓ 2 callers
Function
addChunk_tEXt
tools/gbr2png/lodepng/lodepng.cpp:5225
↓ 2 callers
Function
addColorBits
index: bitgroup index, bits: bitgroup size(1, 2 or 4), in: bitgroup value, out: octet array to add bits to*/
tools/gbr2png/lodepng/lodepng.cpp:3092
↓ 2 callers
Function
addPaddingBits
tools/gbr2png/lodepng/lodepng.cpp:5671
↓ 2 callers
Function
adler32
Return the adler32 of the bytes data[0..len-1]*/
tools/gbr2png/lodepng/lodepng.cpp:2164
next →
1–100 of 326, ranked by callers