[FFmpeg-devel] [PATCH 19/19] Remove unnecessary libavutil/(avutil|common|internal).h inclusions
Martin Storsjö
martin at martin.st
Wed Feb 23 17:02:48 EET 2022
On Tue, 15 Feb 2022, Andreas Rheinhardt wrote:
> 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.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/ac3.c | 3 ++-
> libavcodec/ac3.h | 1 +
> libavcodec/ass_split.c | 8 +++++++-
> libavcodec/av1_parse.h | 2 +-
> libavcodec/bitstream.c | 2 +-
> libavcodec/cabac.c | 5 +----
> libavcodec/celp_math.c | 7 +++----
> libavcodec/codec_desc.c | 3 ++-
> libavcodec/dca_exss.h | 2 +-
> libavcodec/dcadct.c | 2 +-
> libavcodec/dcadct.h | 3 ++-
> libavcodec/dcadec.h | 4 +++-
> libavcodec/dcahuff.c | 2 +-
> libavcodec/dirac_vlc.h | 2 +-
> libavcodec/dnxhddata.c | 4 +++-
> libavcodec/dnxhddata.h | 3 ++-
> libavcodec/dv_profile.c | 3 ++-
> libavcodec/elsdec.c | 7 +++++--
> libavcodec/exrdsp.h | 2 +-
> libavcodec/flacdsp.c | 1 +
> libavcodec/flacdsp.h | 2 +-
> libavcodec/flacdsp_lpc_template.c | 2 +-
> libavcodec/flacdsp_template.c | 2 +-
> libavcodec/fmtconvert.c | 3 ++-
> libavcodec/golomb.c | 2 +-
> libavcodec/h264_levels.c | 2 +-
> libavcodec/h264_redundant_pps_bsf.c | 7 ++++---
> libavcodec/h264_sei.c | 2 +-
> libavcodec/huffman.c | 5 ++++-
> libavcodec/jfdctfst.c | 5 ++---
> libavcodec/jpeg2000dwt.c | 3 ++-
> libavcodec/jrevdct.c | 4 +++-
> libavcodec/lagarithrac.h | 1 -
> libavcodec/libopus.c | 1 -
> libavcodec/lsp.c | 4 ++--
> libavcodec/lzwenc.c | 2 +-
> libavcodec/mdct15.c | 3 ++-
> libavcodec/mips/mpegaudiodsp_mips_fixed.c | 1 +
> libavcodec/mips/mpegaudiodsp_mips_float.c | 1 +
> libavcodec/mjpegenc_huffman.c | 3 ---
> libavcodec/mpegaudiodecheader.c | 2 +-
> libavcodec/mpegaudiodsp.h | 2 +-
> libavcodec/msmpeg4data.h | 2 +-
> libavcodec/opusdsp.c | 2 ++
> libavcodec/opusdsp.h | 2 --
> libavcodec/pngdsp.c | 2 +-
> libavcodec/ra288.h | 2 +-
> libavcodec/rangecoder.h | 2 +-
> libavcodec/raw.c | 2 +-
> libavcodec/rle.c | 2 +-
> libavcodec/scpr3.h | 7 +------
> libavcodec/tests/cabac.c | 2 +-
> libavcodec/tests/jpeg2000dwt.c | 5 +++++
> libavcodec/tests/rangecoder.c | 1 +
> libavcodec/trace_headers_bsf.c | 4 ++--
> libavcodec/videodsp.c | 3 ++-
> libavcodec/vp56data.h | 2 +-
> libavcodec/vp56rac.c | 4 +++-
> libavcodec/vp9dsp.c | 4 +++-
> libavcodec/wavpack.h | 5 ++++-
> libavcodec/wavpackenc.h | 2 ++
> libavcodec/x86/fdct.c | 3 ++-
> libavcodec/x86/mpegaudiodsp.c | 4 +++-
> libavcodec/x86/pngdsp_init.c | 3 ++-
> libavcodec/xiph.c | 2 ++
> libavcodec/xiph.h | 2 +-
> libavdevice/timefilter.c | 6 +++++-
> libavfilter/af_afir.h | 13 ++++++-------
> libavfilter/af_volume.h | 4 ++--
> libavfilter/avfiltergraph.c | 2 --
> libavfilter/colorspace.h | 2 +-
> libavfilter/ebur128.c | 3 ++-
> libavfilter/motion_estimation.c | 1 +
> libavfilter/motion_estimation.h | 2 +-
> libavfilter/pthread.c | 6 +++---
> libavformat/argo_asf.h | 2 +-
> libavformat/asfcrypt.c | 3 ++-
> libavformat/avlanguage.c | 3 +--
> libavformat/hlsplaylist.h | 1 -
> libavformat/matroska.h | 2 +-
> libavformat/network.c | 1 -
> libavformat/riff.c | 3 ++-
> libavformat/tee_common.c | 5 +++--
> libavformat/webmdashenc.c | 2 ++
> libavformat/wv.c | 3 ++-
> libavutil/adler32.c | 2 +-
> libavutil/aes.c | 8 ++++++--
> libavutil/aes_ctr.c | 5 ++++-
> libavutil/avsscanf.c | 8 +++++---
> libavutil/avstring.c | 5 ++++-
> libavutil/base64.c | 6 ++++--
> libavutil/blowfish.c | 5 +++--
> libavutil/bprint.c | 3 ++-
> libavutil/buffer_internal.h | 1 -
> libavutil/camellia.c | 6 +++++-
> libavutil/cast5.c | 6 +++++-
> libavutil/channel_layout.c | 6 ++++--
> libavutil/color_utils.c | 1 -
> libavutil/crc.c | 2 +-
> libavutil/des.c | 6 ++++--
> libavutil/error.c | 7 +++++--
> libavutil/fixed_dsp.c | 1 +
> libavutil/fixed_dsp.h | 2 +-
> libavutil/lls.c | 2 +-
> libavutil/log.c | 4 +++-
> libavutil/lzo.c | 6 ++++--
> libavutil/mem.c | 9 +++++----
> libavutil/pixelutils.c | 12 +++++++++---
> libavutil/qsort.h | 2 +-
> libavutil/rc4.c | 5 +++--
> libavutil/ripemd.c | 4 +++-
> libavutil/sha.c | 3 ++-
> libavutil/sha512.c | 3 ++-
> libavutil/stereo3d.c | 3 ++-
> libavutil/tea.c | 4 ++--
> libavutil/tests/color_utils.c | 2 ++
> libavutil/tests/pixelutils.c | 4 ++++
> libavutil/twofish.c | 6 +++++-
> libavutil/video_enc_params.c | 2 --
> libavutil/x86/imgutils_init.c | 3 +--
> libavutil/xtea.c | 4 ++--
> libswscale/input.c | 6 ------
> libswscale/options.c | 2 --
> libswscale/rgb2rgb.h | 5 +----
> libswscale/swscale.c | 8 ++------
> libswscale/swscale_internal.h | 1 -
> 126 files changed, 260 insertions(+), 178 deletions(-)
LGTM
// Martin
More information about the ffmpeg-devel
mailing list