1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavfi: drop internal.h

All that remains in it are things that belong in avfilter_internal.h.

Move them there and remove internal.h
This commit is contained in:
Anton Khirnov 2024-08-16 22:25:47 +02:00
parent 90e4af65e1
commit 6d75d44d90
452 changed files with 24 additions and 503 deletions

View File

@ -34,7 +34,6 @@
#include "audio.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
static const char * const var_names[] = {
"ch", ///< the value of the current channel

View File

@ -28,7 +28,6 @@
#include "avfilter.h"
#include "formats.h"
#include "filters.h"
#include "internal.h"
enum OutModes {
IN_MODE,

View File

@ -19,7 +19,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
{

View File

@ -35,7 +35,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#define MAX_SPLITS 16
#define MAX_BANDS MAX_SPLITS + 1

View File

@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
typedef struct LFOContext {

View File

@ -25,7 +25,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
typedef struct DeclickChannel {
double *auxiliary;

View File

@ -25,7 +25,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
typedef struct ChanDelay {
int64_t delay;

View File

@ -22,7 +22,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
enum FilterType {
DC_TYPE,

View File

@ -20,7 +20,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct ADerivativeContext {
const AVClass *class;

View File

@ -28,7 +28,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
static const char * const var_names[] = {
"ch", ///< the value of the current channel

View File

@ -26,7 +26,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
typedef struct AudioEchoContext {
const AVClass *class;

View File

@ -21,7 +21,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
typedef struct BiquadCoeffs {

View File

@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
typedef struct ChannelParams {

View File

@ -29,7 +29,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct AudioFadeContext {
const AVClass *class;

View File

@ -20,7 +20,6 @@
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
#include "libavfilter/internal.h"
#include "libavutil/common.h"
#include "libavutil/cpu.h"
#include "libavutil/opt.h"

View File

@ -41,7 +41,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "af_afirdsp.h"
#define MAX_IR_STREAMS 32

View File

@ -32,7 +32,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct AFormatContext {
const AVClass *class;

View File

@ -29,7 +29,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
typedef struct ThreadData {

View File

@ -33,7 +33,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct MetaItem {
int64_t pts;

View File

@ -32,7 +32,6 @@
#include "filters.h"
#include "audio.h"
#include "formats.h"
#include "internal.h"
#define SWR_CH_MAX 64

View File

@ -44,7 +44,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#define INPUT_ON 1 /**< input is active */
#define INPUT_EOF 2 /**< input has reached EOF (may still be active) */

View File

@ -26,7 +26,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct AudioMultiplyContext {
const AVClass *class;

View File

@ -28,7 +28,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "audio.h"
#include "video.h"

View File

@ -26,7 +26,6 @@
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
typedef struct AudioNLMDNDSPContext {
float (*compute_distance_ssd)(const float *f1, const float *f2, ptrdiff_t K);

View File

@ -28,7 +28,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
enum OutModes {
IN_MODE,

View File

@ -25,7 +25,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "libavutil/internal.h"
const AVFilter ff_af_anull = {

View File

@ -33,7 +33,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
typedef struct APadContext {
const AVClass *class;

View File

@ -29,7 +29,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "generate_wave_table.h"
typedef struct AudioPhaserContext {

View File

@ -25,7 +25,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct AudioPsyClipContext {
const AVClass *class;

View File

@ -24,7 +24,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "audio.h"
enum PulsatorModes { SINE, TRIANGLE, SQUARE, SAWUP, SAWDOWN, NB_MODES };

View File

@ -34,7 +34,6 @@
#include "audio.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct AResampleContext {
const AVClass *class;

View File

@ -27,7 +27,6 @@
#include "avfilter.h"
#include "formats.h"
#include "filters.h"
#include "internal.h"
enum OutModes {
IN_MODE,

View File

@ -26,7 +26,6 @@
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct ChanStats {
double u;

View File

@ -29,7 +29,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
typedef struct ASNSContext {
const AVClass *class;

View File

@ -22,7 +22,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct ASetRateContext {
const AVClass *class;

View File

@ -39,7 +39,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct AShowInfoContext {
/**

View File

@ -27,7 +27,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "window_func.h"
#define MEASURE_ALL UINT_MAX

View File

@ -28,7 +28,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct ASRContext {
const AVClass *class;

View File

@ -27,7 +27,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#define HISTOGRAM_SIZE 8192
#define HISTOGRAM_MAX (HISTOGRAM_SIZE-1)

View File

@ -48,7 +48,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
/**
* A fragment of audio waveform

View File

@ -26,7 +26,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct AudioXCorrelateContext {
const AVClass *class;

View File

@ -73,7 +73,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
enum FilterType {
biquad,

View File

@ -31,7 +31,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef void (*filter_func)(t_bs2bdp bs2bdp, uint8_t *sample, int n);

View File

@ -37,7 +37,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
struct ChannelMap {
int in_channel;

View File

@ -33,7 +33,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#define MAX_CH 64

View File

@ -35,7 +35,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "generate_wave_table.h"
typedef struct ChorusContext {

View File

@ -36,7 +36,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct ChanParam {
double attack;

View File

@ -24,7 +24,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
typedef struct CompensationDelayContext {
const AVClass *class;

View File

@ -24,7 +24,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
typedef struct DCShiftContext {
const AVClass *class;

View File

@ -26,7 +26,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include <float.h>

View File

@ -26,7 +26,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#define BINS 32768

View File

@ -41,7 +41,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
static const char * const var_names[] = {
"ch", ///< the value of the current channel

View File

@ -27,7 +27,6 @@
#include "libavutil/tx.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
#define RDFT_BITS_MIN 4

View File

@ -24,7 +24,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
#include "generate_wave_table.h"
#define INTERPOLATION_LINEAR 0

View File

@ -49,7 +49,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "audio.h"
#define PEAK_EXT_LEVEL 0x5981 /* + sizeof(peaktab)-1 = 0x8000 */

View File

@ -31,7 +31,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "audio.h"
#define TIME_DOMAIN 0

View File

@ -35,7 +35,6 @@
#include "avfilter.h"
#include "formats.h"
#include "filters.h"
#include "internal.h"
typedef struct ChannelMap {
int input; ///< input stream index

View File

@ -36,7 +36,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct MetaItem {
int64_t pts;

View File

@ -25,7 +25,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "audio.h"
#include "ebur128.h"

View File

@ -36,7 +36,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct URITable {
char **uris;

View File

@ -36,7 +36,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct CompandSegment {
double x, y;

View File

@ -37,7 +37,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#define MAX_CHANNELS 64

View File

@ -32,7 +32,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#define HISTOGRAM_SLOTS 12000
#define BUTTER_ORDER 2

View File

@ -25,7 +25,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct RubberBandContext {
const AVClass *class;

View File

@ -36,7 +36,6 @@
#include "filters.h"
#include "formats.h"
#include "hermite.h"
#include "internal.h"
typedef struct SidechainCompressContext {
const AVClass *class;

View File

@ -31,7 +31,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct SilenceDetectContext {
const AVClass *class;

View File

@ -29,7 +29,6 @@
#include "audio.h"
#include "filters.h"
#include "avfilter.h"
#include "internal.h"
enum SilenceDetect {
D_AVG,

View File

@ -38,7 +38,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "audio.h"
#define TIME_DOMAIN 0

View File

@ -38,7 +38,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#define MAX_ITEMS 882000
#define MIN_PEAK (1. / 32768.)

View File

@ -26,7 +26,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#define NBANDS 17
#define M 15

View File

@ -26,7 +26,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
#include "formats.h"
#include "window_func.h"

View File

@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
typedef struct TremoloContext {

View File

@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
#include "generate_wave_table.h"

View File

@ -24,7 +24,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include <float.h>

View File

@ -37,7 +37,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "af_volume.h"
static const char * const precision_str[] = {

View File

@ -23,7 +23,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
typedef struct VolDetectContext {
/**

View File

@ -20,7 +20,6 @@
#include "libavutil/tx.h"
#include "avfilter.h"
#include "internal.h"
#include "audio.h"
#undef ctype

View File

@ -21,7 +21,6 @@
#include "libavutil/internal.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
static int null_filter_frame(AVFilterLink *link, AVFrame *frame)
{

View File

@ -25,7 +25,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct AFDelaySrcContext {
const AVClass *class;

View File

@ -29,7 +29,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "window_func.h"
typedef struct AudioFIRSourceContext {

View File

@ -24,7 +24,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"

View File

@ -34,7 +34,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct ANullContext {
const AVClass *class;

View File

@ -35,7 +35,6 @@
#include "filters.h"
#include "audio.h"
#include "formats.h"
#include "internal.h"
typedef struct FliteContext {
const AVClass *class;

View File

@ -24,7 +24,6 @@
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "filters.h"
#include "window_func.h"

View File

@ -29,7 +29,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct SincContext {
const AVClass *class;

View File

@ -29,7 +29,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
typedef struct SineContext {
const AVClass *class;

View File

@ -30,7 +30,6 @@
#include "avfilter_internal.h"
#include "filters.h"
#include "framepool.h"
#include "internal.h"
const AVFilterPad ff_audio_default_filterpad[1] = {
{

View File

@ -27,7 +27,6 @@
#include "formats.h"
#include "audio.h"
#include "video.h"
#include "internal.h"
typedef struct Audio3dScopeContext {
const AVClass *class;

View File

@ -28,7 +28,6 @@
#include "formats.h"
#include "audio.h"
#include "video.h"
#include "internal.h"
typedef struct AudioBitScopeContext {
const AVClass *class;

View File

@ -25,7 +25,6 @@
#include "filters.h"
#include "formats.h"
#include "video.h"
#include "internal.h"
enum DisplayScale { LINEAR, SQRT, CBRT, LOG, RLOG, NB_SCALES };
enum AmplitudeScale { ALINEAR, ALOG, NB_ASCALES };

View File

@ -35,7 +35,6 @@
#include "formats.h"
#include "audio.h"
#include "video.h"
#include "internal.h"
typedef struct AudioPhaseMeterContext {
const AVClass *class;

View File

@ -32,7 +32,6 @@
#include "formats.h"
#include "audio.h"
#include "video.h"
#include "internal.h"
enum VectorScopeMode {
LISSAJOUS,

View File

@ -30,7 +30,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "audio.h"

View File

@ -31,7 +31,6 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "lavfutils.h"
#include "lswsutils.h"
#include "video.h"

View File

@ -23,7 +23,6 @@
#include "libavutil/tx.h"
#include "avfilter.h"
#include "internal.h"
typedef struct Coeffs {
float *val;

View File

@ -33,7 +33,6 @@
#include "video.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
enum FrequencyScale {
FSCALE_LINEAR,

View File

@ -34,7 +34,6 @@
#include "formats.h"
#include "video.h"
#include "avfilter.h"
#include "internal.h"
#include "window_func.h"
enum DataMode { MAGNITUDE, PHASE, DELAY, NB_DATA };

View File

@ -31,7 +31,6 @@
#include "video.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "window_func.h"
typedef struct ShowSpatialContext {

View File

@ -45,7 +45,6 @@
#include "video.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "window_func.h"
enum DisplayMode { COMBINED, SEPARATE, NB_MODES };

View File

@ -28,7 +28,6 @@
#include "filters.h"
#include "formats.h"
#include "video.h"
#include "internal.h"
static const char *const var_names[] = { "VOLUME", "CHANNEL", "PEAK", NULL };
enum { VAR_VOLUME, VAR_CHANNEL, VAR_PEAK, VAR_VARS_NB };

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