OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bitpointer
(Results
1 - 2
of
2
) sorted by null
/external/zopfli/src/zopfli/
zlib_container.c
53
unsigned char
bitpointer
= 0;
local
66
in, insize, &
bitpointer
, out, outsize);
/external/zopfli/src/zopflipng/lodepng/
lodepng.cpp
398
#define addBitToStream(/*size_t**/
bitpointer
, /*ucvector**/ bitstream, /*unsigned char*/ bit)\
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)
410
for(i = 0; i < nbits; i++) addBitToStream(
bitpointer
, bitstream, (unsigned char)((value >> i) & 1));
413
static void addBitsToStreamReversed(size_t*
bitpointer
, ucvector* bitstream, unsigned value, size_t nbits)
416
for(i = 0; i < nbits; i++) addBitToStream(
bitpointer
, bitstream, (unsigned char)((value >> (nbits - 1 - i)) & 1));
422
#define READBIT(
bitpointer
, bitstream) ((bitstream[
bitpointer
>> 3] >> (bitpointer & 0x7)) & (unsigned char)1
[
all
...]
Completed in 96 milliseconds