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

Field Documentation

◆ class

const AVClass* ShowWavesContext::class

Definition at line 66 of file avf_showwaves.c.

◆ w

int ShowWavesContext::w

Definition at line 67 of file avf_showwaves.c.

Referenced by config_output().

◆ h

int ShowWavesContext::h

Definition at line 67 of file avf_showwaves.c.

Referenced by config_output().

◆ rate

AVRational ShowWavesContext::rate

Definition at line 68 of file avf_showwaves.c.

Referenced by config_output().

◆ colors

char* ShowWavesContext::colors

Definition at line 69 of file avf_showwaves.c.

Referenced by config_output().

◆ buf_idx

int ShowWavesContext::buf_idx

Definition at line 70 of file avf_showwaves.c.

Referenced by config_output(), and push_frame().

◆ buf_idy

int16_t* ShowWavesContext::buf_idy

Definition at line 71 of file avf_showwaves.c.

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

◆ outpicref

AVFrame* ShowWavesContext::outpicref

Definition at line 72 of file avf_showwaves.c.

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

◆ n

int ShowWavesContext::n

Definition at line 73 of file avf_showwaves.c.

Referenced by config_output().

◆ pixstep

int ShowWavesContext::pixstep

Definition at line 74 of file avf_showwaves.c.

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

◆ sample_count_mod

int ShowWavesContext::sample_count_mod

Definition at line 75 of file avf_showwaves.c.

◆ mode

int ShowWavesContext::mode

ShowWavesMode.

Definition at line 76 of file avf_showwaves.c.

Referenced by config_output(), and init().

◆ scale

int ShowWavesContext::scale

ShowWavesScale.

Definition at line 77 of file avf_showwaves.c.

Referenced by config_output().

◆ draw_mode

int ShowWavesContext::draw_mode

ShowWavesDrawMode.

Definition at line 78 of file avf_showwaves.c.

Referenced by config_output().

◆ split_channels

int ShowWavesContext::split_channels

Definition at line 79 of file avf_showwaves.c.

Referenced by config_output(), and push_single_pic().

◆ fg

uint8_t* ShowWavesContext::fg

Definition at line 80 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 82 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 83 of file avf_showwaves.c.

Referenced by config_output(), and push_single_pic().

◆ single_pic

int ShowWavesContext::single_pic

Definition at line 87 of file avf_showwaves.c.

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

◆ audio_frames

struct frame_node* ShowWavesContext::audio_frames

Definition at line 88 of file avf_showwaves.c.

Referenced by push_single_pic(), and uninit().

◆ last_frame

struct frame_node* ShowWavesContext::last_frame

Definition at line 89 of file avf_showwaves.c.

Referenced by uninit().

◆ total_samples

int64_t ShowWavesContext::total_samples

Definition at line 90 of file avf_showwaves.c.

Referenced by push_single_pic().

◆ sum

int64_t* ShowWavesContext::sum

Definition at line 91 of file avf_showwaves.c.

Referenced by push_single_pic(), and uninit().


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