mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
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>
This commit is contained in:
@@ -21,15 +21,14 @@
|
||||
#ifndef AVFILTER_AFIR_H
|
||||
#define AVFILTER_AFIR_H
|
||||
|
||||
#include "libavutil/tx.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/float_dsp.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "audio.h"
|
||||
#include "avfilter.h"
|
||||
#include "formats.h"
|
||||
#include "internal.h"
|
||||
#include "libavutil/tx.h"
|
||||
#include "libavutil/float_dsp.h"
|
||||
#include "libavutil/frame.h"
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/rational.h"
|
||||
|
||||
typedef struct AudioFIRSegment {
|
||||
int nb_partitions;
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
#ifndef AVFILTER_VOLUME_H
|
||||
#define AVFILTER_VOLUME_H
|
||||
|
||||
#include "libavutil/common.h"
|
||||
#include <stdint.h>
|
||||
#include "libavutil/eval.h"
|
||||
#include "libavutil/float_dsp.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/samplefmt.h"
|
||||
|
||||
enum PrecisionType {
|
||||
|
||||
@@ -25,11 +25,9 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/avstring.h"
|
||||
#include "libavutil/bprint.h"
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
#ifndef AVFILTER_COLORSPACE_H
|
||||
#define AVFILTER_COLORSPACE_H
|
||||
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/frame.h"
|
||||
#include "libavutil/pixfmt.h"
|
||||
|
||||
#define REFERENCE_WHITE 100.0f
|
||||
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
#include <limits.h>
|
||||
#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_internal.h"
|
||||
#include "libavutil/thread.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/common.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}};
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef 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_TSS 2
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
* 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/thread.h"
|
||||
#include "libavutil/slicethread.h"
|
||||
|
||||
#include "avfilter.h"
|
||||
|
||||
Reference in New Issue
Block a user