diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-10-14 19:20:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-15 02:46:29 +0200 |
commit | 96b165fae24b84a703728a8d34ef1ecb944471ab (patch) | |
tree | 15f2ced4434f8465c56fd8a214db5db27bc5751a /libavcodec/dnxhddata.h | |
parent | 2c2d1624a2e70693045868b8b841a24a9b711507 (diff) |
dnxhd: interleave AC levels and flags
This allows more efficient access to the array as the level and flags
are contiguous. Around 4% faster coefficient decoding.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dnxhddata.h')
-rw-r--r-- | libavcodec/dnxhddata.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h index a1fcf06798..d97388818d 100644 --- a/libavcodec/dnxhddata.h +++ b/libavcodec/dnxhddata.h @@ -46,8 +46,7 @@ typedef struct CIDEntry { const uint8_t *luma_weight, *chroma_weight; const uint8_t *dc_codes, *dc_bits; const uint16_t *ac_codes; - const uint8_t *ac_bits, *ac_level; - const uint8_t *ac_flags; + const uint8_t *ac_bits, *ac_info; const uint16_t *run_codes; const uint8_t *run_bits, *run; int bit_rates[5]; ///< Helper to choose variants, rounded to nearest 5Mb/s |