Remove unnecessary libavutil/(avutil|common|internal).h inclusions

Some of these were made possible by moving several common macros to
libavutil/macros.h.

While just at it, also improve the other headers a bit.

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/5.1
Andreas Rheinhardt 3 years ago
parent 84f16bb5e6
commit 636631d9db
  1. 3
      libavcodec/ac3.c
  2. 1
      libavcodec/ac3.h
  3. 8
      libavcodec/ass_split.c
  4. 2
      libavcodec/av1_parse.h
  5. 2
      libavcodec/bitstream.c
  6. 5
      libavcodec/cabac.c
  7. 7
      libavcodec/celp_math.c
  8. 3
      libavcodec/codec_desc.c
  9. 2
      libavcodec/dca_exss.h
  10. 2
      libavcodec/dcadct.c
  11. 3
      libavcodec/dcadct.h
  12. 4
      libavcodec/dcadec.h
  13. 2
      libavcodec/dcahuff.c
  14. 2
      libavcodec/dirac_vlc.h
  15. 4
      libavcodec/dnxhddata.c
  16. 3
      libavcodec/dnxhddata.h
  17. 3
      libavcodec/dv_profile.c
  18. 7
      libavcodec/elsdec.c
  19. 2
      libavcodec/exrdsp.h
  20. 1
      libavcodec/flacdsp.c
  21. 2
      libavcodec/flacdsp.h
  22. 2
      libavcodec/flacdsp_lpc_template.c
  23. 2
      libavcodec/flacdsp_template.c
  24. 3
      libavcodec/fmtconvert.c
  25. 2
      libavcodec/golomb.c
  26. 2
      libavcodec/h264_levels.c
  27. 7
      libavcodec/h264_redundant_pps_bsf.c
  28. 2
      libavcodec/h264_sei.c
  29. 5
      libavcodec/huffman.c
  30. 5
      libavcodec/jfdctfst.c
  31. 3
      libavcodec/jpeg2000dwt.c
  32. 4
      libavcodec/jrevdct.c
  33. 1
      libavcodec/lagarithrac.h
  34. 1
      libavcodec/libopus.c
  35. 4
      libavcodec/lsp.c
  36. 2
      libavcodec/lzwenc.c
  37. 3
      libavcodec/mdct15.c
  38. 1
      libavcodec/mips/mpegaudiodsp_mips_fixed.c
  39. 1
      libavcodec/mips/mpegaudiodsp_mips_float.c
  40. 3
      libavcodec/mjpegenc_huffman.c
  41. 2
      libavcodec/mpegaudiodecheader.c
  42. 2
      libavcodec/mpegaudiodsp.h
  43. 2
      libavcodec/msmpeg4data.h
  44. 2
      libavcodec/opusdsp.c
  45. 2
      libavcodec/opusdsp.h
  46. 2
      libavcodec/pngdsp.c
  47. 2
      libavcodec/ra288.h
  48. 2
      libavcodec/rangecoder.h
  49. 2
      libavcodec/raw.c
  50. 2
      libavcodec/rle.c
  51. 7
      libavcodec/scpr3.h
  52. 2
      libavcodec/tests/cabac.c
  53. 5
      libavcodec/tests/jpeg2000dwt.c
  54. 1
      libavcodec/tests/rangecoder.c
  55. 4
      libavcodec/trace_headers_bsf.c
  56. 3
      libavcodec/videodsp.c
  57. 2
      libavcodec/vp56data.h
  58. 4
      libavcodec/vp56rac.c
  59. 4
      libavcodec/vp9dsp.c
  60. 5
      libavcodec/wavpack.h
  61. 2
      libavcodec/wavpackenc.h
  62. 3
      libavcodec/x86/fdct.c
  63. 4
      libavcodec/x86/mpegaudiodsp.c
  64. 3
      libavcodec/x86/pngdsp_init.c
  65. 2
      libavcodec/xiph.c
  66. 2
      libavcodec/xiph.h
  67. 6
      libavdevice/timefilter.c
  68. 13
      libavfilter/af_afir.h
  69. 4
      libavfilter/af_volume.h
  70. 2
      libavfilter/avfiltergraph.c
  71. 2
      libavfilter/colorspace.h
  72. 3
      libavfilter/ebur128.c
  73. 1
      libavfilter/motion_estimation.c
  74. 2
      libavfilter/motion_estimation.h
  75. 6
      libavfilter/pthread.c
  76. 2
      libavformat/argo_asf.h
  77. 3
      libavformat/asfcrypt.c
  78. 3
      libavformat/avlanguage.c
  79. 1
      libavformat/hlsplaylist.h
  80. 2
      libavformat/matroska.h
  81. 1
      libavformat/network.c
  82. 3
      libavformat/riff.c
  83. 5
      libavformat/tee_common.c
  84. 2
      libavformat/webmdashenc.c
  85. 3
      libavformat/wv.c
  86. 2
      libavutil/adler32.c
  87. 8
      libavutil/aes.c
  88. 5
      libavutil/aes_ctr.c
  89. 8
      libavutil/avsscanf.c
  90. 5
      libavutil/avstring.c
  91. 6
      libavutil/base64.c
  92. 5
      libavutil/blowfish.c
  93. 3
      libavutil/bprint.c
  94. 1
      libavutil/buffer_internal.h
  95. 6
      libavutil/camellia.c
  96. 6
      libavutil/cast5.c
  97. 6
      libavutil/channel_layout.c
  98. 1
      libavutil/color_utils.c
  99. 2
      libavutil/crc.c
  100. 6
      libavutil/des.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -24,7 +24,8 @@
