mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 16:57:30 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
12
third_party/aom/aom_dsp/binary_codes_writer.h
vendored
12
third_party/aom/aom_dsp/binary_codes_writer.h
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue