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
 
int resampling
 
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
 
int phase_count
 
enum SwrFilterType filter_type
 
double kaiser_beta
 
double factor
 
enum AVSampleFormat format
 
int felem_size
 
int filter_shift
 
int phase_count_compensation
 
struct {
   void(*   resample_one )(void *dst, const void *src,
      int n, int64_t index, int64_t
      incr)
 
   int(*   resample_common )(struct ResampleContext *c,
      void *dst, const void *src,
      int n, int update_ctx)
 
   int(*   resample_linear )(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().

int resample_init_func::resampling

Definition at line 43 of file af_resample.c.

Referenced by config_output(), and filter_frame().

int64_t resample_init_func::next_pts

Definition at line 44 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 45 of file af_resample.c.

Referenced by config_output(), and filter_frame().

int resample_init_func::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 * resample_init_func::filter_bank
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 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 resample_init_func::linear
enum AVResampleFilterType ResampleContext::filter_type
int ResampleContext::kaiser_beta
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 rebuild_filter_bank_with_compensation(), and resample_init().

int ResampleContext::dst_incr_div
int ResampleContext::dst_incr_mod
int ResampleContext::index

Definition at line 39 of file resample.h.

int ResampleContext::phase_count
enum SwrFilterType ResampleContext::filter_type

Definition at line 45 of file resample.h.

double ResampleContext::kaiser_beta

Definition at line 46 of file resample.h.

double ResampleContext::factor

Definition at line 47 of file resample.h.

Referenced by rebuild_filter_bank_with_compensation(), and resample_init().

enum AVSampleFormat ResampleContext::format
int ResampleContext::felem_size
int ResampleContext::filter_shift

Definition at line 50 of file resample.h.

Referenced by rebuild_filter_bank_with_compensation(), and resample_init().

int ResampleContext::phase_count_compensation

Definition at line 51 of file resample.h.

Referenced by rebuild_filter_bank_with_compensation(), and resample_init().

int(* ResampleContext::resample_common)(struct ResampleContext *c, void *dst, const void *src, int n, int update_ctx)
int(* ResampleContext::resample_linear)(struct ResampleContext *c, void *dst, const void *src, int n, int update_ctx)
struct { ... } ResampleContext::dsp

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