* Common code between the AC-3 encoder and decoder. * Common code between the AC-3 encoder and decoder.
*/ */
#include "libavutil/common.h" #include "libavutil/error.h"
#include "libavutil/macros.h"
#include "ac3.h" #include "ac3.h"

@ -78,6 +78,7 @@ typedef int INTFLOAT;
typedef int16_t SHORTFLOAT; typedef int16_t SHORTFLOAT;
#else /* USE_FIXED */ #else /* USE_FIXED */
#include "libavutil/libm.h"
#define FIXR(x) ((float)(x)) #define FIXR(x) ((float)(x))
#define FIXR12(x) ((float)(x)) #define FIXR12(x) ((float)(x))

@ -19,8 +19,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/common.h" #include <limits.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "libavutil/error.h" #include "libavutil/error.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "ass_split.h" #include "ass_split.h"

@ -24,9 +24,9 @@
#include <limits.h> #include <limits.h>
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/error.h" #include "libavutil/error.h"
#include "libavutil/intmath.h" #include "libavutil/intmath.h"
#include "libavutil/macros.h"
#include "av1.h" #include "av1.h"
#include "get_bits.h" #include "get_bits.h"

@ -36,11 +36,11 @@
#include "config.h" #include "config.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/bswap.h" #include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "libavutil/error.h" #include "libavutil/error.h"
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "libavutil/qsort.h" #include "libavutil/qsort.h"
#include "mathops.h" #include "mathops.h"

