FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ReSampleContext Struct Reference

Data Fields

struct AVResampleContextresample_context
 
short * temp [MAX_CHANNELS]
 
int temp_len
 
float ratio
 
int input_channels
 
int output_channels
 
int filter_channels
 
AVAudioConvertconvert_ctx [2]
 
enum AVSampleFormat sample_fmt [2]
 input and output sample format
 
unsigned sample_size [2]
 size of one sample in sample_fmt
 
short * buffer [2]
 buffers used for conversion to S16
 
unsigned buffer_size [2]
 sizes of allocated buffers
 

Detailed Description

Definition at line 51 of file resample.c.

Field Documentation

struct AVResampleContext* ReSampleContext::resample_context

Definition at line 52 of file resample.c.

Referenced by audio_resample(), audio_resample_close(), and av_audio_resample_init().

short* ReSampleContext::temp[MAX_CHANNELS]

Definition at line 53 of file resample.c.

Referenced by audio_resample(), and audio_resample_close().

int ReSampleContext::temp_len

Definition at line 54 of file resample.c.

Referenced by audio_resample().

float ReSampleContext::ratio

Definition at line 55 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

int ReSampleContext::input_channels

Definition at line 57 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

int ReSampleContext::output_channels

Definition at line 57 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

int ReSampleContext::filter_channels

Definition at line 57 of file resample.c.

Referenced by audio_resample(), audio_resample_close(), and av_audio_resample_init().

AVAudioConvert* ReSampleContext::convert_ctx[2]

Definition at line 58 of file resample.c.

Referenced by audio_resample(), audio_resample_close(), and av_audio_resample_init().

enum AVSampleFormat ReSampleContext::sample_fmt[2]

input and output sample format

Definition at line 59 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

unsigned ReSampleContext::sample_size[2]

size of one sample in sample_fmt

Definition at line 60 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

short* ReSampleContext::buffer[2]

buffers used for conversion to S16

Definition at line 61 of file resample.c.

Referenced by audio_resample(), and audio_resample_close().

unsigned ReSampleContext::buffer_size[2]

sizes of allocated buffers

Definition at line 62 of file resample.c.

Referenced by audio_resample().


The documentation for this struct was generated from the following file: