History

avcodec/mpegaudio(data|dsp): Mark symbols as hidden

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.

Andreas Rheinhardt committed 2 years ago

Commit 3f7ee341 parent 333ff3e2 files · +6 −0Browse files

Showing the changes to libavcodec (2 of 2 files). Show all

Unified · Split

2 files
  1. libavcodec/mpegaudiodata.h +3 −0
  2. libavcodec/mpegaudiodsp.h +3 −0
libavcodec/mpegaudiodata.h+3−0
@@ -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 237#define MODE_EXT_MS_STEREO 2
37#define MODE_EXT_I_STEREO 138#define MODE_EXT_I_STEREO 1
38 39
40FF_VISIBILITY_PUSH_HIDDEN
39extern const uint16_t ff_mpa_bitrate_tab[2][3][15];41extern const uint16_t ff_mpa_bitrate_tab[2][3][15];
40extern const uint16_t ff_mpa_freq_tab[3];42extern const uint16_t ff_mpa_freq_tab[3];
41extern const int ff_mpa_sblimit_table[5];43extern 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 and80/* Initialize tables shared between the fixed and
79 * floating point MPEG audio decoders. */81 * floating point MPEG audio decoders. */
80void ff_mpegaudiodec_common_init_static(void);82void ff_mpegaudiodec_common_init_static(void);
83FF_VISIBILITY_POP_HIDDEN
81 84
82#endif /* AVCODEC_MPEGAUDIODATA_H */85#endif /* AVCODEC_MPEGAUDIODATA_H */
libavcodec/mpegaudiodsp.h+3−0
@@ -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
27typedef struct MPADSPContext {28typedef 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
44FF_VISIBILITY_PUSH_HIDDEN
43void ff_mpadsp_init(MPADSPContext *s);45void ff_mpadsp_init(MPADSPContext *s);
44 46
45extern int32_t ff_mpa_synth_window_fixed[];47extern 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
89extern int ff_mdct_win_fixed[8][MDCT_BUF_SIZE];91extern int ff_mdct_win_fixed[8][MDCT_BUF_SIZE];
90extern float ff_mdct_win_float[8][MDCT_BUF_SIZE];92extern float ff_mdct_win_float[8][MDCT_BUF_SIZE];
93FF_VISIBILITY_POP_HIDDEN
91 94
92#endif /* AVCODEC_MPEGAUDIODSP_H */95#endif /* AVCODEC_MPEGAUDIODSP_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t