diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-31 20:19:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 00:55:24 +0200 |
commit | cc0a6844973da4c855c399322bc6c6ee8ca8c204 (patch) | |
tree | 7540e0fbe18b44eb0830ecc5b05a79c716dedf49 /.gitignore | |
parent | 7f0f6602cb3219c9d0e6bd5df33d2b891ac0089b (diff) | |
download | ffmpeg-cc0a6844973da4c855c399322bc6c6ee8ca8c204.tar.gz |
h264: move q0 scan tables into context
This fixes out of global array reads.
The alternative solutions of checking the index or modifying the VLC tables
to prevent the index going outside are each about 1-2 cpu cyclces slower
per coded 4x4 block.
The alternative of padding the global tables directly is more ugly and
moving them to the context should benefit cache locality.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b7d14883939e756cbda376c66552be9d843910a0)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions