FFmpeg
Data Fields
ShowWavesContext Struct Reference

Data Fields

const AVClassclass
 
int w
 
int h
 
AVRational rate
 
char * colors
 
int buf_idx
 
int16_t * buf_idy
 
AVFrameoutpicref
 
int n
 
int pixstep
 
int sample_count_mod
 
int mode
 ShowWavesMode. More...
 
int scale
 ShowWavesScale. More...
 
int draw_mode
 ShowWavesDrawMode. More...
 
int split_channels
 
int filter_mode
 
uint8_tfg
 
int(* get_h )(int16_t sample, int height)
 
void(* draw_sample )(uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h)
 
int single_pic
 
struct frame_nodeaudio_frames
 
struct frame_nodelast_frame
 
int64_t total_samples
 
int64_t * sum
 

Detailed Description

Definition at line 71 of file avf_showwaves.c.

Field Documentation

const AVClass* ShowWavesContext::class

Definition at line 72 of file avf_showwaves.c.

int ShowWavesContext::w

Definition at line 73 of file avf_showwaves.c.

Referenced by config_output(), and init().

int ShowWavesContext::h

Definition at line 73 of file avf_showwaves.c.

Referenced by config_output().

AVRational ShowWavesContext::rate

Definition at line 74 of file avf_showwaves.c.

Referenced by config_output().

char* ShowWavesContext::colors

Definition at line 75 of file avf_showwaves.c.

Referenced by config_output().

int ShowWavesContext::buf_idx

Definition at line 76 of file avf_showwaves.c.

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

int16_t* ShowWavesContext::buf_idy

Definition at line 77 of file avf_showwaves.c.

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

AVFrame* ShowWavesContext::outpicref
int ShowWavesContext::n

Definition at line 79 of file avf_showwaves.c.

Referenced by config_output(), and init().

int ShowWavesContext::pixstep

Definition at line 80 of file avf_showwaves.c.

Referenced by alloc_out_frame(), config_output(), init(), and push_single_pic().

int ShowWavesContext::sample_count_mod

Definition at line 81 of file avf_showwaves.c.

Referenced by init().

int ShowWavesContext::mode

ShowWavesMode.

Definition at line 82 of file avf_showwaves.c.

Referenced by config_output(), and init().

int ShowWavesContext::scale

ShowWavesScale.

Definition at line 83 of file avf_showwaves.c.

Referenced by config_output().

int ShowWavesContext::draw_mode

ShowWavesDrawMode.

Definition at line 84 of file avf_showwaves.c.

Referenced by config_output().

int ShowWavesContext::split_channels

Definition at line 85 of file avf_showwaves.c.

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

int ShowWavesContext::filter_mode

Definition at line 86 of file avf_showwaves.c.

Referenced by push_single_pic().

uint8_t* ShowWavesContext::fg

Definition at line 87 of file avf_showwaves.c.

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

int(* ShowWavesContext::get_h) (int16_t sample, int height)

Definition at line 89 of file avf_showwaves.c.

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

void(* ShowWavesContext::draw_sample) (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h)

Definition at line 90 of file avf_showwaves.c.

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

int ShowWavesContext::single_pic

Definition at line 94 of file avf_showwaves.c.

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

struct frame_node* ShowWavesContext::audio_frames

Definition at line 95 of file avf_showwaves.c.

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

struct frame_node* ShowWavesContext::last_frame

Definition at line 96 of file avf_showwaves.c.

Referenced by init(), and uninit().

int64_t ShowWavesContext::total_samples

Definition at line 97 of file avf_showwaves.c.

Referenced by init(), and push_single_pic().

int64_t* ShowWavesContext::sum

Definition at line 98 of file avf_showwaves.c.

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


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