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>
pull/362/head
Andreas Rheinhardt 4 years ago
parent 84ac1440b2
commit f3c197b129
  1. 1
      libavcodec/aarch64/aacpsdsp_init_aarch64.c
  2. 1
      libavcodec/aarch64/opusdsp_init.c
  3. 1
      libavcodec/arm/flacdsp_init_arm.c
  4. 1
      libavcodec/arm/mpegvideo_arm.c
  5. 1
      libavcodec/arm/mpegvideoencdsp_init_arm.c
  6. 1
      libavcodec/arm/sbcdsp_init_arm.c
  7. 1
      libavcodec/mips/aacdec_mips.c
  8. 1
      libavcodec/mips/cabac.h
  9. 1
      libavcodec/mips/fft_mips.c
  10. 1
      libavcodec/mips/fmtconvert_mips.c
  11. 1
      libavcodec/mips/h263dsp_init_mips.c
  12. 1
      libavcodec/mips/h264chroma_init_mips.c
  13. 1
      libavcodec/mips/h264dsp_init_mips.c
  14. 1
      libavcodec/mips/h264pred_init_mips.c
  15. 1
      libavcodec/mips/h264qpel_init_mips.c
  16. 1
      libavcodec/mips/idctdsp_init_mips.c
  17. 1
      libavcodec/mips/lsp_mips.h
  18. 1
      libavcodec/mips/me_cmp_init_mips.c
  19. 1
      libavcodec/mips/mpegvideo_init_mips.c
  20. 1
      libavcodec/mips/mpegvideoencdsp_init_mips.c
  21. 2
      libavcodec/mips/vc1dsp_mmi.c
  22. 1
      libavcodec/mips/vp8dsp_mmi.c
  23. 1
      libavcodec/mips/vp9dsp_init_mips.c
  24. 1
      libavcodec/mips/xvididct_init_mips.c
  25. 1
      libavcodec/neon/mpegvideo.c
  26. 1
      libavcodec/ppc/fft_init.c
  27. 1
      libavcodec/ppc/mpegvideodsp.c
  28. 1
      libavcodec/ppc/vp8dsp_altivec.c
  29. 1
      libavcodec/x86/aacencdsp_init.c
  30. 1
      libavcodec/x86/celt_pvq_init.c
  31. 1
      libavcodec/x86/fdct.c
  32. 1
      libavcodec/x86/flacdsp_init.c
  33. 1
      libavcodec/x86/mdct15_init.c
  34. 1
      libavcodec/x86/opusdsp_init.c
  35. 1
      libavcodec/x86/sbcdsp_init.c
  36. 1
      libavcodec/x86/snowdsp.c
  37. 1
      libavcodec/x86/takdsp_init.c
  38. 1
      libavcodec/x86/ttadsp_init.c
  39. 1
      libavcodec/x86/ttaencdsp_init.c
  40. 1
      libavcodec/x86/v210-init.c
  41. 1
      libavcodec/x86/v210enc_init.c
  42. 1
      libavcodec/x86/vc1dsp_mmx.c
  43. 2
      libavcodec/x86/vp56_arith.h
  44. 1
      libavcodec/x86/vp9dsp_init.h
  45. 1
      libavfilter/aarch64/vf_nlmeans_init.c
  46. 2
      libavutil/mips/libm_mips.h
  47. 1
      libavutil/x86/lls_init.c
  48. 1
      libswresample/aarch64/resample_init.c
  49. 1
      libswresample/arm/resample_init.c
  50. 1
      libswresample/x86/audio_convert_init.c
  51. 1
      libswresample/x86/rematrix_init.c
  52. 1
      libswresample/x86/resample_init.c
  53. 1
      libswscale/aarch64/swscale.c
  54. 1
      libswscale/arm/swscale.c
  55. 1
      libswscale/ppc/swscale_ppc_template.c
  56. 1
      libswscale/x86/hscale_fast_bilinear_simd.c

@ -18,6 +18,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/aarch64/cpu.h"
#include "libavcodec/aacpsdsp.h"

@ -18,6 +18,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/aarch64/cpu.h"
#include "libavcodec/opusdsp.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavcodec/flacdsp.h"
#include "config.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "libavutil/arm/cpu.h"
#include "libavcodec/avcodec.h"

