FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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)
 Allocate AVAudioResampleContext and set options. More...
 
const AVClassavresample_get_class (void)
 Get the AVClass for AVAudioResampleContext. More...
 

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

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

Definition at line 35 of file options.c.

#define PARAM   AV_OPT_FLAG_AUDIO_PARAM

Definition at line 36 of file options.c.

Variable Documentation

const AVOption avresample_options[]
static

Definition at line 38 of file options.c.

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:193
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().