diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-08 21:45:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-10 04:26:38 +0200 |
commit | fe9bc1cc45e2bebba1efa7b9a20b0d66679bf2d5 (patch) | |
tree | fe07756b61693916f5f8cda67d0ef74074ef4438 /doc/platform.texi | |
parent | a11cc04786c298a8e4df3da12d8e275eaaf6b333 (diff) | |
download | ffmpeg-fe9bc1cc45e2bebba1efa7b9a20b0d66679bf2d5.tar.gz |
avcodec/mpeg12dec: Optimize reading mpeg2 intra escape codes
Said escape code is only six bits long, so that one has at least 25 - 6
bits in the bitstream reader's cache after reading it; therefore the
whole following 18 bits (containing the actual code) are already in the
bitstream reader's cache, making it unnecessary to reload the cache.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/platform.texi')
0 files changed, 0 insertions, 0 deletions