Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-27 03:33:59 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 04:03:34 +0400
commitd8ae0dfd999db6721892a1242e0baaa34af5135d (patch)
treeaafe7cc7e96aea113ad375cbc09f7391c0b000ef /libavcodec/lagarithrac.h
parent4fb4bf7289de2ceb58d1700f60b5c049f7907391 (diff)
avcodec/lagarithrac: increase LUT from 256 to 1024 bytes
about 2 cycles (~1%) faster lag_get_rac() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lagarithrac.h')
-rw-r--r--libavcodec/lagarithrac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lagarithrac.h b/libavcodec/lagarithrac.h
index ebc6bef22d..7d60d56c2f 100644
--- a/libavcodec/lagarithrac.h
+++ b/libavcodec/lagarithrac.h
@@ -48,7 +48,7 @@ typedef struct lag_rac {
const uint8_t *bytestream_end; /**< End position of input bytestream. */
uint32_t prob[258]; /**< Table of cumulative probability for each symbol. */
- uint8_t range_hash[256]; /**< Hash table mapping upper byte to approximate symbol. */
+ uint8_t range_hash[1024]; /**< Hash table mapping upper byte to approximate symbol. */
} lag_rac;
void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length);