summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom_dsp/entdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom_dsp/entdec.h')
-rw-r--r--third_party/aom/aom_dsp/entdec.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/third_party/aom/aom_dsp/entdec.h b/third_party/aom/aom_dsp/entdec.h
index e1145e81d..35ac7fe0d 100644
--- a/third_party/aom/aom_dsp/entdec.h
+++ b/third_party/aom/aom_dsp/entdec.h
@@ -47,10 +47,8 @@ struct od_ec_dec {
const unsigned char *end;
/*The read pointer for the entropy-coded bits.*/
const unsigned char *bptr;
- /*The difference between the coded value and the low end of the current
- range.
- {EC_SMALLMUL} The difference between the high end of the current range,
- (low + rng), and the coded value, minus 1.
+ /*The difference between the high end of the current range, (low + rng), and
+ the coded value, minus 1.
This stores up to OD_EC_WINDOW_SIZE bits of that difference, but the
decoder only uses the top 16 bits of the window to decode the next symbol.
As we shift up during renormalization, if we don't have enough bits left in