Libav
Data Fields
ResampleContext Struct Reference

#include <resample.h>

Data Fields

const AVClassclass
 
AVAudioResampleContextavr
 
AVDictionaryoptions
 
int64_t next_pts
 
int64_t next_in_pts
 
int got_output
 
AudioDatabuffer
 
uint8_tfilter_bank
 
int filter_length
 
int ideal_dst_incr
 
int dst_incr
 
unsigned int index
 
int frac
 
int src_incr
 
int compensation_distance
 
int phase_shift
 
int phase_mask
 
int linear
 
enum AVResampleFilterType filter_type
 
int kaiser_beta
 
void(* set_filter )(void *filter, double *tab, int phase, int tap_count)
 
void(* resample_one )(struct ResampleContext *c, void *dst0, int dst_index, const void *src0, unsigned int index, int frac)
 
void(* resample_nearest )(void *dst0, int dst_index, const void *src0, unsigned int index)
 
int padding_size
 
int initial_padding_filled
 
int initial_padding_samples
 
int final_padding_filled
 
int final_padding_samples
 

Detailed Description

Definition at line 39 of file af_resample.c.

Field Documentation

const AVClass* ResampleContext::class

Definition at line 40 of file af_resample.c.

AVAudioResampleContext * ResampleContext::avr
AVDictionary* ResampleContext::options

Definition at line 42 of file af_resample.c.

Referenced by config_output(), init(), and uninit().

int64_t ResampleContext::next_pts

Definition at line 44 of file af_resample.c.

Referenced by config_output(), filter_frame(), and request_frame().

int64_t ResampleContext::next_in_pts

Definition at line 45 of file af_resample.c.

Referenced by config_output(), and filter_frame().

int ResampleContext::got_output

Definition at line 48 of file af_resample.c.

Referenced by filter_frame(), and request_frame().

AudioData* ResampleContext::buffer

Definition at line 30 of file resample.h.

Referenced by avresample_get_delay(), ff_audio_resample(), and ff_audio_resample_init().

uint8_t* ResampleContext::filter_bank

Definition at line 31 of file resample.h.

Referenced by build_filter(), and ff_audio_resample_init().

int ResampleContext::filter_length

Definition at line 32 of file resample.h.

Referenced by build_filter(), ff_audio_resample(), ff_audio_resample_init(), and resample().

int ResampleContext::ideal_dst_incr

Definition at line 33 of file resample.h.

Referenced by avresample_set_compensation(), ff_audio_resample_init(), and resample().

int ResampleContext::dst_incr

Definition at line 34 of file resample.h.

Referenced by avresample_set_compensation(), ff_audio_resample_init(), and resample().

unsigned int ResampleContext::index

Definition at line 35 of file resample.h.

Referenced by ff_audio_resample_init(), and resample().

int ResampleContext::frac

Definition at line 36 of file resample.h.

Referenced by ff_audio_resample_init(), resample(), and resample_linear().

int ResampleContext::src_incr

Definition at line 37 of file resample.h.

Referenced by ff_audio_resample_init(), and resample().

int ResampleContext::compensation_distance
int ResampleContext::phase_shift

Definition at line 39 of file resample.h.

Referenced by build_filter(), ff_audio_resample(), ff_audio_resample_init(), and resample().

int ResampleContext::phase_mask

Definition at line 40 of file resample.h.

Referenced by ff_audio_resample_init(), and resample().

int ResampleContext::linear

Definition at line 41 of file resample.h.

Referenced by ff_audio_resample_init(), and ff_audio_resample_init_aarch64().

enum AVResampleFilterType ResampleContext::filter_type

Definition at line 42 of file resample.h.

Referenced by build_filter(), and ff_audio_resample_init().

int ResampleContext::kaiser_beta

Definition at line 43 of file resample.h.

Referenced by build_filter(), and ff_audio_resample_init().

void(* ResampleContext::set_filter) (void *filter, double *tab, int phase, int tap_count)

Definition at line 44 of file resample.h.

Referenced by build_filter(), and ff_audio_resample_init().

void(* ResampleContext::resample_one) (struct ResampleContext *c, void *dst0, int dst_index, const void *src0, unsigned int index, int frac)

Definition at line 45 of file resample.h.

Referenced by ff_audio_resample_init(), ff_audio_resample_init_aarch64(), and resample().

void(* ResampleContext::resample_nearest) (void *dst0, int dst_index, const void *src0, unsigned int index)

Definition at line 48 of file resample.h.

Referenced by ff_audio_resample_init(), and resample().

int ResampleContext::padding_size

Definition at line 50 of file resample.h.

Referenced by avresample_get_delay(), ff_audio_resample(), and ff_audio_resample_init().

int ResampleContext::initial_padding_filled

Definition at line 51 of file resample.h.

Referenced by ff_audio_resample(), and ff_audio_resample_init().

int ResampleContext::initial_padding_samples

Definition at line 52 of file resample.h.

Referenced by ff_audio_resample(), and ff_audio_resample_init().

int ResampleContext::final_padding_filled

Definition at line 53 of file resample.h.

Referenced by ff_audio_resample().

int ResampleContext::final_padding_samples

Definition at line 54 of file resample.h.

Referenced by ff_audio_resample().


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