libavresample/options.c File Reference

Options definition for AVAudioResampleContext. More...

#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.


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


AVAudioResampleContextavresample_alloc_context (void)
 Allocate AVAudioResampleContext and set options.
const AVClassavresample_get_class (void)
 Get the AVClass for AVAudioResampleContext.


static const AVOption options []
static const AVClass av_resample_context_class

Detailed Description

Options definition for AVAudioResampleContext.

Definition in file options.c.

Define Documentation

#define OFFSET (  )     offsetof(AVAudioResampleContext, x)

Definition at line 33 of file options.c.


Definition at line 34 of file options.c.

Function Documentation

AVAudioResampleContext* avresample_alloc_context ( void   ) 

Allocate AVAudioResampleContext and set options.

allocated audio resample context, or NULL on failure

Definition at line 76 of file options.c.

Referenced by config_output(), config_props(), and main().

const AVClass* avresample_get_class ( void   ) 

Get the AVClass for AVAudioResampleContext.

Can be used in combination with AV_OPT_SEARCH_FAKE_OBJ for examining options without allocating a context.

See also:
AVClass for AVAudioResampleContext

Definition at line 97 of file options.c.

Variable Documentation

Initial value:

    .class_name = "AVAudioResampleContext",
    .item_name  = av_default_item_name,
    .option     = options,
    .version    = LIBAVUTIL_VERSION_INT,

Definition at line 69 of file options.c.

const AVOption options[] [static]

Definition at line 36 of file options.c.

Generated on Fri Oct 26 02:50:07 2012 for FFmpeg by  doxygen 1.5.8