Home
last modified time | relevance | path

Searched refs:bitpointer (Results 1 – 3 of 3) sorted by relevance

/external/flac/src/libFLAC/
Dbitwriter.c548 bitpointer += FLAC__HALF_TEMP_BITS; \
567 bitpointer += FLAC__HALF_TEMP_BITS; \
580 FLAC__uint32 bitpointer = FLAC__TEMP_BITS; in FLAC__bitwriter_write_rice_signed_block() local
589 bitpointer -= bw->bits; in FLAC__bitwriter_write_rice_signed_block()
590 wide_accum = (FLAC__bwtemp)(bw->accum) << bitpointer; in FLAC__bitwriter_write_rice_signed_block()
595 bitpointer -= bw->bits; in FLAC__bitwriter_write_rice_signed_block()
596 wide_accum = bw->accum << bitpointer; in FLAC__bitwriter_write_rice_signed_block()
600 bitpointer -= (bw->bits - FLAC__HALF_TEMP_BITS); in FLAC__bitwriter_write_rice_signed_block()
601 wide_accum = bw->accum << bitpointer; in FLAC__bitwriter_write_rice_signed_block()
625 if(total_bits <= bitpointer) { in FLAC__bitwriter_write_rice_signed_block()
[all …]
/external/zopfli/src/zopfli/
Dzlib_container.c53 unsigned char bitpointer = 0; in ZopfliZlibCompress() local
66 in, insize, &bitpointer, out, outsize); in ZopfliZlibCompress()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp2438 static unsigned char readBitFromReversedStream(size_t* bitpointer, const unsigned char* bitstream) { in readBitFromReversedStream() argument
2439 …unsigned char result = (unsigned char)((bitstream[(*bitpointer) >> 3] >> (7 - ((*bitpointer) & 0x7… in readBitFromReversedStream()
2440 ++(*bitpointer); in readBitFromReversedStream()
2445 static unsigned readBitsFromReversedStream(size_t* bitpointer, const unsigned char* bitstream, size… in readBitsFromReversedStream() argument
2450 result |= (unsigned)readBitFromReversedStream(bitpointer, bitstream); in readBitsFromReversedStream()
2455 static void setBitOfReversedStream(size_t* bitpointer, unsigned char* bitstream, unsigned char bit)… in setBitOfReversedStream() argument
2457 …if(bit == 0) bitstream[(*bitpointer) >> 3u] &= (unsigned char)(~(1u << (7u - ((*bitpointer) & 7u)… in setBitOfReversedStream()
2458 else bitstream[(*bitpointer) >> 3u] |= (1u << (7u - ((*bitpointer) & 7u))); in setBitOfReversedStream()
2459 ++(*bitpointer); in setBitOfReversedStream()