FFmpeg
Public Types | Data Fields
VideoState Struct Reference

Public Types

 

Data Fields

SDL_Thread *  read_tid
 
SDL_Thread *  video_tid
 
 
 
 
 
int  paused
 
int  last_paused
 
 
int  seek_req
 
int  seek_flags
 
int64_t  seek_pos
 
int64_t  seek_rel
 
 
 
int  realtime
 
 
 
 
 
 
int  audio_stream
 
int  av_sync_type
 
double  audio_clock
 
 
double  audio_diff_cum
 
 
 
 
 
 
 
 
 
 
unsigned int  audio_buf_size
 
unsigned int  audio_buf1_size
 
 
 
 
 
 
 
 
 
 
struct SwrContextswr_ctx
 
 
 
 
 
 
 
 
int  last_i_start
 
 
int  rdft_bits
 
 
int  xpos
 
double  last_vis_time
 
SDL_Thread *  subtitle_tid
 
 
 
 
 
int  subpq_size
 
int  subpq_rindex
 
int  subpq_windex
 
SDL_mutex *  subpq_mutex
 
SDL_cond *  subpq_cond
 
double  frame_timer
 
 
 
int  video_stream
 
 
 
int64_t  video_current_pos
 
 
 
int  pictq_size
 
int  pictq_rindex
 
int  pictq_windex
 
 
SDL_mutex *  pictq_mutex
 
SDL_cond *  pictq_cond
 
 
SDL_Rect  last_display_rect
 
char  filename [1024]
 
int  width
 
int  height
 
int  xleft
 
int  ytop
 
int  step
 
 
 
 
SDL_cond *  continue_read_thread
 

Detailed Description

Definition at line 169 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 229 of file ffplay.c.

Field Documentation

SDL_Thread* VideoState::read_tid

Definition at line 170 of file ffplay.c.

Referenced by stream_close(), and stream_open().

SDL_Thread* VideoState::video_tid

Definition at line 171 of file ffplay.c.

Referenced by stream_component_close(), and stream_component_open().

AVInputFormat* VideoState::iformat

Definition at line 172 of file ffplay.c.

Referenced by read_thread(), and stream_open().

int VideoState::no_background

Definition at line 173 of file ffplay.c.

int VideoState::abort_request

Definition at line 174 of file ffplay.c.

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

int VideoState::force_refresh

Definition at line 175 of file ffplay.c.

Referenced by event_loop(), refresh_loop_wait_event(), toggle_audio_display(), video_image_display(), and video_refresh().

int VideoState::paused

Definition at line 176 of file ffplay.c.

Referenced by audio_decode_frame(), read_thread(), refresh_loop_wait_event(), step_to_next_frame(), stream_toggle_pause(), subtitle_thread(), video_audio_display(), video_refresh(), and video_thread().

int VideoState::last_paused

Definition at line 177 of file ffplay.c.

Referenced by read_thread().

int VideoState::queue_attachments_req

Definition at line 178 of file ffplay.c.

Referenced by read_thread(), and stream_component_open().

int VideoState::seek_req

Definition at line 179 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

int VideoState::seek_flags

Definition at line 180 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

int64_t VideoState::seek_pos

Definition at line 181 of file ffplay.c.

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

int64_t VideoState::seek_rel

Definition at line 182 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

int VideoState::read_pause_return

Definition at line 183 of file ffplay.c.

Referenced by read_thread(), and stream_toggle_pause().

AVFormatContext* VideoState::ic

Definition at line 184 of file ffplay.c.

Referenced by event_loop(), get_video_frame(), read_thread(), seek_chapter(), stream_component_close(), stream_component_open(), stream_cycle_channel(), and video_thread().

int VideoState::realtime

Definition at line 185 of file ffplay.c.

Referenced by read_thread(), and video_refresh().

int VideoState::audio_finished

Definition at line 186 of file ffplay.c.

Referenced by audio_decode_frame(), and read_thread().

int VideoState::video_finished

Definition at line 187 of file ffplay.c.

Referenced by get_video_frame(), read_thread(), and video_thread().

Clock VideoState::audclk

Definition at line 189 of file ffplay.c.

Referenced by get_master_clock(), sdl_audio_callback(), stream_open(), stream_toggle_pause(), synchronize_audio(), and video_refresh().

Clock VideoState::vidclk

Definition at line 190 of file ffplay.c.

Referenced by compute_target_delay(), get_master_clock(), get_video_frame(), stream_open(), stream_toggle_pause(), update_video_pts(), and video_refresh().

Clock VideoState::extclk

Definition at line 191 of file ffplay.c.

Referenced by check_external_clock_speed(), get_master_clock(), read_thread(), sdl_audio_callback(), stream_open(), stream_toggle_pause(), and update_video_pts().

int VideoState::audio_stream

Definition at line 193 of file ffplay.c.

Referenced by check_external_clock_speed(), event_loop(), read_thread(), stream_component_close(), stream_component_open(), and stream_cycle_channel().

int VideoState::av_sync_type

