Lines Matching refs:buffersize

377 unsigned lodepng_save_file(const unsigned char* buffer, size_t buffersize, const char* filename)  in lodepng_save_file()  argument
382 fwrite((char*)buffer , 1 , buffersize, file); in lodepng_save_file()
4809 size_t buffersize; in lodepng_decode_file() local
4811 error = lodepng_load_file(&buffer, &buffersize, filename); in lodepng_decode_file()
4812 if(!error) error = lodepng_decode_memory(out, w, h, buffer, buffersize, colortype, bitdepth); in lodepng_decode_file()
5886 size_t buffersize; in lodepng_encode_file() local
5887 unsigned error = lodepng_encode_memory(&buffer, &buffersize, image, w, h, colortype, bitdepth); in lodepng_encode_file()
5888 if(!error) error = lodepng_save_file(buffer, buffersize, filename); in lodepng_encode_file()
6069 size_t buffersize = 0; in decompress() local
6070 unsigned error = zlib_decompress(&buffer, &buffersize, in, insize, &settings); in decompress()
6073 out.insert(out.end(), &buffer[0], &buffer[buffersize]); in decompress()
6091 size_t buffersize = 0; in compress() local
6092 unsigned error = zlib_compress(&buffer, &buffersize, in, insize, &settings); in compress()
6095 out.insert(out.end(), &buffer[0], &buffer[buffersize]); in compress()
6146 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw); in decode() local
6147 out.insert(out.end(), &buffer[0], &buffer[buffersize]); in decode()
6167 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw); in decode() local
6168 out.insert(out.end(), &buffer[0], &buffer[buffersize]); in decode()
6197 size_t buffersize; in encode() local
6198 unsigned error = lodepng_encode_memory(&buffer, &buffersize, in, w, h, colortype, bitdepth); in encode()
6201 out.insert(out.end(), &buffer[0], &buffer[buffersize]); in encode()
6220 size_t buffersize; in encode() local
6221 unsigned error = lodepng_encode(&buffer, &buffersize, in, w, h, &state); in encode()
6224 out.insert(out.end(), &buffer[0], &buffer[buffersize]); in encode()