FFmpeg  4.0
Data Fields
resample_init_func Struct Reference

#include <libavresample/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

◆ class

const AVClass* resample_init_func::class

Definition at line 39 of file af_resample.c.

◆ avr

AVAudioResampleContext * resample_init_func::avr

◆ options

AVDictionary* resample_init_func::options

Definition at line 41 of file af_resample.c.

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

◆ resampling

int resample_init_func::resampling

Definition at line 43 of file af_resample.c.

Referenced by config_output(), and filter_frame().

◆ next_pts

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().

◆ next_in_pts

int64_t resample_init_func::next_in_pts

Definition at line 45 of file af_resample.c.

Referenced by config_output(), and filter_frame().

◆ got_output

int resample_init_func::got_output

Definition at line 48 of file af_resample.c.

Referenced by filter_frame(), and request_frame().

◆ buffer

AudioData* ResampleContext::buffer

Definition at line 30 of file resample.h.

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

◆ filter_bank

uint8_t * resample_init_func::filter_bank

◆ filter_length

int resample_init_func::filter_length

◆ ideal_dst_incr

int resample_init_func::ideal_dst_incr

◆ dst_incr

int resample_init_func::dst_incr

◆ index [1/2]

unsigned int ResampleContext::index

◆ frac

int resample_init_func::frac

◆ src_incr

int resample_init_func::src_incr

◆ compensation_distance

int resample_init_func::compensation_distance

◆ phase_shift

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().

◆ phase_mask

int ResampleContext::phase_mask

Definition at line 40 of file resample.h.

Referenced by ff_audio_resample_init(), and resample().

◆ linear

int resample_init_func::linear

◆ filter_type [1/2]

enum AVResampleFilterType ResampleContext::filter_type

◆ kaiser_beta [1/2]

int ResampleContext::kaiser_beta

◆ set_filter

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().

◆ resample_one

void(* ResampleContext::resample_one) (void *dst, const void *src, int n, int64_t index, int64_t incr)

◆ resample_nearest

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().

◆ padding_size

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().

◆ initial_padding_filled

int ResampleContext::initial_padding_filled

Definition at line 51 of file resample.h.

Referenced by ff_audio_resample(), and ff_audio_resample_init().

◆ initial_padding_samples

int ResampleContext::initial_padding_samples

Definition at line 52 of file resample.h.

Referenced by ff_audio_resample(), and ff_audio_resample_init().

◆ final_padding_filled

int ResampleContext::final_padding_filled

Definition at line 53 of file resample.h.

Referenced by ff_audio_resample().

◆ final_padding_samples

int ResampleContext::final_padding_samples

Definition at line 54 of file resample.h.

Referenced by ff_audio_resample().

◆ av_class

const AVClass* ResampleContext::av_class

Definition at line 31 of file resample.h.

◆ filter_alloc

int ResampleContext::filter_alloc

Definition at line 34 of file resample.h.

Referenced by rebuild_filter_bank_with_compensation(), and resample_init().

◆ dst_incr_div

int ResampleContext::dst_incr_div

◆ dst_incr_mod

int ResampleContext::dst_incr_mod

◆ index [2/2]

int ResampleContext::index

Definition at line 39 of file resample.h.

◆ phase_count

int ResampleContext::phase_count

◆ filter_type [2/2]

enum SwrFilterType ResampleContext::filter_type

Definition at line 45 of file resample.h.

◆ kaiser_beta [2/2]

double ResampleContext::kaiser_beta

Definition at line 46 of file resample.h.

◆ factor

double ResampleContext::factor

Definition at line 47 of file resample.h.

Referenced by rebuild_filter_bank_with_compensation(), and resample_init().

◆ format

enum AVSampleFormat ResampleContext::format

◆ felem_size

int ResampleContext::felem_size

◆ filter_shift

int ResampleContext::filter_shift

Definition at line 50 of file resample.h.

Referenced by rebuild_filter_bank_with_compensation(), and resample_init().

◆ phase_count_compensation

int ResampleContext::phase_count_compensation

Definition at line 51 of file resample.h.

Referenced by rebuild_filter_bank_with_compensation(), and resample_init().

◆ resample_common

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

◆ resample_linear

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

◆ dsp

struct { ... } ResampleContext::dsp

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