* @return the total number of bits written to the bitstream. */
| 88 | * @return the total number of bits written to the bitstream. |
| 89 | */ |
| 90 | static inline int put_bits_count(PutBitContext *s) |
| 91 | { |
| 92 | return (s->buf_ptr - s->buf) * 8 + BUF_BITS - s->bit_left; |
| 93 | } |
| 94 | |
| 95 | /** |
| 96 | * @return the number of bytes output so far; may only be called |
no outgoing calls