FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
 
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 viddec_width
 
int viddec_height
 
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 silence_buf [SDL_AUDIO_MIN_BUFFER_SIZE]
 
uint8_taudio_buf
 
uint8_taudio_buf1
 
unsigned int audio_buf_size
 
unsigned int audio_buf1_size
 
int audio_buf_index
 
int audio_write_buf_size
 
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
 
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
 
SDL_Rect last_display_rect
 
int eof
 
char filename [1024]
 
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 199 of file ffplay.c.

Member Enumeration Documentation

Enumerator
SHOW_MODE_NONE 
SHOW_MODE_VIDEO 
SHOW_MODE_WAVES 
SHOW_MODE_RDFT 
SHOW_MODE_NB 

Definition at line 259 of file ffplay.c.

Field Documentation

SDL_Thread* VideoState::read_tid

Definition at line 200 of file ffplay.c.

Referenced by stream_close(), and stream_open().

AVInputFormat* VideoState::iformat

Definition at line 201 of file ffplay.c.

Referenced by read_thread(), and stream_open().

int VideoState::abort_request

Definition at line 202 of file ffplay.c.

Referenced by decode_interrupt_cb(), queue_picture(), read_thread(), and stream_close().

int VideoState::force_refresh
int VideoState::paused
int VideoState::last_paused

Definition at line 205 of file ffplay.c.

Referenced by read_thread().

int VideoState::queue_attachments_req

Definition at line 206 of file ffplay.c.

Referenced by read_thread(), and stream_component_open().

int VideoState::seek_req

Definition at line 207 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

int VideoState::seek_flags

Definition at line 208 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

int64_t VideoState::seek_pos

Definition at line 209 of file ffplay.c.

Referenced by event_loop(), read_thread(), and stream_seek().

int64_t VideoState::seek_rel

Definition at line 210 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

int VideoState::read_pause_return

Definition at line 211 of file ffplay.c.

Referenced by read_thread(), and stream_toggle_pause().

AVFormatContext* VideoState::ic
int VideoState::realtime

Definition at line 213 of file ffplay.c.

Referenced by read_thread(), and video_refresh().

Clock VideoState::audclk
Clock VideoState::vidclk
Clock VideoState::extclk
FrameQueue VideoState::pictq
FrameQueue VideoState::subpq
FrameQueue VideoState::sampq
Decoder VideoState::auddec

Definition at line 223 of file ffplay.c.

Referenced by audio_thread(), read_thread(), stream_component_close(), and stream_component_open().

Decoder VideoState::viddec
Decoder VideoState::subdec

Definition at line 225 of file ffplay.c.

Referenced by stream_component_close(), stream_component_open(), and subtitle_thread().

int VideoState::viddec_width

Definition at line 227 of file ffplay.c.

Referenced by get_video_frame(), stream_component_open(), and subtitle_thread().

int VideoState::viddec_height

Definition at line 228 of file ffplay.c.

Referenced by get_video_frame(), stream_component_open(), and subtitle_thread().

int VideoState::audio_stream
int VideoState::av_sync_type

Definition at line 232 of file ffplay.c.

Referenced by get_master_sync_type(), and stream_open().

double VideoState::audio_clock

Definition at line 234 of file ffplay.c.

Referenced by audio_decode_frame(), sdl_audio_callback(), and synchronize_audio().

int VideoState::audio_clock_serial

Definition at line 235 of file ffplay.c.

Referenced by audio_decode_frame(), sdl_audio_callback(), and stream_open().

double VideoState::audio_diff_cum

Definition at line 236 of file ffplay.c.

Referenced by synchronize_audio().

double VideoState::audio_diff_avg_coef

Definition at line 237 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

double VideoState::audio_diff_threshold

Definition at line 238 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

int VideoState::audio_diff_avg_count

Definition at line 239 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

AVStream* VideoState::audio_st
PacketQueue VideoState::audioq
int VideoState::audio_hw_buf_size

Definition at line 242 of file ffplay.c.

Referenced by audio_decode_frame(), sdl_audio_callback(), and stream_component_open().

uint8_t VideoState::silence_buf[SDL_AUDIO_MIN_BUFFER_SIZE]

Definition at line 243 of file ffplay.c.

Referenced by sdl_audio_callback().

uint8_t* VideoState::audio_buf

