diff options
Diffstat (limited to 'third_party/aom/aom_dsp/entcode.h')
-rw-r--r-- | third_party/aom/aom_dsp/entcode.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/third_party/aom/aom_dsp/entcode.h b/third_party/aom/aom_dsp/entcode.h index 534959e66..981a951e6 100644 --- a/third_party/aom/aom_dsp/entcode.h +++ b/third_party/aom/aom_dsp/entcode.h @@ -28,15 +28,11 @@ typedef uint32_t od_ec_window; 3 => 1/8th bits.*/ #define OD_BITRES (3) -/*With CONFIG_EC_SMALLMUL, the value stored in a CDF is 32768 minus the actual - Q15 cumulative probability (an "inverse" CDF). +/*The value stored in an iCDF is 32768 minus the actual Q15 cumulative + probability (an "inverse" CDF). This function converts from one representation to the other (and is its own inverse).*/ -#if CONFIG_EC_SMALLMUL #define OD_ICDF(x) (32768U - (x)) -#else -#define OD_ICDF(x) (x) -#endif /*See entcode.c for further documentation.*/ |