Lines Matching refs:nb_bits_
56 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()
183 if (bw->nb_bits_ != -8) return 0; // Flush() must have been called in VP8BitWriterAppend()