Lines Matching refs:outv

2138   ucvector outv;  in lodepng_zlib_compress()  local
2154 ucvector_init_buffer(&outv, *out, *outsize); in lodepng_zlib_compress()
2156 ucvector_push_back(&outv, (unsigned char)(CMFFLG / 256)); in lodepng_zlib_compress()
2157 ucvector_push_back(&outv, (unsigned char)(CMFFLG % 256)); in lodepng_zlib_compress()
2164 for(i = 0; i < deflatesize; i++) ucvector_push_back(&outv, deflatedata[i]); in lodepng_zlib_compress()
2166 lodepng_add32bitInt(&outv, ADLER32); in lodepng_zlib_compress()
2169 *out = outv.data; in lodepng_zlib_compress()
2170 *outsize = outv.size; in lodepng_zlib_compress()
4727 ucvector outv; in decodeGeneric() local
4728 ucvector_init(&outv); in decodeGeneric()
4729 if(!ucvector_resizev(&outv, in decodeGeneric()
4731 …if(!state->error) state->error = postProcessScanlines(outv.data, scanlines.data, *w, *h, &state->i… in decodeGeneric()
4732 *out = outv.data; in decodeGeneric()
5666 ucvector outv; in lodepng_encode() local
5722 ucvector_init(&outv); in lodepng_encode()
5729 writeSignature(&outv); in lodepng_encode()
5731 addChunk_IHDR(&outv, w, h, info.color.colortype, info.color.bitdepth, info.interlace_method); in lodepng_encode()
5736 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[0], info.unknown_chunks_size[0]); in lodepng_encode()
5743 addChunk_PLTE(&outv, &info.color); in lodepng_encode()
5747 addChunk_PLTE(&outv, &info.color); in lodepng_encode()
5752 addChunk_tRNS(&outv, &info.color); in lodepng_encode()
5756 addChunk_tRNS(&outv, &info.color); in lodepng_encode()
5760 if(info.background_defined) addChunk_bKGD(&outv, &info); in lodepng_encode()
5762 if(info.phys_defined) addChunk_pHYs(&outv, &info); in lodepng_encode()
5767 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[1], info.unknown_chunks_size[1]); in lodepng_encode()
5772 state->error = addChunk_IDAT(&outv, data, datasize, &state->encoder.zlibsettings); in lodepng_encode()
5776 if(info.time_defined) addChunk_tIME(&outv, &info.time); in lodepng_encode()
5792 addChunk_zTXt(&outv, info.text_keys[i], info.text_strings[i], &state->encoder.zlibsettings); in lodepng_encode()
5796 addChunk_tEXt(&outv, info.text_keys[i], info.text_strings[i]); in lodepng_encode()
5813 addChunk_tEXt(&outv, "LodePNG", VERSION_STRING); /*it's shorter as tEXt than as zTXt chunk*/ in lodepng_encode()
5829 addChunk_iTXt(&outv, state->encoder.text_compression, in lodepng_encode()
5837 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[2], info.unknown_chunks_size[2]); in lodepng_encode()
5841 addChunk_IEND(&outv); in lodepng_encode()
5849 *out = outv.data; in lodepng_encode()
5850 *outsize = outv.size; in lodepng_encode()