diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-14 15:11:43 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 14:34:10 +0200 |
commit | f3c197b129482954e863aa6cc0fe9fd0713a9321 (patch) | |
tree | 6d3a7c71f9ba5279c93b3e199f072d0c535ea637 /libavcodec/mips | |
parent | 84ac1440b2a726b8a989dafdf634081651de1c10 (diff) | |
download | ffmpeg-f3c197b129482954e863aa6cc0fe9fd0713a9321.tar.gz |
Include attributes.h directly
Some files currently rely on libavutil/cpu.h to include it for them;
yet said file won't use include it any more after the currently
deprecated functions are removed, so include attributes.h directly.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mips')
-rw-r--r-- | libavcodec/mips/aacdec_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/cabac.h | 1 | ||||
-rw-r--r-- | libavcodec/mips/fft_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/fmtconvert_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/h263dsp_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/h264chroma_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/h264dsp_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/h264pred_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/h264qpel_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/idctdsp_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/lsp_mips.h | 1 | ||||
-rw-r--r-- | libavcodec/mips/me_cmp_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/mpegvideo_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/mpegvideoencdsp_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/vc1dsp_mmi.c | 2 | ||||
-rw-r--r-- | libavcodec/mips/vp8dsp_mmi.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/vp9dsp_init_mips.c | 1 | ||||
-rw-r--r-- | libavcodec/mips/xvididct_init_mips.c | 1 |
18 files changed, 18 insertions, 1 deletions
diff --git a/libavcodec/mips/aacdec_mips.c b/libavcodec/mips/aacdec_mips.c index 7f2478957f..7b5f18a5d8 100644 --- a/libavcodec/mips/aacdec_mips.c +++ b/libavcodec/mips/aacdec_mips.c @@ -52,6 +52,7 @@ * Reference: libavcodec/aacdec.c */ +#include "libavutil/attributes.h" #include "libavcodec/aac.h" #include "aacdec_mips.h" #include "libavcodec/aactab.h" diff --git a/libavcodec/mips/cabac.h b/libavcodec/mips/cabac.h index 3d09e93523..47d2969201 100644 --- a/libavcodec/mips/cabac.h +++ b/libavcodec/mips/cabac.h @@ -24,6 +24,7 @@ #ifndef AVCODEC_MIPS_CABAC_H #define AVCODEC_MIPS_CABAC_H +#include "libavutil/attributes.h" #include "libavcodec/cabac.h" #include "libavutil/mips/asmdefs.h" #include "config.h" diff --git a/libavcodec/mips/fft_mips.c b/libavcodec/mips/fft_mips.c index a6656d9650..bf91fc316c 100644 --- a/libavcodec/mips/fft_mips.c +++ b/libavcodec/mips/fft_mips.c @@ -48,6 +48,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "config.h" +#include "libavutil/attributes.h" #include "libavcodec/fft.h" #include "libavcodec/fft_table.h" #include "libavutil/mips/asmdefs.h" diff --git a/libavcodec/mips/fmtconvert_mips.c b/libavcodec/mips/fmtconvert_mips.c index 990958402c..89c699854e 100644 --- a/libavcodec/mips/fmtconvert_mips.c +++ b/libavcodec/mips/fmtconvert_mips.c @@ -48,6 +48,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "config.h" +#include "libavutil/attributes.h" #include "libavcodec/avcodec.h" #include "libavcodec/fmtconvert.h" #include "libavutil/mips/asmdefs.h" diff --git a/libavcodec/mips/h263dsp_init_mips.c b/libavcodec/mips/h263dsp_init_mips.c index a73eb12d87..829b10b251 100644 --- a/libavcodec/mips/h263dsp_init_mips.c +++ b/libavcodec/mips/h263dsp_init_mips.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "h263dsp_mips.h" diff --git a/libavcodec/mips/h264chroma_init_mips.c b/libavcodec/mips/h264chroma_init_mips.c index 6bb19d3ddd..5551a7c2fe 100644 --- a/libavcodec/mips/h264chroma_init_mips.c +++ b/libavcodec/mips/h264chroma_init_mips.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "h264chroma_mips.h" diff --git a/libavcodec/mips/h264dsp_init_mips.c b/libavcodec/mips/h264dsp_init_mips.c index 9cd05e0f2f..ce4dd369ba 100644 --- a/libavcodec/mips/h264dsp_init_mips.c +++ b/libavcodec/mips/h264dsp_init_mips.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "h264dsp_mips.h" diff --git a/libavcodec/mips/h264pred_init_mips.c b/libavcodec/mips/h264pred_init_mips.c index 0fd9bb737a..d23d74ab5e 100644 --- a/libavcodec/mips/h264pred_init_mips.c +++ b/libavcodec/mips/h264pred_init_mips.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "config.h" #include "h264dsp_mips.h" diff --git a/libavcodec/mips/h264qpel_init_mips.c b/libavcodec/mips/h264qpel_init_mips.c index ea839f0714..2633417802 100644 --- a/libavcodec/mips/h264qpel_init_mips.c +++ b/libavcodec/mips/h264qpel_init_mips.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "h264dsp_mips.h" diff --git a/libavcodec/mips/idctdsp_init_mips.c b/libavcodec/mips/idctdsp_init_mips.c index 23efd9ed58..728e02981c 100644 --- a/libavcodec/mips/idctdsp_init_mips.c +++ b/libavcodec/mips/idctdsp_init_mips.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "idctdsp_mips.h" #include "xvididct_mips.h" diff --git a/libavcodec/mips/lsp_mips.h b/libavcodec/mips/lsp_mips.h index 6219c5aa40..23b2b6bfda 100644 --- a/libavcodec/mips/lsp_mips.h +++ b/libavcodec/mips/lsp_mips.h @@ -56,6 +56,7 @@ #if HAVE_MIPSFPU && HAVE_INLINE_ASM #if !HAVE_MIPS32R6 && !HAVE_MIPS64R6 +#include "libavutil/attributes.h" #include "libavutil/mips/asmdefs.h" static av_always_inline void ff_lsp2polyf_mips(const double *lsp, double *f, int lp_half_order) diff --git a/libavcodec/mips/me_cmp_init_mips.c b/libavcodec/mips/me_cmp_init_mips.c index e3e33b8e5e..90b8b91256 100644 --- a/libavcodec/mips/me_cmp_init_mips.c +++ b/libavcodec/mips/me_cmp_init_mips.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "me_cmp_mips.h" diff --git a/libavcodec/mips/mpegvideo_init_mips.c b/libavcodec/mips/mpegvideo_init_mips.c index bfda90bbcc..f687ad18f1 100644 --- a/libavcodec/mips/mpegvideo_init_mips.c +++ b/libavcodec/mips/mpegvideo_init_mips.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "h263dsp_mips.h" #include "mpegvideo_mips.h" diff --git a/libavcodec/mips/mpegvideoencdsp_init_mips.c b/libavcodec/mips/mpegvideoencdsp_init_mips.c index 71831a61ac..3efbeec34a 100644 --- a/libavcodec/mips/mpegvideoencdsp_init_mips.c +++ b/libavcodec/mips/mpegvideoencdsp_init_mips.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "libavcodec/bit_depth_template.c" #include "h263dsp_mips.h" diff --git a/libavcodec/mips/vc1dsp_mmi.c b/libavcodec/mips/vc1dsp_mmi.c index 8355cd1b26..348ecd206f 100644 --- a/libavcodec/mips/vc1dsp_mmi.c +++ b/libavcodec/mips/vc1dsp_mmi.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/mem_internal.h" @@ -27,7 +28,6 @@ #include "constants.h" #include "vc1dsp_mips.h" #include "hpeldsp_mips.h" -#include "libavutil/mem_internal.h" #include "libavutil/mips/mmiutils.h" #define VC1_INV_TRANCS_8_TYPE1(o1, o2, r1, r2, r3, r4, c0) \ diff --git a/libavcodec/mips/vp8dsp_mmi.c b/libavcodec/mips/vp8dsp_mmi.c index aa6e856dd2..ae0b5550cc 100644 --- a/libavcodec/mips/vp8dsp_mmi.c +++ b/libavcodec/mips/vp8dsp_mmi.c @@ -23,6 +23,7 @@ #include "vp8dsp_mips.h" #include "constants.h" +#include "libavutil/attributes.h" #include "libavutil/mips/mmiutils.h" #include "libavutil/mem_internal.h" diff --git a/libavcodec/mips/vp9dsp_init_mips.c b/libavcodec/mips/vp9dsp_init_mips.c index 5a8c599e7e..27c8ec9d8c 100644 --- a/libavcodec/mips/vp9dsp_init_mips.c +++ b/libavcodec/mips/vp9dsp_init_mips.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "config.h" #include "libavutil/common.h" diff --git a/libavcodec/mips/xvididct_init_mips.c b/libavcodec/mips/xvididct_init_mips.c index ed545cfe17..658a5792e0 100644 --- a/libavcodec/mips/xvididct_init_mips.c +++ b/libavcodec/mips/xvididct_init_mips.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/mips/cpu.h" #include "xvididct_mips.h" |