summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhddata.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-22 00:42:08 +0100
committerMans Rullgard <mans@mansr.com>2011-07-24 22:28:57 +0100
commit185a2c08c5f5a97b5d36f040651a31d52b6c1e79 (patch)
tree37cf8375cded2717000be9b2f1d3c0b999ea2b8c /libavcodec/dnxhddata.h
parentb297c881d6b968bbb2bb7a3a0979429ee03b594c (diff)
dnxhddec: store 2*level+1 in ac_level tables
This is the value actually used by the decoder in speed-critical code. The encoder uses these tables only in init code. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dnxhddata.h')
-rw-r--r--libavcodec/dnxhddata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
index 74cf0b522f..b3d39d5acf 100644
--- a/libavcodec/dnxhddata.h
+++ b/libavcodec/dnxhddata.h
@@ -33,6 +33,7 @@ typedef struct {
unsigned int coding_unit_size;
int index_bits;
int bit_depth;
+ int eob_index;
const uint8_t *luma_weight, *chroma_weight;
const uint8_t *dc_codes, *dc_bits;
const uint16_t *ac_codes;