diff options
Diffstat (limited to 'third_party/aom/aom_dsp/bitwriter_buffer.h')
-rw-r--r-- | third_party/aom/aom_dsp/bitwriter_buffer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/aom/aom_dsp/bitwriter_buffer.h b/third_party/aom/aom_dsp/bitwriter_buffer.h index 1f23dc857b..f7f75a0979 100644 --- a/third_party/aom/aom_dsp/bitwriter_buffer.h +++ b/third_party/aom/aom_dsp/bitwriter_buffer.h @@ -23,6 +23,8 @@ struct aom_write_bit_buffer { uint32_t bit_offset; }; +int aom_wb_is_byte_aligned(const struct aom_write_bit_buffer *wb); + uint32_t aom_wb_bytes_written(const struct aom_write_bit_buffer *wb); void aom_wb_write_bit(struct aom_write_bit_buffer *wb, int bit); @@ -31,6 +33,9 @@ void aom_wb_overwrite_bit(struct aom_write_bit_buffer *wb, int bit); void aom_wb_write_literal(struct aom_write_bit_buffer *wb, int data, int bits); +void aom_wb_write_unsigned_literal(struct aom_write_bit_buffer *wb, + uint32_t data, int bits); + void aom_wb_overwrite_literal(struct aom_write_bit_buffer *wb, int data, int bits); |