From ec910d81405c736a4490383a250299a7837c2e64 Mon Sep 17 00:00:00 2001 From: trav90 Date: Thu, 18 Oct 2018 21:53:44 -0500 Subject: Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614 --- third_party/aom/aom_dsp/entcode.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'third_party/aom/aom_dsp/entcode.h') 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.*/ -- cgit v1.2.3