Lines Matching refs:bw
36 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
37 uint8_t* VP8BitWriterFinish(VP8BitWriter* const bw);
38 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob);
39 int VP8PutBitUniform(VP8BitWriter* const bw, int bit);
40 void VP8PutValue(VP8BitWriter* const bw, int value, int nb_bits);
41 void VP8PutSignedValue(VP8BitWriter* const bw, int value, int nb_bits);
42 int VP8BitWriterAppend(VP8BitWriter* const bw,
46 static inline uint64_t VP8BitWriterPos(const VP8BitWriter* const bw) {
47 return (uint64_t)(bw->pos_ + bw->run_) * 8 + 8 + bw->nb_bits_;
50 static inline uint8_t* VP8BitWriterBuf(const VP8BitWriter* const bw) {
51 return bw->buf_;
53 static inline size_t VP8BitWriterSize(const VP8BitWriter* const bw) {
54 return bw->pos_;