VideoState Struct Reference


Public Types


Data Fields

SDL_Thread * read_tid
SDL_Thread * video_tid
SDL_Thread * refresh_tid
int64_t seek_pos
int64_t seek_rel
double audio_clock
uint8_t audio_buf2 [AVCODEC_MAX_AUDIO_FRAME_SIZE *4]
uint8_t silence_buf [SDL_AUDIO_BUFFER_SIZE]
unsigned int audio_buf_size
struct SwrContext * swr_ctx
int16_t sample_array [SAMPLE_ARRAY_SIZE]
SDL_Thread * subtitle_tid
SubPicture subpq [SUBPICTURE_QUEUE_SIZE]
SDL_mutex * subpq_mutex
SDL_cond * subpq_cond
double frame_timer
double video_clock
pts of last decoded frame / predicted pts of next decoded frame
current displayed pts (different from video_clock if frame fifos are used)
video_current_pts - time (av_gettime) at which we updated video_current_pts - used to have running video pts
current displayed file pos
VideoPicture pictq [VIDEO_PICTURE_QUEUE_SIZE]
SDL_mutex * pictq_mutex
SDL_cond * pictq_cond
char filename [1024]

Detailed Description

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


Field Documentation

Definition at line 141 of file ffplay.c.

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

Definition at line 169 of file ffplay.c.

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

Definition at line 170 of file ffplay.c.

Referenced by stream_component_close().

uint8_t VideoState::audio_buf2[AVCODEC_MAX_AUDIO_FRAME_SIZE *4]

Definition at line 167 of file ffplay.c.

Referenced by audio_decode_frame().

Definition at line 172 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

Definition at line 171 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

Definition at line 159 of file ffplay.c.

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

Definition at line 179 of file ffplay.c.

Referenced by get_audio_clock(), and sdl_audio_callback().

Definition at line 180 of file ffplay.c.

Referenced by get_audio_clock(), and sdl_audio_callback().

Definition at line 161 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

Definition at line 163 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

Definition at line 160 of file ffplay.c.

Referenced by synchronize_audio().

Definition at line 162 of file ffplay.c.

Referenced by stream_component_open(), and synchronize_audio().

Definition at line 166 of file ffplay.c.

Referenced by sdl_audio_callback(), and stream_component_open().

Definition at line 175 of file ffplay.c.

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

Definition at line 174 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_open().

Definition at line 176 of file ffplay.c.

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

Definition at line 164 of file ffplay.c.

Referenced by audio_decode_frame(), compute_target_delay(), get_master_clock(), get_video_frame(), read_thread(), refresh_thread(), stream_component_close(), stream_component_open(), video_display(), and video_refresh().

Definition at line 153 of file ffplay.c.

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

Definition at line 177 of file ffplay.c.

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

Definition at line 173 of file ffplay.c.

Referenced by sdl_audio_callback(), and video_audio_display().

Definition at line 165 of file ffplay.c.

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

Definition at line 155 of file ffplay.c.

Referenced by compute_target_delay(), get_master_clock(), get_video_frame(), stream_open(), and synchronize_audio().

Definition at line 242 of file ffplay.c.

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

Definition at line 156 of file ffplay.c.

Referenced by get_external_clock().

Definition at line 157 of file ffplay.c.

Referenced by get_external_clock().

Definition at line 228 of file ffplay.c.

Referenced by read_thread(), and stream_open().

Definition at line 142 of file ffplay.c.

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

Definition at line 183 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

Definition at line 181 of file ffplay.c.

Referenced by get_video_frame(), and video_refresh().

Definition at line 182 of file ffplay.c.

Referenced by video_refresh().

Definition at line 212 of file ffplay.c.

Referenced by get_video_frame(), and video_refresh().

Definition at line 209 of file ffplay.c.

Referenced by get_video_frame(), and video_refresh().

Definition at line 208 of file ffplay.c.

Referenced by get_video_frame(), and video_refresh().

Definition at line 211 of file ffplay.c.

Referenced by get_video_frame(), and video_thread().

Definition at line 207 of file ffplay.c.

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

Definition at line 210 of file ffplay.c.

Referenced by video_thread().

Definition at line 206 of file ffplay.c.

Referenced by get_video_frame(), stream_toggle_pause(), and video_refresh().

Definition at line 229 of file ffplay.c.

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

Definition at line 151 of file ffplay.c.

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

Definition at line 139 of file ffplay.c.

Referenced by read_thread(), and stream_open().

Definition at line 225 of file ffplay.c.

Referenced by queue_picture(), and stream_close().

Definition at line 240 of file ffplay.c.

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

Definition at line 190 of file ffplay.c.

Referenced by video_audio_display().

Definition at line 144 of file ffplay.c.

Referenced by read_thread().

Definition at line 240 of file ffplay.c.

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

