EC_ADAPT: minor simplification to adaptation mechanism.
This removes an instruction from the HW path. It also improves BDR by 0.02% on all metrics (AWCY, High Latency, objective-1-fast). Change-Id: I9f8a86871e1c0db4a0704dee297acd6977abcbe4
This commit is contained in:
Родитель
76b8963150
Коммит
5dad9a8943
|
@ -148,7 +148,7 @@ DECLARE_ALIGNED(16, extern const uint8_t, aom_norm[256]);
|
|||
#if CONFIG_EC_ADAPT
|
||||
static INLINE void update_cdf(aom_cdf_prob *cdf, int val, int nsymbs) {
|
||||
const int rate = 4 + (cdf[nsymbs] > 31) + get_msb(nsymbs);
|
||||
const int rate2 = 12 - rate;
|
||||
const int rate2 = 5;
|
||||
int i, tmp;
|
||||
int diff;
|
||||
#if 1
|
||||
|
|
Загрузка…
Ссылка в новой задаче