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
 
int16_t * history
 
int history_nb_samples
 
int history_index
 
AVFrameoutpicref
 
AVRational n
 
AVRational q
 
AVRational c
 
int pixstep
 
int mode
 ShowWavesMode. More...
 
int scale
 ShowWavesScale. More...
 
int draw_mode
 ShowWavesDrawMode. More...
 
int split_channels
 
int filter_mode
 
uint8_t * fg
 
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_tsum
 

Detailed Description

Definition at line 74 of file avf_showwaves.c.

Field Documentation

◆ class

const AVClass* ShowWavesContext::class

Definition at line 75 of file avf_showwaves.c.

◆ w

int ShowWavesContext::w

Definition at line 76 of file avf_showwaves.c.

Referenced by config_output().

◆ h

int ShowWavesContext::h

Definition at line 76 of file avf_showwaves.c.

Referenced by config_output().

◆ rate

AVRational ShowWavesContext::rate

Definition at line 77 of file avf_showwaves.c.

Referenced by config_output().

◆ colors

char* ShowWavesContext::colors

Definition at line 78 of file avf_showwaves.c.

Referenced by config_output().

◆ buf_idx

int ShowWavesContext::buf_idx

Definition at line 79 of file avf_showwaves.c.

Referenced by config_output(), and push_frame().

◆ buf_idy

int16_t* ShowWavesContext::buf_idy

Definition at line 80 of file avf_showwaves.c.

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

◆ history

int16_t* ShowWavesContext::history

Definition at line 81 of file avf_showwaves.c.

Referenced by config_output(), and uninit().

◆ history_nb_samples

int ShowWavesContext::history_nb_samples

Definition at line 82 of file avf_showwaves.c.

Referenced by config_output().

◆ history_index

int ShowWavesContext::history_index

Definition at line 83 of file avf_showwaves.c.

◆ outpicref

AVFrame* ShowWavesContext::outpicref

Definition at line 84 of file avf_showwaves.c.

Referenced by alloc_out_frame(), push_frame(), push_single_pic(), request_frame(), and uninit().

◆ n

AVRational ShowWavesContext::n

Definition at line 85 of file avf_showwaves.c.

Referenced by config_output().

◆ q

AVRational ShowWavesContext::q

Definition at line 85 of file avf_showwaves.c.

Referenced by config_output().

◆ c

AVRational ShowWavesContext::c

Definition at line 85 of file avf_showwaves.c.

Referenced by config_output().

◆ pixstep

int ShowWavesContext::pixstep

Definition at line 86 of file avf_showwaves.c.

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

◆ mode

int ShowWavesContext::mode

ShowWavesMode.

Definition at line 87 of file avf_showwaves.c.

Referenced by config_output(), and init().

◆ scale

int ShowWavesContext::scale

ShowWavesScale.

Definition at line 88 of file avf_showwaves.c.

Referenced by config_output().

◆ draw_mode

int ShowWavesContext::draw_mode

ShowWavesDrawMode.

Definition at line 89 of file avf_showwaves.c.

Referenced by config_output().

◆ split_channels

int ShowWavesContext::split_channels

Definition at line 90 of file avf_showwaves.c.

Referenced by config_output(), and push_single_pic().

◆ filter_mode

int ShowWavesContext::filter_mode

Definition at line 91 of file avf_showwaves.c.

Referenced by push_single_pic().

◆ fg

uint8_t* ShowWavesContext::fg

Definition at line 92 of file avf_showwaves.c.

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

◆ get_h

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

Definition at line 94 of file avf_showwaves.c.

Referenced by config_output(), and push_single_pic().

◆ draw_sample

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 95 of file avf_showwaves.c.

Referenced by config_output(), and push_single_pic().

◆ single_pic

int ShowWavesContext::single_pic

Definition at line 99 of file avf_showwaves.c.

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

◆ audio_frames

struct frame_node* ShowWavesContext::audio_frames

Definition at line 100 of file avf_showwaves.c.

Referenced by push_single_pic(), and uninit().

◆ last_frame

struct frame_node* ShowWavesContext::last_frame

Definition at line 101 of file avf_showwaves.c.

Referenced by uninit().

◆ total_samples

int64_t ShowWavesContext::total_samples

Definition at line 102 of file avf_showwaves.c.

Referenced by push_single_pic().

◆ sum

int64_t* ShowWavesContext::sum

Definition at line 103 of file avf_showwaves.c.

Referenced by push_single_pic(), and uninit().


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