FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
SineContext Struct Reference

Data Fields

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

Detailed Description

Definition at line 30 of file asrc_sine.c.

Field Documentation

const AVClass* SineContext::class

Definition at line 31 of file asrc_sine.c.

double SineContext::frequency

Definition at line 32 of file asrc_sine.c.

Referenced by init().

double SineContext::beep_factor

Definition at line 33 of file asrc_sine.c.

Referenced by init().

int SineContext::samples_per_frame

Definition at line 34 of file asrc_sine.c.

Referenced by request_frame().

int SineContext::sample_rate

Definition at line 35 of file asrc_sine.c.

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

int64_t SineContext::duration

Definition at line 36 of file asrc_sine.c.

Referenced by config_props(), and request_frame().

int16_t* SineContext::sin

Definition at line 37 of file asrc_sine.c.

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

int64_t SineContext::pts

Definition at line 38 of file asrc_sine.c.

Referenced by request_frame().

uint32_t SineContext::phi

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

Definition at line 39 of file asrc_sine.c.

Referenced by request_frame().

uint32_t SineContext::dphi

phase increment between two samples

Definition at line 40 of file asrc_sine.c.

Referenced by init(), and request_frame().

unsigned SineContext::beep_period

Definition at line 41 of file asrc_sine.c.

Referenced by init(), and request_frame().

unsigned SineContext::beep_index

Definition at line 42 of file asrc_sine.c.

Referenced by request_frame().

unsigned SineContext::beep_length

Definition at line 43 of file asrc_sine.c.

Referenced by init(), and request_frame().

uint32_t SineContext::phi_beep

current phase of the beep

Definition at line 44 of file asrc_sine.c.

Referenced by request_frame().

uint32_t SineContext::dphi_beep

phase increment of the beep

Definition at line 45 of file asrc_sine.c.

Referenced by init(), and request_frame().


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