Data Structures | Macros | Functions | Variables
asrc_hilbert.c File Reference
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
#include "window_func.h"

Go to the source code of this file.

Data Structures

struct  HilbertContext


#define OFFSET(x)   offsetof(HilbertContext, x)


static av_cold int init (AVFilterContext *ctx)
static av_cold void uninit (AVFilterContext *ctx)
static av_cold int query_formats (AVFilterContext *ctx)
static av_cold int config_props (AVFilterLink *outlink)
static int request_frame (AVFilterLink *outlink)


static const AVOption hilbert_options []
static const AVFilterPad hilbert_outputs []
AVFilter ff_asrc_hilbert

Macro Definition Documentation

#define OFFSET (   x)    offsetof(HilbertContext, x)

Definition at line 39 of file asrc_hilbert.c.

Definition at line 40 of file asrc_hilbert.c.

Function Documentation

static av_cold int init ( AVFilterContext ctx)

Definition at line 76 of file asrc_hilbert.c.

static av_cold void uninit ( AVFilterContext ctx)

Definition at line 88 of file asrc_hilbert.c.

static av_cold int query_formats ( AVFilterContext ctx)

Definition at line 95 of file asrc_hilbert.c.

static av_cold int config_props ( AVFilterLink outlink)

Definition at line 129 of file asrc_hilbert.c.

static int request_frame ( AVFilterLink outlink)

Definition at line 159 of file asrc_hilbert.c.

Variable Documentation

const AVOption hilbert_options[]

Definition at line 42 of file asrc_hilbert.c.

const AVFilterPad hilbert_outputs[]
Initial value:
= {
.name = "default",
.request_frame = request_frame,
.config_props = config_props,
{ NULL }
#define NULL
Definition: coverity.c:32
static int request_frame(AVFilterLink *outlink)
Definition: asrc_hilbert.c:159
static av_cold int config_props(AVFilterLink *outlink)
Definition: asrc_hilbert.c:129

Definition at line 180 of file asrc_hilbert.c.

AVFilter ff_asrc_hilbert
Initial value:
= {
.name = "hilbert",
.description = NULL_IF_CONFIG_SMALL("Generate a Hilbert transform FIR coefficients."),
.query_formats = query_formats,
.init = init,
.uninit = uninit,
.priv_size = sizeof(HilbertContext),
.priv_class = &hilbert_class,
#define NULL
Definition: coverity.c:32
static av_cold void uninit(AVFilterContext *ctx)
Definition: asrc_hilbert.c:88
static av_cold int query_formats(AVFilterContext *ctx)
Definition: asrc_hilbert.c:95
static av_cold int init(AVFilterContext *ctx)
Definition: asrc_hilbert.c:76
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:153
static const AVFilterPad outputs[]
Definition: af_acontrast.c:203
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
static const AVFilterPad hilbert_outputs[]
Definition: asrc_hilbert.c:180

Definition at line 190 of file asrc_hilbert.c.