Searched refs:bitpointer (Results 1 – 2 of 2) sorted by relevance
/external/zopfli/src/zopfli/ |
D | zlib_container.c | 53 unsigned char bitpointer = 0; in ZopfliZlibCompress() local 66 in, insize, &bitpointer, out, outsize); in ZopfliZlibCompress()
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 398 #define addBitToStream(/*size_t**/ bitpointer, /*ucvector**/ bitstream, /*unsigned char*/ bit)\ argument 401 if(((*bitpointer) & 7) == 0) ucvector_push_back(bitstream, (unsigned char)0);\ 403 (bitstream->data[bitstream->size - 1]) |= (bit << ((*bitpointer) & 0x7));\ 404 (*bitpointer)++;\ 407 static void addBitsToStream(size_t* bitpointer, ucvector* bitstream, unsigned value, size_t nbits) in addBitsToStream() argument 410 …for(i = 0; i < nbits; i++) addBitToStream(bitpointer, bitstream, (unsigned char)((value >> i) & 1)… in addBitsToStream() 413 static void addBitsToStreamReversed(size_t* bitpointer, ucvector* bitstream, unsigned value, size_t… in addBitsToStreamReversed() argument 416 …for(i = 0; i < nbits; i++) addBitToStream(bitpointer, bitstream, (unsigned char)((value >> (nbits … in addBitsToStreamReversed() 422 #define READBIT(bitpointer, bitstream) ((bitstream[bitpointer >> 3] >> (bitpointer & 0x7)) & (unsig… argument 424 static unsigned char readBitFromStream(size_t* bitpointer, const unsigned char* bitstream) in readBitFromStream() argument [all …]
|