diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-06 00:53:01 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-09 19:31:47 +0200 |
commit | b9133bce0447bee9f5b4052c1467eb6908214acb (patch) | |
tree | 116550afd52c30456763147a23ea2359d628b542 /libavcodec/tests/mjpegenc_huffman.c | |
parent | ebcaa24274c4f67393710d2d40bd75b4e2f7f8e2 (diff) | |
download | ffmpeg-b9133bce0447bee9f5b4052c1467eb6908214acb.tar.gz |
avcodec/me_cmp: Mark ff_square_tab as hidden
ff_square_tab is always used with an offset; if this table
is marked as hidden, the compiler can infer that it and
therefore also ff_square_tab + 256 have a fixed offset
from the code. This allows to avoid performing "+ 256"
at runtime by baking it into the offset from the code to
the table.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/tests/mjpegenc_huffman.c')
0 files changed, 0 insertions, 0 deletions