Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dbit_writer.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()
165 bw->nb_bits_ = -8; in VP8BitWriterInit()
174 VP8PutValue(bw, 0, 9 - bw->nb_bits_); in VP8BitWriterFinish()
175 bw->nb_bits_ = 0; // pad with zeroes in VP8BitWriterFinish()
[all …]
Dbit_writer.h31 int nb_bits_; // number of pending bits member
57 return (uint64_t)(bw->pos_ + bw->run_) * 8 + 8 + bw->nb_bits_; in VP8BitWriterPos()