FFmpeg
Data Fields
SineContext Struct Reference

Data Fields

const AVClassclass
 
double frequency
 
double beep_factor
 
char * samples_per_frame
 
AVExprsamples_per_frame_expr
 
int sample_rate
 
int64_t duration
 
int16_t * sin
 
int64_t pts
 
uint32_t phi
 current phase of the sine (2pi = 1<<32) More...
 
uint32_t dphi
 phase increment between two samples More...
 
unsigned beep_period
 
unsigned beep_index
 
unsigned beep_length
 
uint32_t phi_beep
 current phase of the beep More...
 
uint32_t dphi_beep
 phase increment of the beep More...
 

Detailed Description

Definition at line 31 of file asrc_sine.c.

Field Documentation

◆ class

const AVClass* SineContext::class

Definition at line 32 of file asrc_sine.c.

◆ frequency

double SineContext::frequency

Definition at line 33 of file asrc_sine.c.

Referenced by init().

◆ beep_factor

double SineContext::beep_factor

Definition at line 34 of file asrc_sine.c.

Referenced by init().

◆ samples_per_frame

char* SineContext::samples_per_frame

Definition at line 35 of file asrc_sine.c.

Referenced by init().

◆ samples_per_frame_expr

AVExpr* SineContext::samples_per_frame_expr

Definition at line 36 of file asrc_sine.c.

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

◆ sample_rate

int SineContext::sample_rate

Definition at line 37 of file asrc_sine.c.

Referenced by config_props(), init(), and query_formats().

◆ duration

int64_t SineContext::duration

Definition at line 38 of file asrc_sine.c.

Referenced by config_props(), and request_frame().

◆ sin

int16_t* SineContext::sin

Definition at line 39 of file asrc_sine.c.

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

◆ pts

int64_t SineContext::pts

Definition at line 40 of file asrc_sine.c.

Referenced by request_frame().

◆ phi

uint32_t SineContext::phi

current phase of the sine (2pi = 1<<32)

Definition at line 41 of file asrc_sine.c.

Referenced by request_frame().

◆ dphi

uint32_t SineContext::dphi

phase increment between two samples

Definition at line 42 of file asrc_sine.c.

Referenced by init(), and request_frame().

◆ beep_period

unsigned SineContext::beep_period

Definition at line 43 of file asrc_sine.c.

Referenced by init(), and request_frame().

◆ beep_index

unsigned SineContext::beep_index

Definition at line 44 of file asrc_sine.c.

Referenced by request_frame().

◆ beep_length

unsigned SineContext::beep_length

Definition at line 45 of file asrc_sine.c.

Referenced by init(), and request_frame().

◆ phi_beep

uint32_t SineContext::phi_beep

current phase of the beep

Definition at line 46 of file asrc_sine.c.

Referenced by request_frame().

◆ dphi_beep

uint32_t SineContext::dphi_beep

phase increment of the beep

Definition at line 47 of file asrc_sine.c.

Referenced by init(), and request_frame().


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