Searched refs:chunk (Results 1 – 3 of 3) sorted by relevance
2465 unsigned lodepng_chunk_length(const unsigned char* chunk) { in lodepng_chunk_length() argument2466 return lodepng_read32bitInt(&chunk[0]); in lodepng_chunk_length()2469 void lodepng_chunk_type(char type[5], const unsigned char* chunk) { in lodepng_chunk_type() argument2471 for(i = 0; i != 4; ++i) type[i] = (char)chunk[4 + i]; in lodepng_chunk_type()2475 unsigned char lodepng_chunk_type_equals(const unsigned char* chunk, const char* type) { in lodepng_chunk_type_equals() argument2477 return (chunk[4] == type[0] && chunk[5] == type[1] && chunk[6] == type[2] && chunk[7] == type[3]); in lodepng_chunk_type_equals()2480 unsigned char lodepng_chunk_ancillary(const unsigned char* chunk) { in lodepng_chunk_ancillary() argument2481 return((chunk[4] & 32) != 0); in lodepng_chunk_ancillary()2484 unsigned char lodepng_chunk_private(const unsigned char* chunk) { in lodepng_chunk_private() argument2485 return((chunk[6] & 32) != 0); in lodepng_chunk_private()[all …]
855 unsigned lodepng_chunk_length(const unsigned char* chunk);858 void lodepng_chunk_type(char type[5], const unsigned char* chunk);861 unsigned char lodepng_chunk_type_equals(const unsigned char* chunk, const char* type);864 unsigned char lodepng_chunk_ancillary(const unsigned char* chunk);867 unsigned char lodepng_chunk_private(const unsigned char* chunk);870 unsigned char lodepng_chunk_safetocopy(const unsigned char* chunk);873 unsigned char* lodepng_chunk_data(unsigned char* chunk);874 const unsigned char* lodepng_chunk_data_const(const unsigned char* chunk);877 unsigned lodepng_chunk_check_crc(const unsigned char* chunk);880 void lodepng_chunk_generate_crc(unsigned char* chunk);[all …]
85 …ore call `flush_cb` multiple times. To see if the current one is the last chunk of rendering use `…106 …how many pixels were refreshed and in how much time. Called when the last chunk is rendered and se…