@ -18,6 +18,7 @@
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/arm/cpu.h"
#include "libavcodec/avcodec.h"

@ -29,6 +29,7 @@
* SBC ARMv6 optimization for some basic "building bricks"
*/
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/mem_internal.h"
#include "libavutil/arm/cpu.h"

@ -52,6 +52,7 @@
* Reference: libavcodec/aacdec.c
*/
#include "libavutil/attributes.h"
#include "libavcodec/aac.h"
#include "aacdec_mips.h"
#include "libavcodec/aactab.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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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)

@ -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"

@ -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"

@ -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"

@ -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) \

@ -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"

@ -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"

@ -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"

@ -23,6 +23,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#if ARCH_AARCH64
# include "libavutil/aarch64/cpu.h"

@ -21,6 +21,7 @@
*/
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/ppc/cpu.h"
#include "libavutil/ppc/util_altivec.h"

@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/mem_internal.h"
#include "libavutil/ppc/cpu.h"

@ -22,6 +22,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/mem_internal.h"
#include "libavutil/ppc/cpu.h"

@ -21,6 +21,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/float_dsp.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/aacenc.h"

@ -21,6 +21,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/opus_pvq.h"

@ -30,6 +30,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/mem_internal.h"
#include "libavutil/x86/asm.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavcodec/flacdsp.h"
#include "libavutil/x86/cpu.h"
#include "config.h"

@ -22,6 +22,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/mdct15.h"

@ -18,6 +18,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/opusdsp.h"

@ -29,6 +29,7 @@
* SBC MMX optimization for some basic "building bricks"
*/
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/sbcdsp.h"

@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/asm.h"
#include "libavcodec/avcodec.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavcodec/takdsp.h"
#include "libavutil/x86/cpu.h"
#include "config.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavcodec/ttadsp.h"
#include "libavutil/x86/cpu.h"
#include "config.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavcodec/ttaencdsp.h"
#include "libavutil/x86/cpu.h"
#include "config.h"

@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavcodec/v210dec.h"

@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/v210enc.h"

@ -24,6 +24,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"

@ -25,6 +25,8 @@
#define AVCODEC_X86_VP56_ARITH_H
#if HAVE_INLINE_ASM && HAVE_FAST_CMOV && HAVE_6REGS
#include "libavutil/attributes.h"
#define vp56_rac_get_prob vp56_rac_get_prob
static av_always_inline int vp56_rac_get_prob(VP56RangeCoder *c, uint8_t prob)
{

@ -23,6 +23,7 @@
#ifndef AVCODEC_X86_VP9DSP_INIT_H
#define AVCODEC_X86_VP9DSP_INIT_H
#include "libavutil/attributes.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/vp9dsp.h"

@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/aarch64/cpu.h"
#include "libavfilter/vf_nlmeans.h"

@ -53,6 +53,8 @@
#ifndef AVUTIL_MIPS_LIBM_MIPS_H
#define AVUTIL_MIPS_LIBM_MIPS_H
#include "libavutil/attributes.h"
static av_always_inline av_const long int lrintf_mips(float x)
{
register int ret_int;

@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/lls.h"
#include "libavutil/x86/cpu.h"

@ -22,6 +22,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/avassert.h"

@ -22,6 +22,7 @@
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/avassert.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libswresample/swresample_internal.h"
#include "libswresample/audioconvert.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libswresample/swresample_internal.h"

@ -25,6 +25,7 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
#include "libavutil/attributes.h"
#include "libavutil/x86/cpu.h"
#include "libswresample/resample.h"

@ -17,6 +17,7 @@
*/
#include "config.h"
#include "libavutil/attributes.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "libavutil/aarch64/cpu.h"

@ -17,6 +17,7 @@
*/
#include "config.h"
#include "libavutil/attributes.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "libavutil/arm/cpu.h"

@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/attributes.h"
#include "libavutil/mem_internal.h"
static void FUNC(yuv2planeX_8_16)(const int16_t *filter, int filterSize,

@ -19,6 +19,7 @@
*/
#include "../swscale_internal.h"
#include "libavutil/attributes.h"
#include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h"
#include "libavutil/mem_internal.h"

Loading…
Cancel
Save