Home | History | Annotate | Download | only in utils

Lines Matching refs:BITS

29 // However, since range_ is only 8bit, we only need an active window of 8 bits
30 // for value_. Left bits (MSB) gets zeroed and shifted away when value_ falls
31 // below 128, range_ is updated, and fresh bits read from the bitstream are
32 // brought in as LSB. To avoid reading the fresh bits one by one (slow), we
33 // cache BITS of them ahead. The total of (BITS + 8) bits must fit into a
34 // natural register (with type bit_t). To fetch BITS bits from bitstream we
37 // BITS can be any multiple of 8 from 8 to 56 (inclusive).
41 #define BITS 24
43 #define BITS 56
45 #define BITS 24
47 #define BITS 56
49 #define BITS 24
51 #define BITS 24
56 // bit_t = natural register type for storing 'value_' (which is BITS+8 bits)
57 // range_t = register for 'range_' (which is 8bits only)
59 #if (BITS > 24)
75 int bits_; // number of valid bits left
94 // return the next value made of 'num_bits' bits
113 // maximum number of bits (inclusive) the bit-reader can handle:
116 #define VP8L_LBITS 64 // Number of bits prefetched (= bit-size of vp8l_val_t).
122 vp8l_val_t val_; // pre-fetched bits
138 // Reads the specified number of bits from read buffer.
144 // Return the prefetched bits, so they can be looked up.
156 // For jumping over a number of bits in the bit stream when accessed with
163 // Advances the read buffer by 4 bytes to make room for reading next 32 bits.