mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37:31 +09:00
Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614
This commit is contained in:
parent
debbee1e2a
commit
992c6637e3
429 changed files with 76047 additions and 40937 deletions
5
third_party/aom/aom_dsp/daalaboolreader.h
vendored
5
third_party/aom/aom_dsp/daalaboolreader.h
vendored
|
|
@ -45,11 +45,7 @@ uint32_t aom_daala_reader_tell_frac(const daala_reader *r);
|
|||
|
||||
static INLINE int aom_daala_read(daala_reader *r, int prob) {
|
||||
int bit;
|
||||
#if CONFIG_EC_SMALLMUL
|
||||
int p = (0x7FFFFF - (prob << 15) + prob) >> 8;
|
||||
#else
|
||||
int p = ((prob << 15) + 256 - prob) >> 8;
|
||||
#endif
|
||||
#if CONFIG_BITSTREAM_DEBUG
|
||||
/*{
|
||||
const int queue_r = bitstream_queue_get_read();
|
||||
|
|
@ -113,6 +109,7 @@ static INLINE int aom_daala_reader_has_error(daala_reader *r) {
|
|||
static INLINE int daala_read_symbol(daala_reader *r, const aom_cdf_prob *cdf,
|
||||
int nsymbs) {
|
||||
int symb;
|
||||
assert(cdf != NULL);
|
||||
symb = od_ec_decode_cdf_q15(&r->ec, cdf, nsymbs);
|
||||
|
||||
#if CONFIG_BITSTREAM_DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue