FFmpeg
Public Types | Data Fields
VideoState Struct Reference

Public Types

enum  ShowMode {
  SHOW_MODE_NONE = -1, SHOW_MODE_VIDEO = 0, SHOW_MODE_WAVES, SHOW_MODE_RDFT,
  SHOW_MODE_NB
}
 

Data Fields

SDL_Thread * read_tid
 
const AVInputFormatiformat
 
int abort_request
 
int force_refresh
 
int paused
 
int last_paused
 
int queue_attachments_req
 
int seek_req
 
int seek_flags
 
int64_t seek_pos
 
int64_t seek_rel
 
int read_pause_return
 
AVFormatContextic
 
int realtime
 
Clock audclk
 
Clock vidclk
 
Clock extclk
 
FrameQueue pictq
 
FrameQueue subpq
 
FrameQueue sampq
 
Decoder auddec
 
Decoder viddec
 
Decoder subdec
 
int audio_stream
 
int av_sync_type
 
double audio_clock
 
int audio_clock_serial
 
double audio_diff_cum
 
double audio_diff_avg_coef
 
double audio_diff_threshold
 
int audio_diff_avg_count
 
AVStreamaudio_st
 
PacketQueue audioq
 
int audio_hw_buf_size
 
uint8_t * audio_buf
 
uint8_t * audio_buf1
 
unsigned int audio_buf_size
 
unsigned int audio_buf1_size
 
int audio_buf_index
 
int audio_write_buf_size
 
int audio_volume
 
int muted
 
struct AudioParams audio_src
 
struct AudioParams audio_tgt
 
struct SwrContextswr_ctx
 
int frame_drops_early
 
int frame_drops_late
 
enum VideoState::ShowMode show_mode
 
int16_t sample_array [SAMPLE_ARRAY_SIZE]
 
int sample_array_index
 
int last_i_start
 
RDFTContextrdft
 
int rdft_bits
 
FFTSamplerdft_data
 
int xpos
 
double last_vis_time
 
SDL_Texture * vis_texture
 
SDL_Texture * sub_texture
 
SDL_Texture * vid_texture
 
int subtitle_stream
 
AVStreamsubtitle_st
 
PacketQueue subtitleq
 
double frame_timer
 
double frame_last_returned_time
 
double frame_last_filter_delay
 
int video_stream
 
AVStreamvideo_st
 
PacketQueue videoq
 
double max_frame_duration
 
struct SwsContextimg_convert_ctx
 
struct SwsContextsub_convert_ctx
 
int eof
 
char * filename
 
int width
 
int height
 
int xleft
 
int ytop
 
int step
 
int last_video_stream
 
int last_audio_stream
 
int last_subtitle_stream
 
SDL_cond * continue_read_thread
 

Detailed Description

Definition at line 202 of file ffplay.c.

Member Enumeration Documentation

◆ ShowMode

Enumerator
SHOW_MODE_NONE 
SHOW_MODE_VIDEO 
SHOW_MODE_WAVES 
SHOW_MODE_RDFT 
SHOW_MODE_NB 

Definition at line 260 of file ffplay.c.

Field Documentation

◆ read_tid

SDL_Thread* VideoState::read_tid

Definition at line 203 of file ffplay.c.

◆ iformat

const AVInputFormat* VideoState::iformat

Definition at line 204 of file ffplay.c.

◆ abort_request

int VideoState::abort_request

Definition at line 205 of file ffplay.c.

◆ force_refresh

int VideoState::force_refresh

Definition at line 206 of file ffplay.c.

Referenced by event_loop().

◆ paused

int VideoState::paused

Definition at line 207 of file ffplay.c.

◆ last_paused

int VideoState::last_paused

Definition at line 208 of file ffplay.c.

◆ queue_attachments_req

int VideoState::queue_attachments_req

Definition at line 209 of file ffplay.c.

◆ seek_req

int VideoState::seek_req

Definition at line 210 of file ffplay.c.

◆ seek_flags

int VideoState::seek_flags

