MCPcopy Create free account

hub / github.com/Zal0/ZGB / functions

Functions326 in github.com/Zal0/ZGB

↓ 75 callersFunctionlodepng_free
tools/gbr2png/lodepng/lodepng.cpp:89
↓ 57 callersFunctionlodepng_malloc
tools/gbr2png/lodepng/lodepng.cpp:74
↓ 42 callersFunctionlodepng_memcpy
tools/gbr2png/lodepng/lodepng.cpp:120
↓ 29 callersFunctionlodepng_chunk_type_equals
tools/gbr2png/lodepng/lodepng.cpp:2476
↓ 17 callersFunctionlodepng_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 callersFunctionlodepng_strlen
does not check memory out of bounds, do not use on untrusted data */
tools/gbr2png/lodepng/lodepng.cpp:133
↓ 16 callersFunctionlodepng_set32bitInt
buffer must have at least 4 allocated bytes available*/
tools/gbr2png/lodepng/lodepng.cpp:330
↓ 15 callersFunctionwriteBits
LSB of value is written first, and LSB of bytes is used first */
tools/gbr2png/lodepng/lodepng.cpp:432
↓ 13 callersFunctionlodepng_chunk_generate_crc
tools/gbr2png/lodepng/lodepng.cpp:2510
↓ 12 callersFunctionreadBits
Must have enough bits available with ensureBits */
tools/gbr2png/lodepng/lodepng.cpp:580
↓ 11 callersFunctionlodepng_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 callersFunctionpaethPredictor
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 callersFunctionlodepng_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 callersFunctionlodepng_memset
tools/gbr2png/lodepng/lodepng.cpp:126
↓ 9 callersFunctionlodepng_get_bpp
calculate bits per pixel out of colortype and bitdepth*/
tools/gbr2png/lodepng/lodepng.cpp:2758
↓ 9 callersFunctionlodepng_realloc
NOTE: when realloc returns NULL, it leaves the original memory untouched */
tools/gbr2png/lodepng/lodepng.cpp:82
↓ 8 callersFunctionHuffmanTree_cleanup
tools/gbr2png/lodepng/lodepng.cpp:674
↓ 8 callersFunctionHuffmanTree_init
tools/gbr2png/lodepng/lodepng.cpp:667
↓ 8 callersFunctionUPDATE_TILE
common/src/Scroll.c:91
↓ 8 callersFunctionlodepng_chunk_length
tools/gbr2png/lodepng/lodepng.cpp:2466
↓ 8 callersFunctionucvector_resize
returns 1 if success, 0 if failure ==> nothing done*/
tools/gbr2png/lodepng/lodepng.cpp:270
↓ 7 callersFunctionExtractFileName
tools/gbr2png/gbr2png.cpp:7
↓ 7 callersFunctionlodepng_get_raw_size
tools/gbr2png/lodepng/lodepng.cpp:2798
↓ 7 callersFunctionstring_cleanup
free string pointer and set it to NULL*/
tools/gbr2png/lodepng/lodepng.cpp:297
↓ 6 callersFunctionlodepng_color_mode_init
tools/gbr2png/lodepng/lodepng.cpp:2667
↓ 6 callersFunctionlodepng_read32bitInt
tools/gbr2png/lodepng/lodepng.cpp:322
↓ 6 callersFunctionreadBitsFromReversedStream
TODO: make this faster */
tools/gbr2png/lodepng/lodepng.cpp:2445
↓ 6 callersFunctionucvector_init
tools/gbr2png/lodepng/lodepng.cpp:284
↓ 6 callersFunctionwriteBitsReversed
This one is to use for adding huffman symbol, the value bits are written MSB first */
tools/gbr2png/lodepng/lodepng.cpp:445
↓ 6 callersFunctionzlib_compress
compress using the default or custom zlib function */
tools/gbr2png/lodepng/lodepng.cpp:2293
↓ 5 callersFunctionHuffmanTree_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 callersFunctionalloc_string
dynamically allocates a new string with a copy of the null terminated input text */
tools/gbr2png/lodepng/lodepng.cpp:313
↓ 5 callersFunctionbpmnode_create
creates a new chain node with the given parameters, from the memory in the lists */
tools/gbr2png/lodepng/lodepng.cpp:890
↓ 5 callersFunctionfilterScanline
tools/gbr2png/lodepng/lodepng.cpp:5412
↓ 5 callersFunctionlodepng_color_mode_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2694
↓ 5 callersFunctionlodepng_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 callersFunctionreadBitFromReversedStream
tools/gbr2png/lodepng/lodepng.cpp:2438
↓ 5 callersFunctionsetBitOfReversedStream
tools/gbr2png/lodepng/lodepng.cpp:2455
↓ 5 callersFunctionzlib_decompress
expected_size is expected output size, to avoid intermediate allocations. Set to 0 if not known. */
tools/gbr2png/lodepng/lodepng.cpp:2226
↓ 4 callersFunctionAdam7_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 callersFunctionDespRight
common/src/Math.c:3
↓ 4 callersFunctionExtractFileName
tools/gbr2c/gbrParser .cpp:29
↓ 4 callersFunctionFadeInOp
common/src/Fade_b.c:11
↓ 4 callersFunctionSetPalette
common/src/main.c:53
↓ 4 callersFunctionadvanceBits
Must have enough bits available with ensureBits */
tools/gbr2png/lodepng/lodepng.cpp:574
↓ 4 callersFunctionfilter
tools/gbr2png/lodepng/lodepng.cpp:5477
↓ 4 callersFunctiongetPixelColorRGBA16
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 callersFunctionlodepng_chunk_createv
like lodepng_chunk_create but with custom allocsize */
tools/gbr2png/lodepng/lodepng.cpp:2606
↓ 4 callersFunctionlodepng_color_mode_copy
tools/gbr2png/lodepng/lodepng.cpp:2698
↓ 4 callersFunctionlodepng_decode_memory
tools/gbr2png/lodepng/lodepng.cpp:5021
↓ 4 callersFunctionlodepng_encode_memory
tools/gbr2png/lodepng/lodepng.cpp:6108
↓ 4 callersFunctionlodepng_info_cleanup
tools/gbr2png/lodepng/lodepng.cpp:3058
↓ 4 callersFunctionlodepng_info_init
tools/gbr2png/lodepng/lodepng.cpp:3032
↓ 4 callersFunctionlodepng_state_cleanup
tools/gbr2png/lodepng/lodepng.cpp:5100
↓ 4 callersFunctionlodepng_state_init
tools/gbr2png/lodepng/lodepng.cpp:5088
↓ 3 callersFunctionHuffmanTree_makeFromFrequencies
Create the Huffman tree given the symbol frequencies*/
tools/gbr2png/lodepng/lodepng.cpp:1046
↓ 3 callersFunctionLoadGBR
tools/gbr2c/gbrParser .cpp:59
↓ 3 callersFunctionUpdateMapTile
common/src/Scroll.c:184
↓ 3 callersFunctionaddUnknownChunks
tools/gbr2png/lodepng/lodepng.cpp:5816
↓ 3 callersFunctionalloc_string_sized
also appends null termination character*/
tools/gbr2png/lodepng/lodepng.cpp:303
↓ 3 callersFunctioncheckColorValidity
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 callersFunctioncolor_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 callersFunctioncolor_tree_init
tools/gbr2png/lodepng/lodepng.cpp:3115
↓ 3 callersFunctionensureBits25
See ensureBits documentation above. This one ensures up to 25 bits */
tools/gbr2png/lodepng/lodepng.cpp:528
↓ 3 callersFunctionensureBits9
See ensureBits documentation above. This one ensures up to 9 bits */
tools/gbr2png/lodepng/lodepng.cpp:494
↓ 3 callersFunctiongetPixelColorRGBA8
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 callersFunctionhuffmanDecodeSymbol
returns the code. The bit reader must already have been ensured at least 15 bits */
tools/gbr2png/lodepng/lodepng.cpp:1098
↓ 3 callersFunctionlodepng_add_itext_sized
tools/gbr2png/lodepng/lodepng.cpp:2972
↓ 3 callersFunctionlodepng_clear_icc
tools/gbr2png/lodepng/lodepng.cpp:3023
↓ 3 callersFunctionlodepng_color_mode_equal
tools/gbr2png/lodepng/lodepng.cpp:2717
↓ 3 callersFunctionlodepng_crc32
Return the CRC of the bytes buf[0..len-1].*/
tools/gbr2png/lodepng/lodepng.cpp:2419
↓ 3 callersFunctionlodepng_get_raw_size_lct
tools/gbr2png/lodepng/lodepng.cpp:2792
↓ 3 callersFunctionpeekBits
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 callersFunctionuivector_push_back
returns 1 if success, 0 if failure ==> nothing done*/
tools/gbr2png/lodepng/lodepng.cpp:252
↓ 3 callersFunctionuivector_resize
returns 1 if success, 0 if failure ==> nothing done*/
tools/gbr2png/lodepng/lodepng.cpp:231
↓ 3 callersFunctionunfilter
tools/gbr2png/lodepng/lodepng.cpp:4231
↓ 2 callersFunctionClampScrollLimits
common/src/Scroll.c:240
↓ 2 callersFunctionFadeDMG
common/src/Fade_b.c:15
↓ 2 callersFunctionFadeStepColor
common/src/Fade_b.c:49
↓ 2 callersFunctionHuffmanTree_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 callersFunctionIsTileEmpty
tools/gbr2c/gbrParser .cpp:47
↓ 2 callersFunctionLodePNGBitReader_init
data size argument is in bytes. Returns error if size too large causing overflow */
tools/gbr2png/lodepng/lodepng.cpp:465
↓ 2 callersFunctionLodePNGIText_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2940
↓ 2 callersFunctionLodePNGText_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2884
↓ 2 callersFunctionLodePNGUnknownChunks_cleanup
tools/gbr2png/lodepng/lodepng.cpp:2853
↓ 2 callersFunctionLodePNGUnknownChunks_init
tools/gbr2png/lodepng/lodepng.cpp:2847
↓ 2 callersFunctionReplace
tools/gbr2c/gbrParser .cpp:12
↓ 2 callersFunctionScrollSetTiles
common/src/Scroll.c:140
↓ 2 callersFunctionScrollUpdateColumnR
common/src/Scroll.c:370
↓ 2 callersFunctionScrollUpdateColumnWithDelay
common/src/Scroll.c:385
↓ 2 callersFunctionScrollUpdateRowR
common/src/Scroll.c:324
↓ 2 callersFunctionScrollUpdateRowWithDelay
common/src/Scroll.c:336
↓ 2 callersFunctionSetFrame
common/src/Sprite.c:8
↓ 2 callersFunctionSpriteManagerRemove
common/src/SpriteManager.c:131
↓ 2 callersFunctionUpdateColor
common/src/Fade_b.c:44
↓ 2 callersFunctionaddChunk_PLTE
only adds the chunk if needed (there is a key or palette with alpha) */
tools/gbr2png/lodepng/lodepng.cpp:5151
↓ 2 callersFunctionaddChunk_tEXt
tools/gbr2png/lodepng/lodepng.cpp:5225
↓ 2 callersFunctionaddColorBits
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 callersFunctionaddPaddingBits
tools/gbr2png/lodepng/lodepng.cpp:5671
↓ 2 callersFunctionadler32
Return the adler32 of the bytes data[0..len-1]*/
tools/gbr2png/lodepng/lodepng.cpp:2164
next →1–100 of 326, ranked by callers