summaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhddata.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-23 00:05:54 +0100
committerMans Rullgard <mans@mansr.com>2011-07-24 22:29:22 +0100
commit9dfd89b831f7c5a11b6406164e0d6d65c0392d24 (patch)
tree767df43d2f2439ac574ad43b265395a6a1d40fe7 /libavcodec/dnxhddata.h
parent185a2c08c5f5a97b5d36f040651a31d52b6c1e79 (diff)
downloadffmpeg-streaming-9dfd89b831f7c5a11b6406164e0d6d65c0392d24.zip
ffmpeg-streaming-9dfd89b831f7c5a11b6406164e0d6d65c0392d24.tar.gz
dnxhddec: merge ac_{index,run}_flags
These tables contain only a 1-bit flag each. Combining them reduces the data size and saves some instructions in the block decode loop. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dnxhddata.h')
-rw-r--r--libavcodec/dnxhddata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
index b3d39d5..1ff1688 100644
--- a/libavcodec/dnxhddata.h
+++ b/libavcodec/dnxhddata.h
@@ -38,7 +38,7 @@ typedef struct {
const uint8_t *dc_codes, *dc_bits;
const uint16_t *ac_codes;
const uint8_t *ac_bits, *ac_level;
- const uint8_t *ac_run_flag, *ac_index_flag;
+ const uint8_t *ac_flags;
const uint16_t *run_codes;
const uint8_t *run_bits, *run;
int bit_rates[5]; ///< Helpher to choose variants, rounded to nearest 5Mb/s
OpenPOWER on IntegriCloud