Definition at line 211 of file ffplay.c.

◆ seek_pos

int64_t VideoState::seek_pos

Definition at line 212 of file ffplay.c.

Referenced by event_loop().

◆ seek_rel

int64_t VideoState::seek_rel

Definition at line 213 of file ffplay.c.

◆ read_pause_return

int VideoState::read_pause_return

Definition at line 214 of file ffplay.c.

◆ ic

AVFormatContext* VideoState::ic

Definition at line 215 of file ffplay.c.

Referenced by event_loop().

◆ realtime

int VideoState::realtime

Definition at line 216 of file ffplay.c.

◆ audclk

Clock VideoState::audclk

Definition at line 218 of file ffplay.c.

◆ vidclk

Clock VideoState::vidclk

Definition at line 219 of file ffplay.c.

◆ extclk

Clock VideoState::extclk

Definition at line 220 of file ffplay.c.

◆ pictq

FrameQueue VideoState::pictq

Definition at line 222 of file ffplay.c.

Referenced by event_loop().

◆ subpq

FrameQueue VideoState::subpq

Definition at line 223 of file ffplay.c.

◆ sampq

FrameQueue VideoState::sampq

Definition at line 224 of file ffplay.c.

Referenced by event_loop().

◆ auddec

Decoder VideoState::auddec

Definition at line 226 of file ffplay.c.

◆ viddec

Decoder VideoState::viddec

Definition at line 227 of file ffplay.c.

◆ subdec

Decoder VideoState::subdec

Definition at line 228 of file ffplay.c.

◆ audio_stream

int VideoState::audio_stream

Definition at line 230 of file ffplay.c.

◆ av_sync_type

int VideoState::av_sync_type

Definition at line 232 of file ffplay.c.

◆ audio_clock

double VideoState::audio_clock

Definition at line 234 of file ffplay.c.

◆ audio_clock_serial

int VideoState::audio_clock_serial

Definition at line 235 of file ffplay.c.

◆ audio_diff_cum

double VideoState::audio_diff_cum

Definition at line 236 of file ffplay.c.

◆ audio_diff_avg_coef

double VideoState::audio_diff_avg_coef

Definition at line 237 of file ffplay.c.

◆ audio_diff_threshold

double VideoState::audio_diff_threshold

Definition at line 238 of file ffplay.c.

◆ audio_diff_avg_count

int VideoState::audio_diff_avg_count

Definition at line 239 of file ffplay.c.

◆ audio_st

AVStream* VideoState::audio_st

Definition at line 240 of file ffplay.c.

◆ audioq

PacketQueue VideoState::audioq

Definition at line 241 of file ffplay.c.

◆ audio_hw_buf_size

int VideoState::audio_hw_buf_size

Definition at line 242 of file ffplay.c.

◆ audio_buf

uint8_t* VideoState::audio_buf

Definition at line 243 of file ffplay.c.

◆ audio_buf1

uint8_t* VideoState::audio_buf1

Definition at line 244 of file ffplay.c.

◆ audio_buf_size

unsigned int VideoState::audio_buf_size

Definition at line 245 of file ffplay.c.

◆ audio_buf1_size

unsigned int VideoState::audio_buf1_size

Definition at line 246 of file ffplay.c.

◆ audio_buf_index

int VideoState::audio_buf_index

Definition at line 247 of file ffplay.c.

◆ audio_write_buf_size

int VideoState::audio_write_buf_size

Definition at line 248 of file ffplay.c.

◆ audio_volume

int VideoState::audio_volume

Definition at line 249 of file ffplay.c.

◆ muted

int VideoState::muted

Definition at line 250 of file ffplay.c.

◆ audio_src

struct AudioParams VideoState::audio_src

Definition at line 251 of file ffplay.c.

◆ audio_tgt

struct AudioParams VideoState::audio_tgt

Definition at line 255 of file ffplay.c.

◆ swr_ctx

struct SwrContext* VideoState::swr_ctx

Definition at line 256 of file ffplay.c.