@ -24,13 +24,10 @@
* Context Adaptive Binary Arithmetic Coder. * Context Adaptive Binary Arithmetic Coder.
*/ */
#include <string.h> #include "libavutil/error.h"
#include "libavutil/common.h"
#include "libavutil/mem_internal.h" #include "libavutil/mem_internal.h"
#include "cabac.h" #include "cabac.h"
#include "cabac_functions.h"
DECLARE_ASM_ALIGNED(1, const uint8_t, ff_h264_cabac_tables)[512 + 4*2*64 + 4*64 + 63] = { DECLARE_ASM_ALIGNED(1, const uint8_t, ff_h264_cabac_tables)[512 + 4*2*64 + 4*64 + 63] = {
9,8,7,7,6,6,6,6,5,5,5,5,5,5,5,5, 9,8,7,7,6,6,6,6,5,5,5,5,5,5,5,5,

@ -20,14 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <inttypes.h> #include <stdint.h>
#include <limits.h>
#include "config.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "avcodec.h" #include "libavutil/intmath.h"
#include "mathops.h" #include "mathops.h"
#include "celp_math.h" #include "celp_math.h"
#include "libavutil/common.h"
#ifdef G729_BITEXACT #ifdef G729_BITEXACT
static const uint16_t exp2a[]= static const uint16_t exp2a[]=

@ -19,10 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stdlib.h>
#include <string.h> #include <string.h>
#include "libavutil/common.h"
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "libavutil/macros.h"
#include "codec_id.h" #include "codec_id.h"
#include "codec_desc.h" #include "codec_desc.h"

@ -21,7 +21,7 @@
#ifndef AVCODEC_DCA_EXSS_H #ifndef AVCODEC_DCA_EXSS_H
#define AVCODEC_DCA_EXSS_H #define AVCODEC_DCA_EXSS_H
#include "libavutil/common.h" #include <stdint.h>
#include "avcodec.h" #include "avcodec.h"
#include "get_bits.h" #include "get_bits.h"

@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/common.h" #include <stdlib.h>
#include "dcadct.h" #include "dcadct.h"
#include "dcamath.h" #include "dcamath.h"

@ -21,7 +21,8 @@
#ifndef AVCODEC_DCADCT_H #ifndef AVCODEC_DCADCT_H
#define AVCODEC_DCADCT_H #define AVCODEC_DCADCT_H
#include "libavutil/common.h" #include <stdint.h>
#include "libavutil/attributes.h"
typedef struct DCADCTContext { typedef struct DCADCTContext {
void (*imdct_half[2])(int32_t *output, const int32_t *input); void (*imdct_half[2])(int32_t *output, const int32_t *input);

@ -21,9 +21,11 @@
#ifndef AVCODEC_DCADEC_H #ifndef AVCODEC_DCADEC_H
#define AVCODEC_DCADEC_H #define AVCODEC_DCADEC_H
#include "libavutil/common.h" #include <stdint.h>
#include "libavutil/crc.h" #include "libavutil/crc.h"
#include "libavutil/float_dsp.h" #include "libavutil/float_dsp.h"
#include "libavutil/log.h"
#include "avcodec.h" #include "avcodec.h"
#include "get_bits.h" #include "get_bits.h"

@ -23,7 +23,7 @@
#include <stddef.h> #include <stddef.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "dcahuff.h" #include "dcahuff.h"
#include "put_bits.h" #include "put_bits.h"

@ -19,7 +19,7 @@
#ifndef AVCODEC_DIRAC_VLC_H #ifndef AVCODEC_DIRAC_VLC_H
#define AVCODEC_DIRAC_VLC_H #define AVCODEC_DIRAC_VLC_H
#include "libavutil/avutil.h" #include <stdint.h>
int ff_dirac_golomb_read_16bit(const uint8_t *buf, int bytes, int ff_dirac_golomb_read_16bit(const uint8_t *buf, int bytes,
uint8_t *_dst, int coeffs); uint8_t *_dst, int coeffs);

@ -19,9 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stddef.h>
#include "libavutil/log.h"
#include "libavutil/macros.h"
#include "avcodec.h" #include "avcodec.h"
#include "dnxhddata.h" #include "dnxhddata.h"
#include "libavutil/common.h"
/* The quantization tables below are in zigzag order! */ /* The quantization tables below are in zigzag order! */

@ -24,8 +24,9 @@
#include <stdint.h> #include <stdint.h>
#include "avcodec.h" #include "avcodec.h"
#include "libavutil/internal.h" #include "libavutil/attributes.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/rational.h"
/** Additional profile info flags */ /** Additional profile info flags */
#define DNXHD_INTERLACED (1<<0) #define DNXHD_INTERLACED (1<<0)

@ -18,11 +18,12 @@
#include "config.h" #include "config.h"
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/macros.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avcodec.h" #include "avcodec.h"

@ -25,11 +25,14 @@
* Entropy Logarithmic-Scale binary arithmetic decoder * Entropy Logarithmic-Scale binary arithmetic decoder
*/ */
#include <math.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <string.h>
#include "libavutil/common.h" #include "libavutil/error.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h"
#include "elsdec.h" #include "elsdec.h"

@ -19,8 +19,8 @@
#ifndef AVCODEC_EXRDSP_H #ifndef AVCODEC_EXRDSP_H
#define AVCODEC_EXRDSP_H #define AVCODEC_EXRDSP_H
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h"
typedef struct ExrDSPContext { typedef struct ExrDSPContext {
void (*reorder_pixels)(uint8_t *dst, const uint8_t *src, ptrdiff_t size); void (*reorder_pixels)(uint8_t *dst, const uint8_t *src, ptrdiff_t size);

@ -19,6 +19,7 @@
*/ */
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "libavutil/samplefmt.h" #include "libavutil/samplefmt.h"
#include "flacdsp.h" #include "flacdsp.h"
#include "config.h" #include "config.h"

@ -20,7 +20,7 @@
#define AVCODEC_FLACDSP_H #define AVCODEC_FLACDSP_H
#include <stdint.h> #include <stdint.h>
#include "libavutil/internal.h"
#include "libavutil/samplefmt.h" #include "libavutil/samplefmt.h"
typedef struct FLACDSPContext { typedef struct FLACDSPContext {

@ -17,7 +17,7 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include "libavutil/avutil.h" #include "libavutil/common.h"
#include "mathops.h" #include "mathops.h"
#undef FUNC #undef FUNC

@ -19,7 +19,7 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include "libavutil/avutil.h" #include "libavutil/macros.h"
#undef FUNC #undef FUNC
#undef FSUF #undef FSUF

@ -20,9 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "libavutil/attributes.h"
#include "avcodec.h" #include "avcodec.h"
#include "fmtconvert.h" #include "fmtconvert.h"
#include "libavutil/common.h"
static void int32_to_float_fmul_scalar_c(float *dst, const int32_t *src, static void int32_to_float_fmul_scalar_c(float *dst, const int32_t *src,
float mul, int len) float mul, int len)

@ -26,7 +26,7 @@
* @author Michael Niedermayer <michaelni@gmx.at> * @author Michael Niedermayer <michaelni@gmx.at>
*/ */
#include "libavutil/common.h" #include <stdint.h>
const uint8_t ff_golomb_vlc_len[512]={ const uint8_t ff_golomb_vlc_len[512]={
19,17,15,15,13,13,13,13,11,11,11,11,11,11,11,11,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 19,17,15,15,13,13,13,13,11,11,11,11,11,11,11,11,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,

@ -17,7 +17,7 @@
*/ */
#include <stddef.h> #include <stddef.h>
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "h264_levels.h" #include "h264_levels.h"
// H.264 table A-1. // H.264 table A-1.

@ -16,16 +16,17 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <string.h> #include <inttypes.h>
#include "libavutil/common.h" #include "libavutil/log.h"
#include "bsf.h" #include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h" #include "cbs.h"
#include "cbs_bsf.h" #include "cbs_bsf.h"
#include "cbs_h264.h" #include "cbs_h264.h"
#include "codec_id.h"
#include "h264.h" #include "h264.h"
#include "packet.h"
#define NEW_GLOBAL_PIC_INIT_QP 26 #define NEW_GLOBAL_PIC_INIT_QP 26

@ -28,9 +28,9 @@
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "libavutil/common.h"
#include "libavutil/error.h" #include "libavutil/error.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "atsc_a53.h" #include "atsc_a53.h"
#include "get_bits.h" #include "get_bits.h"

@ -26,8 +26,11 @@
#include <stdint.h> #include <stdint.h>
#include "libavutil/error.h"
#include "libavutil/log.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h"
#include "libavutil/qsort.h" #include "libavutil/qsort.h"
#include "libavutil/common.h"
#include "huffman.h" #include "huffman.h"
#include "vlc.h" #include "vlc.h"

@ -66,9 +66,8 @@
* Independent JPEG Group's fast AAN dct. * Independent JPEG Group's fast AAN dct.
*/ */
#include <stdlib.h> #include <stdint.h>
#include <stdio.h> #include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "dct.h" #include "dct.h"
#define DCTSIZE 8 #define DCTSIZE 8

@ -25,7 +25,8 @@
* Discrete wavelet transform * Discrete wavelet transform
*/ */
#include "libavutil/common.h" #include "libavutil/error.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "jpeg2000dwt.h" #include "jpeg2000dwt.h"

@ -62,7 +62,9 @@
* Independent JPEG Group's LLM idct. * Independent JPEG Group's LLM idct.
*/ */
#include "libavutil/common.h" #include <stddef.h>
#include <stdint.h>
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "dct.h" #include "dct.h"

@ -31,7 +31,6 @@
#define AVCODEC_LAGARITHRAC_H #define AVCODEC_LAGARITHRAC_H
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avcodec.h" #include "avcodec.h"
#include "get_bits.h" #include "get_bits.h"

@ -21,7 +21,6 @@
#include <opus_defines.h> #include <opus_defines.h>
#include "libavutil/common.h"
#include "libavutil/error.h" #include "libavutil/error.h"
#include "libopus.h" #include "libopus.h"

@ -21,10 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <inttypes.h> #include <math.h>
#define FRAC_BITS 14 #define FRAC_BITS 14
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "mathops.h" #include "mathops.h"
#include "lsp.h" #include "lsp.h"
#include "libavcodec/mips/lsp_mips.h" #include "libavcodec/mips/lsp_mips.h"

@ -27,7 +27,7 @@
#include <stdint.h> #include <stdint.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "lzw.h" #include "lzw.h"
#include "put_bits.h" #include "put_bits.h"

@ -27,11 +27,12 @@
#include <float.h> #include <float.h>
#include <math.h> #include <math.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
#include "config.h" #include "config.h"
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/common.h" #include "libavutil/error.h"
#include "mdct15.h" #include "mdct15.h"

@ -54,6 +54,7 @@
#include <string.h> #include <string.h>
#include "config.h"
#include "libavutil/mips/asmdefs.h" #include "libavutil/mips/asmdefs.h"
#include "libavcodec/mpegaudiodsp.h" #include "libavcodec/mpegaudiodsp.h"

@ -55,6 +55,7 @@
#include <string.h> #include <string.h>
#include "config.h"
#include "libavutil/mips/asmdefs.h" #include "libavutil/mips/asmdefs.h"
#include "libavcodec/mpegaudiodsp.h" #include "libavcodec/mpegaudiodsp.h"

@ -21,10 +21,7 @@
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/error.h"
#include "libavutil/qsort.h" #include "libavutil/qsort.h"
#include "mjpegenc_huffman.h" #include "mjpegenc_huffman.h"

@ -24,7 +24,7 @@
* MPEG Audio header decoder. * MPEG Audio header decoder.
*/ */
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "mpegaudio.h" #include "mpegaudio.h"
#include "mpegaudiodata.h" #include "mpegaudiodata.h"

@ -22,7 +22,7 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h" #include "libavutil/macros.h"
typedef struct MPADSPContext { typedef struct MPADSPContext {
void (*apply_window_float)(float *synth_buf, float *window, void (*apply_window_float)(float *synth_buf, float *window,

@ -30,7 +30,7 @@
#ifndef AVCODEC_MSMPEG4DATA_H #ifndef AVCODEC_MSMPEG4DATA_H
#define AVCODEC_MSMPEG4DATA_H #define AVCODEC_MSMPEG4DATA_H
#include "libavutil/common.h" #include <stdint.h>
#include "rl.h" #include "rl.h"
#include "vlc.h" #include "vlc.h"

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "libavutil/attributes.h"
#include "opusdsp.h" #include "opusdsp.h"
static void postfilter_c(float *data, int period, float *gains, int len) static void postfilter_c(float *data, int period, float *gains, int len)

@ -19,8 +19,6 @@
#ifndef AVCODEC_OPUSDSP_H #ifndef AVCODEC_OPUSDSP_H
#define AVCODEC_OPUSDSP_H #define AVCODEC_OPUSDSP_H
#include "libavutil/common.h"
#define CELT_EMPH_COEFF 0.8500061035f #define CELT_EMPH_COEFF 0.8500061035f
typedef struct OpusDSP { typedef struct OpusDSP {

@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "png.h" #include "png.h"
#include "pngdsp.h" #include "pngdsp.h"

@ -23,7 +23,7 @@
#define AVCODEC_RA288_H #define AVCODEC_RA288_H
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "libavutil/mem_internal.h" #include "libavutil/mem_internal.h"
static const float amptable[8]={ static const float amptable[8]={

@ -29,8 +29,8 @@
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/intmath.h"
typedef struct RangeCoder { typedef struct RangeCoder {
int low; int low;

@ -24,9 +24,9 @@
* Raw Video Codec * Raw Video Codec
*/ */
#include "libavutil/macros.h"
#include "avcodec.h" #include "avcodec.h"
#include "raw.h" #include "raw.h"
#include "libavutil/common.h"
static const PixelFormatTag raw_pix_fmt_tags[] = { static const PixelFormatTag raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_YUV420P, MKTAG('I', '4', '2', '0') }, /* Planar formats */ { AV_PIX_FMT_YUV420P, MKTAG('I', '4', '2', '0') }, /* Planar formats */

@ -21,7 +21,7 @@
#include <string.h> #include <string.h>
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "rle.h" #include "rle.h"

@ -23,12 +23,7 @@
#ifndef AVCODEC_SCPR3_H #ifndef AVCODEC_SCPR3_H
#define AVCODEC_SCPR3_H #define AVCODEC_SCPR3_H
#include <stdio.h> #include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "avcodec.h"
#include "internal.h"
typedef struct PixelModel3 { typedef struct PixelModel3 {
uint8_t type; uint8_t type;

@ -18,12 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavcodec/cabac_functions.h"
#include "libavcodec/cabac.c" #include "libavcodec/cabac.c"
#define SIZE 10240 #define SIZE 10240
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/put_bits.h" #include "libavcodec/put_bits.h"
typedef struct CABACTestContext { typedef struct CABACTestContext {

@ -20,6 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <inttypes.h>
#include <stdio.h>
#include "libavutil/common.h"
#include "libavcodec/jpeg2000dwt.c" #include "libavcodec/jpeg2000dwt.c"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"

@ -19,6 +19,7 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include "libavutil/error.h"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "libavutil/log.h" #include "libavutil/log.h"

@ -16,10 +16,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stdio.h> #include <inttypes.h>
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/common.h" #include "libavutil/avutil.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "bsf.h" #include "bsf.h"

@ -18,9 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "videodsp.h" #include "videodsp.h"
#define BIT_DEPTH 8 #define BIT_DEPTH 8

@ -26,7 +26,7 @@
#ifndef AVCODEC_VP56DATA_H #ifndef AVCODEC_VP56DATA_H
#define AVCODEC_VP56DATA_H #define AVCODEC_VP56DATA_H
#include "libavutil/common.h" #include <stdint.h>
#include "vp56.h" #include "vp56.h"
extern const uint8_t ff_vp56_b2p[]; extern const uint8_t ff_vp56_b2p[];

@ -19,7 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/common.h" #include <stdint.h>
#include "libavutil/error.h"
#include "bytestream.h"
#include "vp56.h" #include "vp56.h"
const uint8_t ff_vp56_norm_shift[256]= { const uint8_t ff_vp56_norm_shift[256]= {

@ -21,8 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/mem_internal.h" #include "libavutil/mem_internal.h"
#include "vp9dsp.h" #include "vp9dsp.h"

@ -22,7 +22,10 @@
#ifndef AVCODEC_WAVPACK_H #ifndef AVCODEC_WAVPACK_H
#define AVCODEC_WAVPACK_H #define AVCODEC_WAVPACK_H
#include "libavutil/common.h" #include <limits.h>
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/intmath.h"
#define MAX_TERMS 16 #define MAX_TERMS 16
#define MAX_TERM 8 #define MAX_TERM 8

@ -21,6 +21,8 @@
#ifndef AVCODEC_WAVPACKENC_H #ifndef AVCODEC_WAVPACKENC_H
#define AVCODEC_WAVPACKENC_H #define AVCODEC_WAVPACKENC_H
#include <stdint.h>
#include "libavutil/macros.h"
#include "wavpack.h" #include "wavpack.h"
typedef struct WavPackDecorrSpec { typedef struct WavPackDecorrSpec {

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

@ -19,9 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stddef.h>
#include "config.h"
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#include "libavutil/internal.h"
#include "libavutil/mem_internal.h" #include "libavutil/mem_internal.h"
#include "libavutil/x86/asm.h" #include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h" #include "libavutil/x86/cpu.h"

@ -19,8 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/x86/cpu.h" #include "libavutil/x86/cpu.h"
#include "libavcodec/pngdsp.h" #include "libavcodec/pngdsp.h"

@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <limits.h>
#include "libavutil/error.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "xiph.h" #include "xiph.h"

@ -21,7 +21,7 @@
#ifndef AVCODEC_XIPH_H #ifndef AVCODEC_XIPH_H
#define AVCODEC_XIPH_H #define AVCODEC_XIPH_H
#include "libavutil/common.h" #include <stdint.h>
/** /**
* Split a single extradata buffer into the three headers that most * Split a single extradata buffer into the three headers that most

@ -22,7 +22,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/common.h" #include <math.h>
#include <stddef.h>
#include "libavutil/macros.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "timefilter.h" #include "timefilter.h"

@ -21,15 +21,14 @@
#ifndef AVFILTER_AFIR_H #ifndef AVFILTER_AFIR_H
#define AVFILTER_AFIR_H #define AVFILTER_AFIR_H
#include <stddef.h>
#include <stdint.h>
#include "libavutil/tx.h" #include "libavutil/tx.h"
#include "libavutil/common.h"
#include "libavutil/float_dsp.h" #include "libavutil/float_dsp.h"
#include "libavutil/opt.h" #include "libavutil/frame.h"
#include "libavutil/log.h"
#include "audio.h" #include "libavutil/rational.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
typedef struct AudioFIRSegment { typedef struct AudioFIRSegment {
int nb_partitions; int nb_partitions;

@ -24,10 +24,10 @@
#ifndef AVFILTER_VOLUME_H #ifndef AVFILTER_VOLUME_H
#define AVFILTER_VOLUME_H #define AVFILTER_VOLUME_H
#include "libavutil/common.h" #include <stdint.h>
#include "libavutil/eval.h" #include "libavutil/eval.h"
#include "libavutil/float_dsp.h" #include "libavutil/float_dsp.h"
#include "libavutil/opt.h" #include "libavutil/log.h"
#include "libavutil/samplefmt.h" #include "libavutil/samplefmt.h"
enum PrecisionType { enum PrecisionType {

@ -25,11 +25,9 @@
#include <string.h> #include <string.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h" #include "libavutil/bprint.h"
#include "libavutil/channel_layout.h" #include "libavutil/channel_layout.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"

@ -20,8 +20,8 @@
#ifndef AVFILTER_COLORSPACE_H #ifndef AVFILTER_COLORSPACE_H
#define AVFILTER_COLORSPACE_H #define AVFILTER_COLORSPACE_H
#include "libavutil/common.h"
#include "libavutil/frame.h" #include "libavutil/frame.h"
#include "libavutil/pixfmt.h"
#define REFERENCE_WHITE 100.0f #define REFERENCE_WHITE 100.0f

@ -47,7 +47,8 @@
#include <limits.h> #include <limits.h>
#include <math.h> /* You may have to define _USE_MATH_DEFINES if you use MSVC */ #include <math.h> /* You may have to define _USE_MATH_DEFINES if you use MSVC */
#include "libavutil/common.h" #include "libavutil/error.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "libavutil/mem_internal.h" #include "libavutil/mem_internal.h"
#include "libavutil/thread.h" #include "libavutil/thread.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/common.h"
#include "motion_estimation.h" #include "motion_estimation.h"
static const int8_t sqr1[8][2] = {{ 0,-1}, { 0, 1}, {-1, 0}, { 1, 0}, {-1,-1}, {-1, 1}, { 1,-1}, { 1, 1}}; static const int8_t sqr1[8][2] = {{ 0,-1}, { 0, 1}, {-1, 0}, { 1, 0}, {-1,-1}, {-1, 1}, { 1,-1}, { 1, 1}};

@ -21,7 +21,7 @@
#ifndef AVFILTER_MOTION_ESTIMATION_H #ifndef AVFILTER_MOTION_ESTIMATION_H
#define AVFILTER_MOTION_ESTIMATION_H #define AVFILTER_MOTION_ESTIMATION_H
#include "libavutil/avutil.h" #include <stdint.h>
#define AV_ME_METHOD_ESA 1 #define AV_ME_METHOD_ESA 1
#define AV_ME_METHOD_TSS 2 #define AV_ME_METHOD_TSS 2

@ -21,11 +21,11 @@
* Libavfilter multithreading support * Libavfilter multithreading support
*/ */
#include "config.h" #include <stddef.h>
#include "libavutil/common.h" #include "libavutil/error.h"
#include "libavutil/macros.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "libavutil/thread.h"
#include "libavutil/slicethread.h" #include "libavutil/slicethread.h"
#include "avfilter.h" #include "avfilter.h"

@ -24,7 +24,7 @@
#define AVFORMAT_ARGO_ASF_H #define AVFORMAT_ARGO_ASF_H
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "avformat.h" #include "avformat.h"

@ -20,10 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stddef.h>
#include "libavutil/bswap.h" #include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "libavutil/des.h" #include "libavutil/des.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/rc4.h" #include "libavutil/rc4.h"
#include "asfcrypt.h" #include "asfcrypt.h"

@ -19,8 +19,7 @@
*/ */
#include "avlanguage.h" #include "avlanguage.h"
#include "libavutil/avstring.h" #include "libavutil/macros.h"
#include "libavutil/common.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

@ -25,7 +25,6 @@
#include <stdint.h> #include <stdint.h>
#include "libavutil/common.h"
#include "avformat.h" #include "avformat.h"
#include "avio.h" #include "avio.h"

@ -23,8 +23,8 @@
#define AVFORMAT_MATROSKA_H #define AVFORMAT_MATROSKA_H
#include "libavcodec/codec_id.h" #include "libavcodec/codec_id.h"
#include "avformat.h"
#include "metadata.h" #include "metadata.h"
#include "internal.h"
/* EBML version supported */ /* EBML version supported */
#define EBML_VERSION 1 #define EBML_VERSION 1

@ -22,7 +22,6 @@
#include "network.h" #include "network.h"
#include "tls.h" #include "tls.h"
#include "url.h" #include "url.h"
#include "libavutil/avutil.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "libavutil/time.h" #include "libavutil/time.h"

@ -19,8 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stddef.h>
#include "config.h" #include "config.h"
#include "libavutil/common.h" #include "libavutil/macros.h"
#include "avformat.h" #include "avformat.h"
#include "internal.h" #include "internal.h"
#include "metadata.h" #include "metadata.h"

@ -19,8 +19,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/avutil.h" #include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "tee_common.h" #include "tee_common.h"

@ -38,6 +38,8 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/time_internal.h" #include "libavutil/time_internal.h"
#include "libavcodec/codec_desc.h"
typedef struct AdaptationSet { typedef struct AdaptationSet {
char id[10]; char id[10];
int *streams; int *streams;

@ -21,8 +21,9 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include "libavutil/common.h" #include "libavutil/error.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/macros.h"
#include "wv.h" #include "wv.h"

@ -32,8 +32,8 @@
#include "config.h" #include "config.h"
#include "adler32.h" #include "adler32.h"
#include "common.h"
#include "intreadwrite.h" #include "intreadwrite.h"
#include "macros.h"
#define BASE 65521L /* largest prime smaller than 65536 */ #define BASE 65521L /* largest prime smaller than 65536 */

@ -20,11 +20,15 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "common.h" #include <string.h>
#include "config.h"
#include "aes.h" #include "aes.h"
#include "aes_internal.h" #include "aes_internal.h"
#include "error.h"
#include "intreadwrite.h" #include "intreadwrite.h"
#include "timer.h" #include "macros.h"
#include "mem.h"
const int av_aes_size= sizeof(AVAES); const int av_aes_size= sizeof(AVAES);

@ -19,10 +19,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "common.h" #include <string.h>
#include "aes_ctr.h" #include "aes_ctr.h"
#include "aes.h" #include "aes.h"
#include "aes_internal.h" #include "aes_internal.h"
#include "macros.h"
#include "mem.h"
#include "random_seed.h" #include "random_seed.h"
#define AES_BLOCK_SIZE (16) #define AES_BLOCK_SIZE (16)

@ -21,16 +21,18 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include <errno.h>
#include <limits.h>
#include <math.h>
#include <stdarg.h> #include <stdarg.h>
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
#include "config.h"
#include "common.h"
#include "avstring.h" #include "avstring.h"
#include "bprint.h" #include "libm.h"
typedef struct FFFILE { typedef struct FFFILE {
size_t buf_size; size_t buf_size;

@ -19,17 +19,20 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <limits.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "config.h" #include "config.h"
#include "common.h"
#include "mem.h" #include "mem.h"
#include "avassert.h" #include "avassert.h"
#include "avstring.h" #include "avstring.h"
#include "bprint.h" #include "bprint.h"
#include "error.h"
#include "macros.h"
#include "version.h"
int av_strstart(const char *str, const char *pfx, const char **ptr) int av_strstart(const char *str, const char *pfx, const char **ptr)
{ {

@ -24,10 +24,12 @@
* @author Ryan Martell <rdm4@martellventures.com> (with lots of Michael) * @author Ryan Martell <rdm4@martellventures.com> (with lots of Michael)
*/ */
#include "common.h" #include <limits.h>
#include <stddef.h>
#include "base64.h" #include "base64.h"
#include "error.h"
#include "intreadwrite.h" #include "intreadwrite.h"
#include "timer.h"
/* ---------------- private code */ /* ---------------- private code */
static const uint8_t map2[256] = static const uint8_t map2[256] =

@ -21,8 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "avutil.h" #include <string.h>
#include "common.h"
#include "attributes.h"
#include "intreadwrite.h" #include "intreadwrite.h"
#include "mem.h" #include "mem.h"
#include "blowfish.h" #include "blowfish.h"

@ -18,15 +18,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <limits.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include "avstring.h" #include "avstring.h"
#include "bprint.h" #include "bprint.h"
#include "common.h"
#include "compat/va_copy.h" #include "compat/va_copy.h"
#include "error.h" #include "error.h"
#include "macros.h"
#include "mem.h" #include "mem.h"
#define av_bprint_room(buf) ((buf)->size - FFMIN((buf)->len, (buf)->size)) #define av_bprint_room(buf) ((buf)->size - FFMIN((buf)->len, (buf)->size))

@ -22,7 +22,6 @@
#include <stdatomic.h> #include <stdatomic.h>
#include <stdint.h> #include <stdint.h>
#include "internal.h"
#include "buffer.h" #include "buffer.h"
#include "thread.h" #include "thread.h"

@ -18,9 +18,13 @@
* License along with FFmpeg; if not, write to the Free Software * License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <string.h>
#include "camellia.h" #include "camellia.h"
#include "common.h" #include "error.h"
#include "intreadwrite.h" #include "intreadwrite.h"
#include "mem.h"
#include "attributes.h" #include "attributes.h"
#define LR32(x,c) ((x) << (c) | (x) >> (32 - (c))) #define LR32(x,c) ((x) << (c) | (x) >> (32 - (c)))

@ -18,9 +18,13 @@
* License along with FFmpeg; if not, write to the Free Software * License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <string.h>
#include "cast5.h" #include "cast5.h"
#include "common.h" #include "error.h"
#include "intreadwrite.h" #include "intreadwrite.h"
#include "mem.h"
#include "attributes.h" #include "attributes.h"
#define IA(x) ((x) >> 24) #define IA(x) ((x) >> 24)

@ -24,12 +24,14 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "avstring.h"
#include "avutil.h"
#include "channel_layout.h" #include "channel_layout.h"
#include "bprint.h" #include "bprint.h"
#include "common.h" #include "common.h"
#include "error.h"
#include "macros.h"
struct channel_name { struct channel_name {
const char *name; const char *name;

@ -21,7 +21,6 @@
#include <stddef.h> #include <stddef.h>
#include <math.h> #include <math.h>
#include "common.h"
#include "libavutil/color_utils.h" #include "libavutil/color_utils.h"
#include "libavutil/pixfmt.h" #include "libavutil/pixfmt.h"

@ -23,8 +23,8 @@
#include "thread.h" #include "thread.h"
#include "avassert.h" #include "avassert.h"
#include "bswap.h" #include "bswap.h"
#include "common.h"
#include "crc.h" #include "crc.h"
#include "error.h"
#if CONFIG_HARDCODED_TABLES #if CONFIG_HARDCODED_TABLES
static const AVCRC av_crc_table[AV_CRC_MAX][257] = { static const AVCRC av_crc_table[AV_CRC_MAX][257] = {

@ -19,10 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <stdint.h> #include <stdint.h>
#include "avutil.h" #include "attributes.h"
#include "common.h" #include "error.h"
#include "intreadwrite.h" #include "intreadwrite.h"
#include "mem.h" #include "mem.h"
#include "des.h" #include "des.h"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save