Definition at line 195 of file ffplay.c.

Referenced by get_master_sync_type(), and stream_open().

double VideoState::audio_clock

Definition at line 197 of file ffplay.c.

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

int VideoState::audio_clock_serial

Definition at line 198 of file ffplay.c.

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

double VideoState::audio_diff_cum

Definition at line 199 of file ffplay.c.

Referenced by synchronize_audio().

double VideoState::audio_diff_avg_coef

Definition at line 200 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

double VideoState::audio_diff_threshold

Definition at line 201 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

int VideoState::audio_diff_avg_count

Definition at line 202 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

AVStream* VideoState::audio_st

Definition at line 203 of file ffplay.c.

Referenced by audio_decode_frame(), get_master_sync_type(), read_thread(), stream_component_close(), stream_component_open(), toggle_audio_display(), video_display(), and video_refresh().

PacketQueue VideoState::audioq

Definition at line 204 of file ffplay.c.

Referenced by audio_decode_frame(), check_external_clock_speed(), read_thread(), stream_close(), stream_component_close(), stream_component_open(), stream_open(), and video_refresh().

int VideoState::audio_hw_buf_size

Definition at line 205 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

uint8_t VideoState::silence_buf[SDL_AUDIO_MIN_BUFFER_SIZE]

Definition at line 206 of file ffplay.c.

Referenced by sdl_audio_callback().

uint8_t* VideoState::audio_buf

Definition at line 207 of file ffplay.c.

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

uint8_t* VideoState::audio_buf1

Definition at line 208 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

unsigned int VideoState::audio_buf_size

Definition at line 209 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

unsigned int VideoState::audio_buf1_size

Definition at line 210 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

int VideoState::audio_buf_index

Definition at line 211 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

int VideoState::audio_write_buf_size

Definition at line 212 of file ffplay.c.

Referenced by sdl_audio_callback(), and video_audio_display().

int VideoState::audio_buf_frames_pending

Definition at line 213 of file ffplay.c.

Referenced by audio_decode_frame().

AVPacket VideoState::audio_pkt_temp

Definition at line 214 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_open().

AVPacket VideoState::audio_pkt

Definition at line 215 of file ffplay.c.

Referenced by audio_decode_frame(), event_loop(), stream_component_close(), and stream_component_open().

int VideoState::audio_pkt_temp_serial

Definition at line 216 of file ffplay.c.

Referenced by audio_decode_frame().

int VideoState::audio_last_serial

Definition at line 217 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_open().

struct AudioParams VideoState::audio_src

Definition at line 218 of file ffplay.c.

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

struct AudioParams VideoState::audio_tgt

Definition at line 222 of file ffplay.c.

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

struct SwrContext* VideoState::swr_ctx

Definition at line 223 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

int VideoState::frame_drops_early

Definition at line 224 of file ffplay.c.

Referenced by get_video_frame(), and video_refresh().

int VideoState::frame_drops_late

Definition at line 225 of file ffplay.c.

Referenced by video_refresh().

AVFrame* VideoState::frame

Definition at line 226 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

int64_t VideoState::audio_frame_next_pts

Definition at line 227 of file ffplay.c.

Referenced by audio_decode_frame().

enum VideoState::ShowMode VideoState::show_mode

Referenced by event_loop(), read_thread(), refresh_loop_wait_event(), sdl_audio_callback(), toggle_audio_display(), video_audio_display(), video_display(), and video_refresh().

int16_t VideoState::sample_array[SAMPLE_ARRAY_SIZE]

Definition at line 232 of file ffplay.c.

Referenced by update_sample_display(), and video_audio_display().

int VideoState::sample_array_index

Definition at line 233 of file ffplay.c.

Referenced by update_sample_display(), and video_audio_display().

int VideoState::last_i_start

Definition at line 234 of file ffplay.c.

Referenced by video_audio_display().

RDFTContext* VideoState::rdft

Definition at line 235 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

int VideoState::rdft_bits

Definition at line 236 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

FFTSample* VideoState::rdft_data

Definition at line 237 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

int VideoState::xpos

Definition at line 238 of file ffplay.c.

Referenced by video_audio_display().

double VideoState::last_vis_time

Definition at line 239 of file ffplay.c.

Referenced by video_refresh().

SDL_Thread* VideoState::subtitle_tid

Definition at line 241 of file ffplay.c.

Referenced by stream_component_close(), and stream_component_open().

int VideoState::subtitle_stream

Definition at line 242 of file ffplay.c.

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

AVStream* VideoState::subtitle_st

Definition at line 243 of file ffplay.c.

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

PacketQueue VideoState::subtitleq

Definition at line 244 of file ffplay.c.

Referenced by read_thread(), stream_close(), stream_component_close(), stream_component_open(), stream_open(), subtitle_thread(), and video_refresh().

SubPicture VideoState::subpq[SUBPICTURE_QUEUE_SIZE]

Definition at line 245 of file ffplay.c.

Referenced by stream_close(), subtitle_thread(), video_image_display(), and video_refresh().

int VideoState::subpq_size

