FFmpeg
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

◆ class

const AVClass* resample_init_func::class

Definition at line 39 of file af_resample.c.

◆ avr

AVAudioResampleContext * resample_init_func::avr

Definition at line 40 of file af_resample.c.

◆ options

AVDictionary* resample_init_func::options

Definition at line 41 of file af_resample.c.

◆ resampling

int resample_init_func::resampling

Definition at line 43 of file af_resample.c.

◆ next_pts

int64_t resample_init_func::next_pts

Definition at line 44 of file af_resample.c.

◆ next_in_pts

int64_t resample_init_func::next_in_pts

Definition at line 45 of file af_resample.c.

◆ got_output

int resample_init_func::got_output

Definition at line 48 of file af_resample.c.

◆ buffer

AudioData* ResampleContext::buffer

Definition at line 30 of file resample.h.

◆ filter_bank

uint8_t * resample_init_func::filter_bank

Definition at line 31 of file resample.h.

◆ filter_length

int resample_init_func::filter_length

Definition at line 32 of file resample.h.

Referenced by invert_initial_buffer(), and resample_common_TMPL().

◆ ideal_dst_incr

int resample_init_func::ideal_dst_incr

Definition at line 33 of file resample.h.

◆ dst_incr

int resample_init_func::dst_incr

Definition at line 34 of file resample.h.

◆ index [1/2]

unsigned int ResampleContext::index

Definition at line 35 of file resample.h.

◆ frac

int resample_init_func::frac

Definition at line 36 of file resample.h.

Referenced by resample_common_TMPL(), resample_linear(), and resample_linear_TMPL().

◆ src_incr

int resample_init_func::src_incr

Definition at line 37 of file resample.h.

◆ compensation_distance

int resample_init_func::compensation_distance

Definition at line 38 of file resample.h.

◆ phase_shift

int ResampleContext::phase_shift

Definition at line 39 of file resample.h.

◆ phase_mask

int ResampleContext::phase_mask

Definition at line 40 of file resample.h.

◆ linear

int resample_init_func::linear

Definition at line 41 of file resample.h.

◆ filter_type [1/2]

enum AVResampleFilterType ResampleContext::filter_type

Definition at line 42 of file resample.h.

◆ kaiser_beta [1/2]

int ResampleContext::kaiser_beta

Definition at line 43 of file resample.h.

◆ set_filter

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

Definition at line 44 of file resample.h.

◆ resample_one

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

Definition at line 45 of file resample.h.

◆ 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.

◆ padding_size

int ResampleContext::padding_size

Definition at line 50 of file resample.h.

◆ initial_padding_filled

int ResampleContext::initial_padding_filled

Definition at line 51 of file resample.h.

◆ initial_padding_samples

int ResampleContext::initial_padding_samples

Definition at line 52 of file resample.h.

◆ final_padding_filled

int ResampleContext::final_padding_filled

Definition at line 53 of file resample.h.

◆ final_padding_samples

int ResampleContext::final_padding_samples

Definition at line 54 of file resample.h.

◆ 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.

◆ dst_incr_div

int ResampleContext::dst_incr_div

Definition at line 37 of file resample.h.

◆ dst_incr_mod

int ResampleContext::dst_incr_mod

Definition at line 38 of file resample.h.

◆ index [2/2]

int ResampleContext::index

Definition at line 39 of file resample.h.

◆ phase_count

int ResampleContext::phase_count

Definition at line 43 of file resample.h.

◆ 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.

◆ format

enum AVSampleFormat ResampleContext::format

Definition at line 48 of file resample.h.

◆ felem_size

int ResampleContext::felem_size

Definition at line 49 of file resample.h.

◆ filter_shift

int ResampleContext::filter_shift

Definition at line 50 of file resample.h.

◆ phase_count_compensation

int ResampleContext::phase_count_compensation

Definition at line 51 of file resample.h.

◆ resample_common

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

Definition at line 56 of file resample.h.

◆ resample_linear

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

Definition at line 58 of file resample.h.

◆ dsp

struct { ... } ResampleContext::dsp

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