Avoids .got entries for ff_mpa_bitrate_tab, ff_mpa_synth_window_fixed, ff_band_size_long, ff_mpa_pretab, ff_band_size_short, ff_mpa_synth_window_float and ff_band_index_long here.
Unified · Split
| @@ -31,11 +31,13 @@ · 30 unmodified lines | |||
| 31 | 31 | ||
| 32 | #include "config.h" | 32 | #include "config.h" |
| 33 | 33 | ||
| 34 | #include "libavutil/attributes_internal.h" | ||
| 34 | #include "vlc.h" | 35 | #include "vlc.h" |
| 35 | 36 | ||
| 36 | #define MODE_EXT_MS_STEREO 2 | 37 | #define MODE_EXT_MS_STEREO 2 |
| 37 | #define MODE_EXT_I_STEREO 1 | 38 | #define MODE_EXT_I_STEREO 1 |
| 38 | 39 | ||
| 40 | FF_VISIBILITY_PUSH_HIDDEN | ||
| 39 | extern const uint16_t ff_mpa_bitrate_tab[2][3][15]; | 41 | extern const uint16_t ff_mpa_bitrate_tab[2][3][15]; |
| 40 | extern const uint16_t ff_mpa_freq_tab[3]; | 42 | extern const uint16_t ff_mpa_freq_tab[3]; |
| 41 | extern const int ff_mpa_sblimit_table[5]; | 43 | extern const int ff_mpa_sblimit_table[5]; |
| @@ -78,5 +80,6 @@ extern const uint8_t ff_mpa_pretab[2][22]; · 36 unmodified lines | |||
| 78 | /* Initialize tables shared between the fixed and | 80 | /* Initialize tables shared between the fixed and |
| 79 | * floating point MPEG audio decoders. */ | 81 | * floating point MPEG audio decoders. */ |
| 80 | void ff_mpegaudiodec_common_init_static(void); | 82 | void ff_mpegaudiodec_common_init_static(void); |
| 83 | FF_VISIBILITY_POP_HIDDEN | ||
| 81 | 84 | ||
| 82 | #endif /* AVCODEC_MPEGAUDIODATA_H */ | 85 | #endif /* AVCODEC_MPEGAUDIODATA_H */ |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | |||
| 22 | #include <stddef.h> | 22 | #include <stddef.h> |
| 23 | #include <stdint.h> | 23 | #include <stdint.h> |
| 24 | 24 | ||
| 25 | #include "libavutil/attributes_internal.h" | ||
| 25 | #include "libavutil/macros.h" | 26 | #include "libavutil/macros.h" |
| 26 | 27 | ||
| 27 | typedef struct MPADSPContext { | 28 | typedef struct MPADSPContext { |
| @@ -40,6 +41,7 @@ typedef struct MPADSPContext { · 12 unmodified lines | |||
| 40 | int count, int switch_point, int block_type); | 41 | int count, int switch_point, int block_type); |
| 41 | } MPADSPContext; | 42 | } MPADSPContext; |
| 42 | 43 | ||
| 44 | FF_VISIBILITY_PUSH_HIDDEN | ||
| 43 | void ff_mpadsp_init(MPADSPContext *s); | 45 | void ff_mpadsp_init(MPADSPContext *s); |
| 44 | 46 | ||
| 45 | extern int32_t ff_mpa_synth_window_fixed[]; | 47 | extern int32_t ff_mpa_synth_window_fixed[]; |
| @@ -88,5 +90,6 @@ void ff_imdct36_blocks_fixed(int *out, int *buf, int *in, · 42 unmodified lines | |||
| 88 | 90 | ||
| 89 | extern int ff_mdct_win_fixed[8][MDCT_BUF_SIZE]; | 91 | extern int ff_mdct_win_fixed[8][MDCT_BUF_SIZE]; |
| 90 | extern float ff_mdct_win_float[8][MDCT_BUF_SIZE]; | 92 | extern float ff_mdct_win_float[8][MDCT_BUF_SIZE]; |
| 93 | FF_VISIBILITY_POP_HIDDEN | ||
| 91 | 94 | ||
| 92 | #endif /* AVCODEC_MPEGAUDIODSP_H */ | 95 | #endif /* AVCODEC_MPEGAUDIODSP_H */ |