diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-28 17:36:57 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-11-06 19:41:26 +0300 |
commit | 649d7cbda8bf34c8fe2a08b387208376ba98a90d (patch) | |
tree | 9a270098b7a357a2b5cc83e3f618218f38bf17cc | |
parent | a6657493da5ca6f53a92aa2bdd283e1d3a12b91e (diff) |
avcodec/vc1data: Mark tables as hidden
This e.g. allows compilers to bake the offset implied
by using ff_vc1_b_field_mvpred_scales[3] into the
general offset; for certain arches this is also necessary
in order to avoid building suboptimal code.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/vc1data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vc1data.h b/libavcodec/vc1data.h index dcd51e6a05..0900469ab2 100644 --- a/libavcodec/vc1data.h +++ b/libavcodec/vc1data.h @@ -30,10 +30,12 @@ #include <stdint.h> +#include "libavutil/attributes_internal.h" #include "libavutil/rational.h" #include "vlc.h" +FF_VISIBILITY_PUSH_HIDDEN /** Table for conversion between TTBLK and TTMB */ extern const int ff_vc1_ttblk_to_tt[3][8]; @@ -127,5 +129,6 @@ extern const uint16_t ff_vc1_b_field_mvpred_scales[7][4]; #define AC_MODES 8 extern const int ff_vc1_ac_sizes[AC_MODES]; +FF_VISIBILITY_POP_HIDDEN #endif /* AVCODEC_VC1DATA_H */ |