60 void push(
uint64_t bits,
int count)
noexcept {
61 establishClassInvariants();
66 cache |= bits << fillLevel;
70 [[nodiscard]]
uint32_t peek(
int count)
const noexcept {
71 establishClassInvariants();
77 return extractLowBits(
static_cast<uint32_t>(cache), count);
80 void skip(
int count)
noexcept {
81 establishClassInvariants();
108 const int emptyBitsGap = vacantBits - count;
114 cache |= bits << emptyBitsGap;
119 [[nodiscard]]
auto peek(
int count)
const noexcept {
131 void skip(
int count)
noexcept {
__attribute__((noinline)) __attribute__((visibility("default"))) JPEGStuffedByteStreamGenerator
constexpr unsigned RAWSPEED_READNONE bitwidth(T unused={})
constexpr RAWSPEED_READNONE T extractHighBits(T value, unsigned nBits, unsigned effectiveBitwidth=bitwidth< T >())
constexpr RAWSPEED_READNONE Ttgt implicit_cast(Tsrc value)
void establishClassInvariants() const noexcept
static constexpr int MaxGetBits
static constexpr int Size
void push(uint64_t bits, int count) noexcept
void skip(int count) noexcept
auto peek(int count) const noexcept