Lines Matching defs:ucvector

118 About uivector, ucvector and string:
199 typedef struct ucvector
204 } ucvector;
207 static unsigned ucvector_resize(ucvector* p, size_t size)
229 ((ucvector*)p)->size = ((ucvector*)p)->allocsize = 0;
230 lodepng_free(((ucvector*)p)->data);
231 ((ucvector*)p)->data = NULL;
234 static void ucvector_init(ucvector* p)
242 static unsigned ucvector_resizev(ucvector* p, size_t size, unsigned char value)
255 static void ucvector_init_buffer(ucvector* p, unsigned char* buffer, size_t size)
264 static unsigned ucvector_push_back(ucvector* p, unsigned char c)
336 static void lodepng_add32bitInt(ucvector* buffer, unsigned value)
398 #define addBitToStream(/*size_t**/ bitpointer, /*ucvector**/ bitstream, /*unsigned char*/ bit)\
407 static void addBitsToStream(size_t* bitpointer, ucvector* bitstream, unsigned value, size_t nbits)
413 static void addBitsToStreamReversed(size_t* bitpointer, ucvector* bitstream, unsigned value, size_t nbits)
1086 static unsigned inflateHuffmanBlock(ucvector* out, const unsigned char* in, size_t* bp,
1186 static unsigned inflateNoCompression(ucvector* out, const unsigned char* in, size_t* bp, size_t* pos, size_t inlength)
1216 static unsigned lodepng_inflatev(ucvector* out,
1255 ucvector v;
1288 static void addHuffmanSymbol(size_t* bp, ucvector* compressed, unsigned code, unsigned bitlen)
1600 static unsigned deflateNoCompression(ucvector* out, const unsigned char* data, size_t datasize)
1642 static void writeLZ77data(size_t* bp, ucvector* out, const uivector* lz77_encoded,
1671 static unsigned deflateDynamic(ucvector* out, size_t* bp, Hash* hash,
1916 static unsigned deflateFixed(ucvector* out, size_t* bp, Hash* hash,
1964 static unsigned lodepng_deflatev(ucvector* out, const unsigned char* in, size_t insize,
2008 ucvector v;
2138 ucvector outv;
2153 /*ucvector-controlled version of the output buffer, for dynamic array*/
4399 ucvector decoded;
4448 ucvector decoded;
4569 ucvector idat; /*the data from idat chunks*/
4570 ucvector scanlines;
4727 ucvector outv;
4882 static unsigned addChunk(ucvector* out, const char* chunkName, const unsigned char* data, size_t length)
4889 static void writeSignature(ucvector* out)
4902 static unsigned addChunk_IHDR(ucvector* out, unsigned w, unsigned h,
4906 ucvector header;
4923 static unsigned addChunk_PLTE(ucvector* out, const LodePNGColorMode* info)
4927 ucvector PLTE;
4940 static unsigned addChunk_tRNS(ucvector* out, const LodePNGColorMode* info)
4944 ucvector tRNS;
4985 static unsigned addChunk_IDAT(ucvector* out, const unsigned char* data, size_t datasize,
4988 ucvector zlibdata;
5000 static unsigned addChunk_IEND(ucvector* out)
5009 static unsigned addChunk_tEXt(ucvector* out, const char* keyword, const char* textstring)
5013 ucvector text;
5025 static unsigned addChunk_zTXt(ucvector* out, const char* keyword, const char* textstring,
5029 ucvector data, compressed;
5052 static unsigned addChunk_iTXt(ucvector* out, unsigned compressed, const char* keyword, const char* langtag,
5056 ucvector data;
5073 ucvector compressed_data;
5093 static unsigned addChunk_bKGD(ucvector* out, const LodePNGInfo* info)
5096 ucvector bKGD;
5123 static unsigned addChunk_tIME(ucvector* out, const LodePNGTime* time)
5140 static unsigned addChunk_pHYs(ucvector* out, const LodePNGInfo* info)
5143 ucvector data;
5283 ucvector attempt[5]; /*five filtering attempts, one for each filter type*/
5341 ucvector attempt[5]; /*five filtering attempts, one for each filter type*/
5402 ucvector attempt[5]; /*five filtering attempts, one for each filter type*/
5648 static unsigned addUnknownChunks(ucvector* out, unsigned char* data, size_t datasize)
5666 ucvector outv;