Definition at line 244 of file ffplay.c.

Referenced by audio_decode_frame(), sdl_audio_callback(), and stream_component_close().

uint8_t* VideoState::audio_buf1

Definition at line 245 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

unsigned int VideoState::audio_buf_size

Definition at line 246 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

unsigned int VideoState::audio_buf1_size

Definition at line 247 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

int VideoState::audio_buf_index

Definition at line 248 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

int VideoState::audio_write_buf_size

Definition at line 249 of file ffplay.c.

Referenced by sdl_audio_callback(), and video_audio_display().

struct AudioParams VideoState::audio_src

Definition at line 250 of file ffplay.c.

Referenced by audio_decode_frame(), stream_component_open(), and synchronize_audio().

struct AudioParams VideoState::audio_tgt
struct SwrContext* VideoState::swr_ctx

Definition at line 255 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

int VideoState::frame_drops_early

Definition at line 256 of file ffplay.c.

Referenced by get_video_frame(), and video_refresh().

int VideoState::frame_drops_late

Definition at line 257 of file ffplay.c.

Referenced by video_refresh().

enum VideoState::ShowMode VideoState::show_mode
int16_t VideoState::sample_array[SAMPLE_ARRAY_SIZE]

Definition at line 262 of file ffplay.c.

Referenced by update_sample_display(), and video_audio_display().

int VideoState::sample_array_index

Definition at line 263 of file ffplay.c.

Referenced by update_sample_display(), and video_audio_display().

int VideoState::last_i_start

Definition at line 264 of file ffplay.c.

Referenced by video_audio_display().

RDFTContext* VideoState::rdft

Definition at line 265 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

int VideoState::rdft_bits

Definition at line 266 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

FFTSample* VideoState::rdft_data

Definition at line 267 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

int VideoState::xpos

Definition at line 268 of file ffplay.c.

Referenced by video_audio_display().

double VideoState::last_vis_time

Definition at line 269 of file ffplay.c.

Referenced by video_refresh().

int VideoState::subtitle_stream
AVStream* VideoState::subtitle_st
PacketQueue VideoState::subtitleq
double VideoState::frame_timer

Definition at line 275 of file ffplay.c.

Referenced by stream_toggle_pause(), and video_refresh().

double VideoState::frame_last_returned_time

Definition at line 276 of file ffplay.c.

Referenced by video_thread().

double VideoState::frame_last_filter_delay

Definition at line 277 of file ffplay.c.

Referenced by get_video_frame(), and video_thread().

int VideoState::video_stream
AVStream* VideoState::video_st
PacketQueue VideoState::videoq
double VideoState::max_frame_duration

Definition at line 281 of file ffplay.c.

Referenced by compute_target_delay(), read_thread(), and vp_duration().

struct SwsContext* VideoState::img_convert_ctx

Definition at line 283 of file ffplay.c.

Referenced by queue_picture(), and stream_close().

struct SwsContext* VideoState::sub_convert_ctx

Definition at line 285 of file ffplay.c.

Referenced by stream_close(), and subtitle_thread().

SDL_Rect VideoState::last_display_rect

Definition at line 286 of file ffplay.c.

Referenced by video_image_display().

int VideoState::eof

Definition at line 287 of file ffplay.c.

Referenced by read_thread(), and stream_component_open().

char VideoState::filename[1024]

Definition at line 289 of file ffplay.c.

Referenced by read_thread(), and stream_open().

int VideoState::width
int VideoState::height
int VideoState::xleft
int VideoState::ytop
int VideoState::step

Definition at line 291 of file ffplay.c.

Referenced by step_to_next_frame(), toggle_pause(), and video_refresh().

int VideoState::last_video_stream

Definition at line 302 of file ffplay.c.

Referenced by read_thread(), stream_component_open(), and stream_cycle_channel().

int VideoState::last_audio_stream

Definition at line 302 of file ffplay.c.

Referenced by read_thread(), stream_component_open(), and stream_cycle_channel().

int VideoState::last_subtitle_stream

Definition at line 302 of file ffplay.c.

Referenced by read_thread(), stream_component_open(), and stream_cycle_channel().

SDL_cond* VideoState::continue_read_thread

Definition at line 304 of file ffplay.c.

Referenced by read_thread(), stream_close(), stream_component_open(), stream_open(), and stream_seek().


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