◆ frame_drops_early

int VideoState::frame_drops_early

Definition at line 257 of file ffplay.c.

◆ frame_drops_late

int VideoState::frame_drops_late

Definition at line 258 of file ffplay.c.

◆ show_mode

enum VideoState::ShowMode VideoState::show_mode

Referenced by event_loop().

◆ sample_array

int16_t VideoState::sample_array[SAMPLE_ARRAY_SIZE]

Definition at line 263 of file ffplay.c.

◆ sample_array_index

int VideoState::sample_array_index

Definition at line 264 of file ffplay.c.

◆ last_i_start

int VideoState::last_i_start

Definition at line 265 of file ffplay.c.

◆ rdft

RDFTContext* VideoState::rdft

Definition at line 266 of file ffplay.c.

◆ rdft_bits

int VideoState::rdft_bits

Definition at line 267 of file ffplay.c.

◆ rdft_data

FFTSample* VideoState::rdft_data

Definition at line 268 of file ffplay.c.

◆ xpos

int VideoState::xpos

Definition at line 269 of file ffplay.c.

◆ last_vis_time

double VideoState::last_vis_time

Definition at line 270 of file ffplay.c.

◆ vis_texture

SDL_Texture* VideoState::vis_texture

Definition at line 271 of file ffplay.c.

Referenced by event_loop().

◆ sub_texture

SDL_Texture* VideoState::sub_texture

Definition at line 272 of file ffplay.c.

◆ vid_texture

SDL_Texture* VideoState::vid_texture

Definition at line 273 of file ffplay.c.

◆ subtitle_stream

int VideoState::subtitle_stream

Definition at line 275 of file ffplay.c.

◆ subtitle_st

AVStream* VideoState::subtitle_st

Definition at line 276 of file ffplay.c.

◆ subtitleq

PacketQueue VideoState::subtitleq

Definition at line 277 of file ffplay.c.

◆ frame_timer

double VideoState::frame_timer

Definition at line 279 of file ffplay.c.

◆ frame_last_returned_time

double VideoState::frame_last_returned_time

Definition at line 280 of file ffplay.c.

◆ frame_last_filter_delay

double VideoState::frame_last_filter_delay

Definition at line 281 of file ffplay.c.

◆ video_stream

int VideoState::video_stream

Definition at line 282 of file ffplay.c.

◆ video_st

AVStream* VideoState::video_st

Definition at line 283 of file ffplay.c.

◆ videoq

PacketQueue VideoState::videoq

Definition at line 284 of file ffplay.c.

◆ max_frame_duration

double VideoState::max_frame_duration

Definition at line 285 of file ffplay.c.

◆ img_convert_ctx

struct SwsContext* VideoState::img_convert_ctx

Definition at line 286 of file ffplay.c.

◆ sub_convert_ctx

struct SwsContext* VideoState::sub_convert_ctx

Definition at line 287 of file ffplay.c.

◆ eof

int VideoState::eof

Definition at line 288 of file ffplay.c.

◆ filename

char* VideoState::filename

Definition at line 290 of file ffplay.c.

◆ width

int VideoState::width

Definition at line 291 of file ffplay.c.

Referenced by event_loop().

◆ height

int VideoState::height

Definition at line 291 of file ffplay.c.

Referenced by event_loop().

◆ xleft

int VideoState::xleft

Definition at line 291 of file ffplay.c.

◆ ytop

int VideoState::ytop

Definition at line 291 of file ffplay.c.

◆ step

int VideoState::step

Definition at line 292 of file ffplay.c.

◆ last_video_stream

int VideoState::last_video_stream

Definition at line 303 of file ffplay.c.

◆ last_audio_stream

int VideoState::last_audio_stream

Definition at line 303 of file ffplay.c.

◆ last_subtitle_stream

int VideoState::last_subtitle_stream

Definition at line 303 of file ffplay.c.

◆ continue_read_thread

SDL_cond* VideoState::continue_read_thread

Definition at line 305 of file ffplay.c.


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