Definition at line 246 of file ffplay.c.

Referenced by subtitle_thread(), video_image_display(), and video_refresh().

int VideoState::subpq_rindex

Definition at line 246 of file ffplay.c.

Referenced by video_image_display(), and video_refresh().

int VideoState::subpq_windex

Definition at line 246 of file ffplay.c.

Referenced by subtitle_thread().

SDL_mutex* VideoState::subpq_mutex

Definition at line 247 of file ffplay.c.

Referenced by stream_close(), stream_component_close(), stream_open(), subtitle_thread(), and video_refresh().

SDL_cond* VideoState::subpq_cond

Definition at line 248 of file ffplay.c.

Referenced by stream_close(), stream_component_close(), stream_open(), subtitle_thread(), and video_refresh().

double VideoState::frame_timer

Definition at line 250 of file ffplay.c.

Referenced by stream_toggle_pause(), and video_refresh().

double VideoState::frame_last_returned_time

Definition at line 251 of file ffplay.c.

Referenced by video_thread().

double VideoState::frame_last_filter_delay

Definition at line 252 of file ffplay.c.

Referenced by get_video_frame(), and video_thread().

int VideoState::video_stream

Definition at line 253 of file ffplay.c.

Referenced by check_external_clock_speed(), event_loop(), read_thread(), stream_component_close(), stream_component_open(), and stream_cycle_channel().

AVStream* VideoState::video_st

Definition at line 254 of file ffplay.c.

Referenced by get_master_sync_type(), get_video_frame(), read_thread(), stream_component_close(), stream_component_open(), toggle_audio_display(), video_display(), video_refresh(), and video_thread().

PacketQueue VideoState::videoq

Definition at line 255 of file ffplay.c.

Referenced by check_external_clock_speed(), get_video_frame(), queue_picture(), read_thread(), stream_close(), stream_component_close(), stream_component_open(), stream_open(), video_refresh(), and video_thread().

int64_t VideoState::video_current_pos

Definition at line 256 of file ffplay.c.

Referenced by event_loop(), update_video_pts(), and video_refresh().

double VideoState::max_frame_duration

Definition at line 257 of file ffplay.c.

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

Definition at line 258 of file ffplay.c.

Referenced by alloc_picture(), queue_picture(), stream_close(), toggle_full_screen(), video_image_display(), and video_refresh().

int VideoState::pictq_size

Definition at line 259 of file ffplay.c.

Referenced by pictq_nb_remaining(), pictq_next_picture(), and queue_picture().

int VideoState::pictq_rindex

Definition at line 259 of file ffplay.c.

Referenced by pictq_next_picture(), video_image_display(), and video_refresh().

int VideoState::pictq_windex

Definition at line 259 of file ffplay.c.

Referenced by alloc_picture(), and queue_picture().

int VideoState::pictq_rindex_shown

Definition at line 259 of file ffplay.c.

Referenced by pictq_nb_remaining(), pictq_next_picture(), pictq_prev_picture(), video_image_display(), and video_refresh().

SDL_mutex* VideoState::pictq_mutex

Definition at line 260 of file ffplay.c.

Referenced by alloc_picture(), pictq_next_picture(), queue_picture(), stream_close(), stream_component_close(), stream_open(), and video_refresh().

SDL_cond* VideoState::pictq_cond

Definition at line 261 of file ffplay.c.

Referenced by alloc_picture(), pictq_next_picture(), queue_picture(), stream_close(), stream_component_close(), and stream_open().

struct SwsContext* VideoState::img_convert_ctx

Definition at line 263 of file ffplay.c.

Referenced by queue_picture(), and stream_close().

SDL_Rect VideoState::last_display_rect

Definition at line 265 of file ffplay.c.

Referenced by video_image_display().

char VideoState::filename[1024]

Definition at line 267 of file ffplay.c.

Referenced by read_thread(), and stream_open().

int VideoState::width

Definition at line 268 of file ffplay.c.

Referenced by event_loop(), toggle_audio_display(), video_audio_display(), video_image_display(), and video_open().

int VideoState::height

Definition at line 268 of file ffplay.c.

Referenced by event_loop(), toggle_audio_display(), video_audio_display(), video_image_display(), and video_open().

int VideoState::xleft

Definition at line 268 of file ffplay.c.

Referenced by stream_open(), toggle_audio_display(), video_audio_display(), and video_image_display().

int VideoState::ytop

Definition at line 268 of file ffplay.c.

Referenced by stream_open(), toggle_audio_display(), video_audio_display(), and video_image_display().

int VideoState::step

Definition at line 269 of file ffplay.c.

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

int VideoState::last_video_stream

Definition at line 280 of file ffplay.c.

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

int VideoState::last_audio_stream

Definition at line 280 of file ffplay.c.

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

int VideoState::last_subtitle_stream

Definition at line 280 of file ffplay.c.

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

SDL_cond* VideoState::continue_read_thread

Definition at line 282 of file ffplay.c.

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


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

Generated on Sun Sep 14 2014 18:56:46 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /