FFmpeg  4.0
Macros | Functions | Variables
options.c File Reference

Options definition for AVAudioResampleContext. More...

#include <stdint.h>
#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avresample.h"
#include "internal.h"
#include "audio_mix.h"

Go to the source code of this file.

Macros

#define OFFSET(x)   offsetof(AVAudioResampleContext, x)
 
#define PARAM   AV_OPT_FLAG_AUDIO_PARAM
 

Functions

AVAudioResampleContextavresample_alloc_context (void)
 
const AVClassavresample_get_class (void)
 

Variables

static const AVOption avresample_options []
 
static const AVClass av_resample_context_class
 

Detailed Description

Options definition for AVAudioResampleContext.

Definition in file options.c.

Macro Definition Documentation

◆ OFFSET

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

Definition at line 35 of file options.c.

◆ PARAM

#define PARAM   AV_OPT_FLAG_AUDIO_PARAM

Definition at line 36 of file options.c.

Variable Documentation

◆ avresample_options

const AVOption avresample_options[]
static

Definition at line 38 of file options.c.

◆ av_resample_context_class

const AVClass av_resample_context_class
static
Initial value:
= {
.class_name = "AVAudioResampleContext",
.item_name = av_default_item_name,
.option = avresample_options,
}
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:191
static const AVOption avresample_options[]
Definition: options.c:38

Definition at line 89 of file options.c.

Referenced by avresample_alloc_context(), and avresample_get_class().