FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
resample_init_func 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
 
const AVClassav_class
 
int filter_alloc
 
int dst_incr_div
 
int dst_incr_mod
 
int index
 
enum SwrFilterType filter_type
 
double factor
 
enum AVSampleFormat format
 
int felem_size
 
int filter_shift
 
struct {
   void(*   resample_one )(void *dst, const void *src,
      int n, int64_t index, int64_t
      incr)
 
   int(*   resample )(struct ResampleContext *c,
      void *dst, const void *src,
      int n, int update_ctx)
 
dsp
 

Detailed Description

Definition at line 38 of file af_resample.c.

Field Documentation

const AVClass* resample_init_func::class

Definition at line 39 of file af_resample.c.

AVAudioResampleContext * resample_init_func::avr
AVDictionary* resample_init_func::options

Definition at line 41 of file af_resample.c.

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

int64_t resample_init_func::next_pts

Definition at line 43 of file af_resample.c.

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

int64_t resample_init_func::next_in_pts

Definition at line 44 of file af_resample.c.

Referenced by config_output(), and filter_frame().

int resample_init_func::got_output

Definition at line 47 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 * resample_init_func::filter_bank

Definition at line 31 of file resample.h.

Referenced by build_filter(), ff_audio_resample_init(), and resample_init().

int resample_init_func::filter_length
int resample_init_func::ideal_dst_incr
int resample_init_func::dst_incr
unsigned int ResampleContext::index
int resample_init_func::frac
int resample_init_func::src_incr
int resample_init_func::compensation_distance
int resample_init_func::phase_shift
int resample_init_func::phase_mask

Definition at line 40 of file resample.h.

Referenced by ff_audio_resample_init(), invert_initial_buffer(), resample(), and resample_init().

int resample_init_func::linear
enum AVResampleFilterType ResampleContext::filter_type

Definition at line 42 of file resample.h.

Referenced by build_filter(), ff_audio_resample_init(), and resample_init().

int resample_init_func::kaiser_beta

Definition at line 43 of file resample.h.

Referenced by build_filter(), ff_audio_resample_init(), and 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)(void *dst, const void *src, int n, int64_t index, int64_t incr)
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().

const AVClass* ResampleContext::av_class

Definition at line 31 of file resample.h.

int ResampleContext::filter_alloc

Definition at line 34 of file resample.h.

Referenced by resample_init().

int ResampleContext::dst_incr_div

Definition at line 37 of file resample.h.

Referenced by multiple_resample(), resample_init(), set_compensation(), and swri_resample().

int ResampleContext::dst_incr_mod

Definition at line 38 of file resample.h.

Referenced by multiple_resample(), resample_init(), set_compensation(), and swri_resample().

int ResampleContext::index

Definition at line 39 of file resample.h.

enum SwrFilterType ResampleContext::filter_type

Definition at line 46 of file resample.h.

double ResampleContext::factor

Definition at line 48 of file resample.h.

Referenced by resample_init().

enum AVSampleFormat ResampleContext::format
int ResampleContext::felem_size

Definition at line 50 of file resample.h.

Referenced by invert_initial_buffer(), and resample_init().

int ResampleContext::filter_shift

Definition at line 51 of file resample.h.

Referenced by resample_init().

int(* ResampleContext::resample)(struct ResampleContext *c, void *dst, const void *src, int n, int update_ctx)

Definition at line 56 of file resample.h.

Referenced by swri_resample(), swri_resample_dsp_init(), and swri_resample_dsp_x86_init().

struct { ... } ResampleContext::dsp

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