diff options
Diffstat (limited to 'third_party/aom/aom_dsp/binary_codes_writer.h')
-rw-r--r-- | third_party/aom/aom_dsp/binary_codes_writer.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/third_party/aom/aom_dsp/binary_codes_writer.h b/third_party/aom/aom_dsp/binary_codes_writer.h index 18ad5078f..784c721a6 100644 --- a/third_party/aom/aom_dsp/binary_codes_writer.h +++ b/third_party/aom/aom_dsp/binary_codes_writer.h @@ -17,7 +17,8 @@ extern "C" { #endif #include <assert.h> -#include "./aom_config.h" +#include "config/aom_config.h" + #include "aom/aom_integer.h" #include "aom_dsp/bitwriter.h" #include "aom_dsp/bitwriter_buffer.h" @@ -33,12 +34,6 @@ void aom_write_primitive_symmetric(aom_writer *w, int16_t v, // Encodes a value v in [0, n-1] quasi-uniformly void aom_write_primitive_quniform(aom_writer *w, uint16_t n, uint16_t v); -// Encodes a value v in [0, n-1] based on a reference ref also in [0, n-1] -// The closest p values of v from ref are coded using a p-ary quasi-unoform -// short code while the remaining n-p values are coded with a longer code. -void aom_write_primitive_refbilevel(aom_writer *w, uint16_t n, uint16_t p, - uint16_t ref, uint16_t v); - // Finite subexponential code that codes a symbol v in [0, n-1] with parameter k void aom_write_primitive_subexpfin(aom_writer *w, uint16_t n, uint16_t k, uint16_t v); @@ -61,13 +56,12 @@ void aom_wb_write_signed_primitive_refsubexpfin(struct aom_write_bit_buffer *wb, // Functions that counts bits for the above primitives int aom_count_primitive_symmetric(int16_t v, unsigned int mag_bits); int aom_count_primitive_quniform(uint16_t n, uint16_t v); -int aom_count_primitive_refbilevel(uint16_t n, uint16_t p, uint16_t ref, - uint16_t v); int aom_count_primitive_subexpfin(uint16_t n, uint16_t k, uint16_t v); int aom_count_primitive_refsubexpfin(uint16_t n, uint16_t k, uint16_t ref, uint16_t v); int aom_count_signed_primitive_refsubexpfin(uint16_t n, uint16_t k, int16_t ref, int16_t v); +void aom_wb_write_uvlc(struct aom_write_bit_buffer *wb, uint32_t v); #ifdef __cplusplus } // extern "C" #endif |