Definition at line 240 of file ffplay.c.

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

Definition at line 140 of file ffplay.c.

Definition at line 143 of file ffplay.c.

Referenced by audio_decode_frame(), get_audio_clock(), get_video_clock(), read_thread(), refresh_thread(), step_to_next_frame(), stream_toggle_pause(), subtitle_thread(), video_audio_display(), video_refresh(), and video_thread().

VideoPicture VideoState::pictq[VIDEO_PICTURE_QUEUE_SIZE]

Definition at line 220 of file ffplay.c.

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

Definition at line 223 of file ffplay.c.

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

Definition at line 222 of file ffplay.c.

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

Definition at line 221 of file ffplay.c.

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

Definition at line 221 of file ffplay.c.

Referenced by get_video_frame(), pictq_next_picture(), pictq_prev_picture(), queue_picture(), and video_refresh().

Definition at line 221 of file ffplay.c.

Referenced by alloc_picture(), and queue_picture().

Definition at line 145 of file ffplay.c.

Referenced by read_thread(), and stream_cycle_channel().

Definition at line 191 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

Definition at line 192 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

Definition at line 193 of file ffplay.c.

Referenced by stream_component_close(), and video_audio_display().

Definition at line 150 of file ffplay.c.

Referenced by read_thread(), and stream_toggle_pause().

SDL_Thread* VideoState::read_tid

Definition at line 136 of file ffplay.c.

Referenced by stream_close(), and stream_open().

Definition at line 239 of file ffplay.c.

Referenced by event_loop(), and refresh_thread().

Definition at line 138 of file ffplay.c.

Referenced by read_thread(), and stream_close().

int16_t VideoState::sample_array[SAMPLE_ARRAY_SIZE]

Definition at line 188 of file ffplay.c.

Referenced by update_sample_display(), and video_audio_display().

Definition at line 189 of file ffplay.c.

Referenced by update_sample_display(), and video_audio_display().

Definition at line 147 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

Definition at line 148 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

Definition at line 149 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

Definition at line 146 of file ffplay.c.

Referenced by read_thread(), and stream_seek().

Referenced by read_thread(), refresh_thread(), sdl_audio_callback(), toggle_audio_display(), video_audio_display(), and video_display().

uint8_t VideoState::silence_buf[SDL_AUDIO_BUFFER_SIZE]

Definition at line 168 of file ffplay.c.

Referenced by sdl_audio_callback().

Definition at line 230 of file ffplay.c.

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

SubPicture VideoState::subpq[SUBPICTURE_QUEUE_SIZE]

Definition at line 201 of file ffplay.c.

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

Definition at line 204 of file ffplay.c.

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

Definition at line 203 of file ffplay.c.

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

Definition at line 202 of file ffplay.c.

Referenced by video_image_display(), and video_refresh().

Definition at line 202 of file ffplay.c.

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

Definition at line 202 of file ffplay.c.

Referenced by subtitle_thread().

Definition at line 199 of file ffplay.c.

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

Definition at line 197 of file ffplay.c.

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

Definition at line 198 of file ffplay.c.

Referenced by stream_component_close(), and video_refresh().

Definition at line 196 of file ffplay.c.

Referenced by stream_component_close(), and stream_component_open().

Definition at line 200 of file ffplay.c.

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

Definition at line 178 of file ffplay.c.

Referenced by audio_decode_frame(), and stream_component_close().

pts of last decoded frame / predicted pts of next decoded frame

Definition at line 213 of file ffplay.c.

Referenced by queue_picture(), and synchronize_audio().

current displayed file pos

Definition at line 219 of file ffplay.c.

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

current displayed pts (different from video_clock if frame fifos are used)

Definition at line 217 of file ffplay.c.

Referenced by get_video_clock(), stream_toggle_pause(), update_video_pts(), and video_refresh().

video_current_pts - time (av_gettime) at which we updated video_current_pts - used to have running video pts

Definition at line 218 of file ffplay.c.

Referenced by get_video_clock(), stream_toggle_pause(), and update_video_pts().

Definition at line 215 of file ffplay.c.

Referenced by get_master_clock(), get_video_frame(), queue_picture(), stream_component_close(), stream_component_open(), synchronize_audio(), video_display(), video_refresh(), and video_thread().

Definition at line 214 of file ffplay.c.

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

SDL_Thread* VideoState::video_tid

Definition at line 137 of file ffplay.c.

Referenced by stream_component_close(), and stream_component_open().

Definition at line 216 of file ffplay.c.

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

Definition at line 229 of file ffplay.c.

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

Definition at line 229 of file ffplay.c.

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

Definition at line 194 of file ffplay.c.

Referenced by video_audio_display().

Definition at line 229 of file ffplay.c.

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


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

Generated on Fri Oct 26 02:50:17 2012 for FFmpeg by doxygen 1.5.8

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