Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c2437 static unsigned char readBitFromReversedStream(size_t* bitpointer, const unsigned char* bitstream) { in readBitFromReversedStream() argument
2438 …unsigned char result = (unsigned char)((bitstream[(*bitpointer) >> 3] >> (7 - ((*bitpointer) & 0x7… in readBitFromReversedStream()
2439 ++(*bitpointer); in readBitFromReversedStream()
2444 static unsigned readBitsFromReversedStream(size_t* bitpointer, const unsigned char* bitstream, size… in readBitsFromReversedStream() argument
2449 result |= (unsigned)readBitFromReversedStream(bitpointer, bitstream); in readBitsFromReversedStream()
2454 static void setBitOfReversedStream(size_t* bitpointer, unsigned char* bitstream, unsigned char bit)… in setBitOfReversedStream() argument
2456 …if(bit == 0) bitstream[(*bitpointer) >> 3u] &= (unsigned char)(~(1u << (7u - ((*bitpointer) & 7u)… in setBitOfReversedStream()
2457 else bitstream[(*bitpointer) >> 3u] |= (1u << (7u - ((*bitpointer) & 7u))); in setBitOfReversedStream()
2458 ++(*bitpointer); in setBitOfReversedStream()