Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dbit_writer_utils.c56 const int s = 8 + bw->nb_bits_; in Flush()
58 assert(bw->nb_bits_ >= 0); in Flush()
60 bw->nb_bits_ -= 8; in Flush()
120 bw->nb_bits_ += shift; in VP8PutBit()
121 if (bw->nb_bits_ > 0) Flush(bw); in VP8PutBit()
137 bw->nb_bits_ += 1; in VP8PutBitUniform()
138 if (bw->nb_bits_ > 0) Flush(bw); in VP8PutBitUniform()
166 bw->nb_bits_ = -8; in VP8BitWriterInit()
175 VP8PutBits(bw, 0, 9 - bw->nb_bits_); in VP8BitWriterFinish()
176 bw->nb_bits_ = 0; // pad with zeroes in VP8BitWriterFinish()
[all …]
Dbit_writer_utils.h31 int nb_bits_; // number of pending bits member
57 const uint64_t nb_bits = 8 + bw->nb_bits_; // bw->nb_bits_ is <= 0, note in VP8BitWriterPos()