FFmpeg
4.0
|
Filter that changes number of samples on single output operation. More...
#include "libavutil/audio_fifo.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "internal.h"
#include "formats.h"
Go to the source code of this file.
Data Structures | |
struct | ASNSContext |
Macros | |
#define | OFFSET(x) offsetof(ASNSContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (asetnsamples) | |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | config_props_output (AVFilterLink *outlink) |
static int | push_samples (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *insamples) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static const AVOption | asetnsamples_options [] |
static const AVFilterPad | asetnsamples_inputs [] |
static const AVFilterPad | asetnsamples_outputs [] |
AVFilter | ff_af_asetnsamples |
Filter that changes number of samples on single output operation.
Definition in file af_asetnsamples.c.
#define OFFSET | ( | x | ) | offsetof(ASNSContext, x) |
Definition at line 44 of file af_asetnsamples.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 45 of file af_asetnsamples.c.
AVFILTER_DEFINE_CLASS | ( | asetnsamples | ) |
|
static |
Definition at line 57 of file af_asetnsamples.c.
|
static |
Definition at line 67 of file af_asetnsamples.c.
|
static |
Definition at line 73 of file af_asetnsamples.c.
|
static |
Definition at line 84 of file af_asetnsamples.c.
Referenced by filter_frame(), and request_frame().
|
static |
Definition at line 126 of file af_asetnsamples.c.
|
static |
Definition at line 156 of file af_asetnsamples.c.
|
static |
Definition at line 47 of file af_asetnsamples.c.
|
static |
Definition at line 170 of file af_asetnsamples.c.
|
static |
Definition at line 179 of file af_asetnsamples.c.
AVFilter ff_af_asetnsamples |
Definition at line 189 of file af_asetnsamples.c.