This is inspired by the equivalent dav1d attribute introduced by Henrik Gramner in e4c4af02f3de5e6cea6f81272a2981c0fa7bae28. Also already use it to beautify declarations.
Showing the changes to libavcodec (3 of 4 files). Show all
Unified · Split
| @@ -33,7 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | extern const uint32_t ff_inverse[257]; |
| 34 | 34 | extern const uint8_t ff_log2_run[41]; |
| 35 | 35 | extern const uint8_t ff_sqrt_tab[256]; |
| 36 | −extern const uint8_t attribute_visibility_hidden ff_crop_tab[256 + 2 * MAX_NEG_CROP]; | |
| 36 | +EXTERN const uint8_t ff_crop_tab[256 + 2 * MAX_NEG_CROP]; | |
| 37 | 37 | extern const uint8_t ff_zigzag_direct[64]; |
| 38 | 38 | extern const uint8_t ff_zigzag_scan[16+1]; |
| 39 | 39 | |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | |
| 28 | −extern const uint32_t attribute_visibility_hidden ff_square_tab[512]; | |
| 28 | +EXTERN const uint32_t ff_square_tab[512]; | |
| 29 | 29 | |
| 30 | 30 | |
| 31 | 31 | /* minimum alignment rules ;) |
| @@ -121,7 +121,7 @@ typedef struct VP9DSPContext { · 120 unmodified lines | ||
| 121 | 121 | vp9_scaled_mc_func smc[5][N_FILTERS][2]; |
| 122 | 122 | } VP9DSPContext; |
| 123 | 123 | |
| 124 | −extern const int16_t attribute_visibility_hidden ff_vp9_subpel_filters[3][16][8]; | |
| 124 | +EXTERN const int16_t ff_vp9_subpel_filters[3][16][8]; | |
| 125 | 125 | |
| 126 | 126 | void ff_vp9dsp_init(VP9DSPContext *dsp, int bpp, int bitexact); |
| 127 | 127 | |