FFmpeg
|
simple media player based on the FFmpeg libraries More...
#include "config.h"
#include <inttypes.h>
#include <math.h>
#include <limits.h>
#include <signal.h>
#include "libavutil/avstring.h"
#include "libavutil/colorspace.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/dict.h"
#include "libavutil/parseutils.h"
#include "libavutil/samplefmt.h"
#include "libavutil/avassert.h"
#include "libavutil/time.h"
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavutil/opt.h"
#include "libavcodec/avfft.h"
#include "libswresample/swresample.h"
#include <SDL.h>
#include <SDL_thread.h>
#include "cmdutils.h"
#include <assert.h>
#include "cmdutils_common_opts.h"
Go to the source code of this file.
Data Structures | |
struct | MyAVPacketList |
struct | PacketQueue |
struct | VideoPicture |
struct | SubPicture |
struct | AudioParams |
struct | VideoState |
Macros | |
#define | MAX_QUEUE_SIZE (15 * 1024 * 1024) |
#define | MIN_FRAMES 5 |
#define | SDL_AUDIO_BUFFER_SIZE 1024 |
#define | AV_SYNC_THRESHOLD 0.01 |
#define | AV_NOSYNC_THRESHOLD 10.0 |
#define | SAMPLE_CORRECTION_PERCENT_MAX 10 |
#define | EXTERNAL_CLOCK_SPEED_MIN 0.900 |
#define | EXTERNAL_CLOCK_SPEED_MAX 1.010 |
#define | EXTERNAL_CLOCK_SPEED_STEP 0.001 |
#define | AUDIO_DIFF_AVG_NB 20 |
#define | REFRESH_RATE 0.01 |
#define | SAMPLE_ARRAY_SIZE (8 * 65536) |
#define | CURSOR_HIDE_DELAY 1000000 |
#define | VIDEO_PICTURE_QUEUE_SIZE 4 |
#define | SUBPICTURE_QUEUE_SIZE 4 |
#define | FF_ALLOC_EVENT (SDL_USEREVENT) |
#define | FF_QUIT_EVENT (SDL_USEREVENT + 2) |
#define | ALPHA_BLEND(a, oldp, newp, s) ((((oldp << s) * (255 - (a))) + (newp * (a))) / (255 << s)) |
#define | RGBA_IN(r, g, b, a, s) |
#define | YUVA_IN(y, u, v, a, s, pal) |
#define | YUVA_OUT(d, y, u, v, a) |
#define | BPP 1 |
Enumerations | |
enum | { AV_SYNC_AUDIO_MASTER, AV_SYNC_VIDEO_MASTER, AV_SYNC_EXTERNAL_CLOCK } |
Functions | |
static int | packet_queue_put (PacketQueue *q, AVPacket *pkt) |
static int | packet_queue_put_private (PacketQueue *q, AVPacket *pkt) |
static void | packet_queue_init (PacketQueue *q) |
static void | packet_queue_flush (PacketQueue *q) |
static void | packet_queue_destroy (PacketQueue *q) |
static void | packet_queue_abort (PacketQueue *q) |
static void | packet_queue_start (PacketQueue *q) |
static int | packet_queue_get (PacketQueue *q, AVPacket *pkt, int block, int *serial) |
static void | fill_rectangle (SDL_Surface *screen, int x, int y, int w, int h, int color, int update) |
static void | fill_border (int xleft, int ytop, int width, int height, int x, int y, int w, int h, int color, int update) |
static void | blend_subrect (AVPicture *dst, const AVSubtitleRect *rect, int imgw, int imgh) |
static void | free_subpicture (SubPicture *sp) |
static void | calculate_display_rect (SDL_Rect *rect, int scr_xleft, int scr_ytop, int scr_width, int scr_height, VideoPicture *vp) |
static void | video_image_display (VideoState *is) |
static int | compute_mod (int a, int b) |
static void | video_audio_display (VideoState *s) |
static void | stream_close (VideoState *is) |
static void | do_exit (VideoState *is) |
static void | sigterm_handler (int sig) |
static int | video_open (VideoState *is, int force_set_video_mode, VideoPicture *vp) |
static void | video_display (VideoState *is) |
static double | get_audio_clock (VideoState *is) |
static double | get_video_clock (VideoState *is) |
static double | get_external_clock (VideoState *is) |
static int | get_master_sync_type (VideoState *is) |
static double | get_master_clock (VideoState *is) |
static void | update_external_clock_pts (VideoState *is, double pts) |
static void | check_external_clock_sync (VideoState *is, double pts) |
static void | update_external_clock_speed (VideoState *is, double speed) |
static void | check_external_clock_speed (VideoState *is) |
static void | stream_seek (VideoState *is, int64_t pos, int64_t rel, int seek_by_bytes) |
static void | stream_toggle_pause (VideoState *is) |
static void | toggle_pause (VideoState *is) |
static void | step_to_next_frame (VideoState *is) |
static double | compute_target_delay (double delay, VideoState *is) |
static void | pictq_next_picture (VideoState *is) |
static int | pictq_prev_picture (VideoState *is) |
static void | update_video_pts (VideoState *is, double pts, int64_t pos, int serial) |
static void | video_refresh (void *opaque, double *remaining_time) |
static void | alloc_picture (VideoState *is) |
static void | duplicate_right_border_pixels (SDL_Overlay *bmp) |
static int | queue_picture (VideoState *is, AVFrame *src_frame, double pts, int64_t pos, int serial) |
static int | get_video_frame (VideoState *is, AVFrame *frame, int64_t *pts, AVPacket *pkt, int *serial) |
static int | video_thread (void *arg) |
static int | subtitle_thread (void *arg) |
static void | update_sample_display (VideoState *is, short *samples, int samples_size) |
static int | synchronize_audio (VideoState *is, int nb_samples) |
static int | audio_decode_frame (VideoState *is) |
Decode one audio frame and return its uncompressed size. | |
static void | sdl_audio_callback (void *opaque, Uint8 *stream, int len) |
static int | audio_open (void *opaque, int64_t wanted_channel_layout, int wanted_nb_channels, int wanted_sample_rate, struct AudioParams *audio_hw_params) |
static int | stream_component_open (VideoState *is, int stream_index) |
static void | stream_component_close (VideoState *is, int stream_index) |
static int | decode_interrupt_cb (void *ctx) |
static int | is_realtime (AVFormatContext *s) |
static int | read_thread (void *arg) |
static VideoState * | stream_open (const char *filename, AVInputFormat *iformat) |
static void | stream_cycle_channel (VideoState *is, int codec_type) |
static void | toggle_full_screen (VideoState *is) |
static void | toggle_audio_display (VideoState *is) |
static void | refresh_loop_wait_event (VideoState *is, SDL_Event *event) |
static void | event_loop (VideoState *cur_stream) |
static int | opt_frame_size (void *optctx, const char *opt, const char *arg) |
static int | opt_width (void *optctx, const char *opt, const char *arg) |
static int | opt_height (void *optctx, const char *opt, const char *arg) |
static int | opt_format (void *optctx, const char *opt, const char *arg) |
static int | opt_frame_pix_fmt (void *optctx, const char *opt, const char *arg) |
static int | opt_sync (void *optctx, const char *opt, const char *arg) |
static int | opt_seek (void *optctx, const char *opt, const char *arg) |
static int | opt_duration (void *optctx, const char *opt, const char *arg) |
static int | opt_show_mode (void *optctx, const char *opt, const char *arg) |
static void | opt_input_file (void *optctx, const char *filename) |
static int | opt_codec (void *optctx, const char *opt, const char *arg) |
static void | show_usage (void) |
void | show_help_default (const char *opt, const char *arg) |
Per-fftool specific help handler. | |
static int | lockmgr (void **mtx, enum AVLockOp op) |
int | main (int argc, char **argv) |
Variables | |
const char | program_name [] = "ffplay" |
program name, defined by the program for show_version(). | |
const int | program_birth_year = 2003 |
program birth year, defined by the program for show_banner() | |
static int64_t | sws_flags = SWS_BICUBIC |
static AVInputFormat * | file_iformat |
static const char * | input_filename |
static const char * | window_title |
static int | fs_screen_width |
static int | fs_screen_height |
static int | default_width = 640 |
static int | default_height = 480 |
static int | screen_width = 0 |
static int | screen_height = 0 |
static int | audio_disable |
static int | video_disable |
static int | subtitle_disable |
static int | wanted_stream [AVMEDIA_TYPE_NB] |
static int | seek_by_bytes = -1 |
static int | display_disable |
static int | show_status = 1 |
static int | av_sync_type = AV_SYNC_AUDIO_MASTER |
static int64_t | start_time = AV_NOPTS_VALUE |
static int64_t | duration = AV_NOPTS_VALUE |
static int | workaround_bugs = 1 |
static int | fast = 0 |
static int | genpts = 0 |
static int | lowres = 0 |
static int | idct = FF_IDCT_AUTO |
static enum AVDiscard | skip_frame = AVDISCARD_DEFAULT |
static enum AVDiscard | skip_idct = AVDISCARD_DEFAULT |
static enum AVDiscard | skip_loop_filter = AVDISCARD_DEFAULT |
static int | error_concealment = 3 |
static int | decoder_reorder_pts = -1 |
static int | autoexit |
static int | exit_on_keydown |
static int | exit_on_mousedown |
static int | loop = 1 |
static int | framedrop = -1 |
static int | infinite_buffer = -1 |
static enum ShowMode | show_mode = SHOW_MODE_NONE |
static const char * | audio_codec_name |
static const char * | subtitle_codec_name |
static const char * | video_codec_name |
double | rdftspeed = 0.02 |
static int64_t | cursor_last_shown |
static int | cursor_hidden = 0 |
static int | is_full_screen |
static int64_t | audio_callback_time |
static AVPacket | flush_pkt |
static SDL_Surface * | screen |
static int | dummy |
static const OptionDef | options [] |
simple media player based on the FFmpeg libraries
Definition in file ffplay.c.
#define MAX_QUEUE_SIZE (15 * 1024 * 1024) |
Definition at line 66 of file ffplay.c.
Referenced by read_thread().
#define MIN_FRAMES 5 |
Definition at line 67 of file ffplay.c.
Referenced by check_external_clock_speed(), and read_thread().
#define SDL_AUDIO_BUFFER_SIZE 1024 |
Definition at line 71 of file ffplay.c.
Referenced by audio_open().
#define AV_SYNC_THRESHOLD 0.01 |
Definition at line 74 of file ffplay.c.
Referenced by compute_target_delay().
#define AV_NOSYNC_THRESHOLD 10.0 |
Definition at line 76 of file ffplay.c.
Referenced by check_external_clock_sync(), compute_target_delay(), get_video_frame(), synchronize_audio(), and video_thread().
#define SAMPLE_CORRECTION_PERCENT_MAX 10 |
Definition at line 79 of file ffplay.c.
Referenced by synchronize_audio().
#define EXTERNAL_CLOCK_SPEED_MIN 0.900 |
Definition at line 82 of file ffplay.c.
Referenced by check_external_clock_speed().
#define EXTERNAL_CLOCK_SPEED_MAX 1.010 |
Definition at line 83 of file ffplay.c.
Referenced by check_external_clock_speed().
#define EXTERNAL_CLOCK_SPEED_STEP 0.001 |
Definition at line 84 of file ffplay.c.
Referenced by check_external_clock_speed().
#define AUDIO_DIFF_AVG_NB 20 |
Definition at line 87 of file ffplay.c.
Referenced by stream_component_open(), and synchronize_audio().
#define REFRESH_RATE 0.01 |
Definition at line 90 of file ffplay.c.
Referenced by refresh_loop_wait_event().
#define SAMPLE_ARRAY_SIZE (8 * 65536) |
Definition at line 94 of file ffplay.c.
Referenced by update_sample_display(), and video_audio_display().
#define CURSOR_HIDE_DELAY 1000000 |
Definition at line 96 of file ffplay.c.
Referenced by refresh_loop_wait_event().
#define VIDEO_PICTURE_QUEUE_SIZE 4 |
Definition at line 116 of file ffplay.c.
Referenced by pictq_next_picture(), pictq_prev_picture(), queue_picture(), stream_close(), toggle_full_screen(), and video_refresh().
#define SUBPICTURE_QUEUE_SIZE 4 |
Definition at line 117 of file ffplay.c.
Referenced by subtitle_thread(), and video_refresh().
#define FF_ALLOC_EVENT (SDL_USEREVENT) |
Definition at line 325 of file ffplay.c.
Referenced by event_loop(), and queue_picture().
#define FF_QUIT_EVENT (SDL_USEREVENT + 2) |
Definition at line 326 of file ffplay.c.
Referenced by event_loop(), read_thread(), and video_thread().
#define ALPHA_BLEND | ( | a, | |
oldp, | |||
newp, | |||
s | |||
) | ((((oldp << s) * (255 - (a))) + (newp * (a))) / (255 << s)) |
Definition at line 517 of file ffplay.c.
Referenced by blend_subrect().
Definition at line 520 of file ffplay.c.
Referenced by subtitle_thread().
Definition at line 529 of file ffplay.c.
Referenced by blend_subrect().
#define BPP 1 |
Definition at line 544 of file ffplay.c.
Referenced by blend_subrect().
anonymous enum |
|
static |
Definition at line 360 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 332 of file ffplay.c.
Referenced by packet_queue_put(), and packet_queue_start().
|
static |
Definition at line 379 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 387 of file ffplay.c.
Referenced by packet_queue_destroy(), read_thread(), and stream_component_close().
|
static |
Definition at line 404 of file ffplay.c.
Referenced by stream_close().
|
static |
Definition at line 411 of file ffplay.c.
Referenced by stream_component_close().
|
static |
Definition at line 422 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 431 of file ffplay.c.
Referenced by audio_decode_frame(), get_video_frame(), and subtitle_thread().
|
inlinestatic |
Definition at line 468 of file ffplay.c.
Referenced by decode_cabac_luma_residual(), decode_cabac_residual_internal(), decode_cabac_residual_nondc(), decode_luma_residual(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), fill_border(), fill_decode_caches(), fill_filter_caches_inter(), h264_er_decode_mb(), hl_decode_mb(), hl_decode_mb_444(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_macroblock(), rv34_decode_intra_mb_header(), rv34_output_intra(), svq3_mc_dir(), toggle_audio_display(), video_audio_display(), write_back_motion(), and ZERO8x2().
|
static |
Definition at line 482 of file ffplay.c.
Referenced by video_image_display().
|
static |
Definition at line 546 of file ffplay.c.
Referenced by video_image_display().
|
static |
Definition at line 746 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 751 of file ffplay.c.
Referenced by video_image_display(), and video_open().
|
static |
Definition at line 780 of file ffplay.c.
Referenced by video_display().
|
inlinestatic |
Definition at line 826 of file ffplay.c.
Referenced by video_audio_display().
|
static |
Definition at line 831 of file ffplay.c.
Referenced by video_display().
|
static |
|
static |
Definition at line 1004 of file ffplay.c.
Referenced by alloc_picture(), event_loop(), main(), and video_open().
|
static |
|
static |
Definition at line 1028 of file ffplay.c.
Referenced by alloc_picture(), toggle_full_screen(), and video_display().
|
static |
Definition at line 1072 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1083 of file ffplay.c.
Referenced by get_master_clock(), synchronize_audio(), and video_refresh().
|
static |
Definition at line 1095 of file ffplay.c.
Referenced by compute_target_delay(), get_master_clock(), get_video_frame(), and video_refresh().
|
static |
Definition at line 1107 of file ffplay.c.
Referenced by check_external_clock_sync(), get_master_clock(), stream_toggle_pause(), and update_external_clock_speed().
|
static |
Definition at line 1117 of file ffplay.c.
Referenced by compute_target_delay(), get_master_clock(), get_video_frame(), synchronize_audio(), and video_refresh().
|
static |
Definition at line 1134 of file ffplay.c.
Referenced by compute_target_delay(), event_loop(), get_video_frame(), synchronize_audio(), and video_refresh().
|
static |
Definition at line 1152 of file ffplay.c.
Referenced by check_external_clock_sync(), read_thread(), stream_open(), stream_toggle_pause(), and update_external_clock_speed().
|
static |
Definition at line 1159 of file ffplay.c.
Referenced by sdl_audio_callback(), and update_video_pts().
|
static |
Definition at line 1166 of file ffplay.c.
Referenced by check_external_clock_speed(), and stream_open().
|
static |
Definition at line 1171 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1186 of file ffplay.c.
Referenced by event_loop(), and read_thread().
|
static |
Definition at line 1200 of file ffplay.c.
Referenced by step_to_next_frame(), toggle_pause(), and video_refresh().
|
static |
Definition at line 1213 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1219 of file ffplay.c.
Referenced by event_loop(), and read_thread().
|
static |
Definition at line 1227 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1255 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1266 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1285 of file ffplay.c.
Referenced by video_refresh().
Definition at line 1298 of file ffplay.c.
Referenced by refresh_loop_wait_event().
|
static |
Definition at line 1471 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1504 of file ffplay.c.
Referenced by queue_picture().
|
static |
Definition at line 1522 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 1640 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 1803 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 1948 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2019 of file ffplay.c.
Referenced by sdl_audio_callback().
|
static |
Definition at line 2039 of file ffplay.c.
Referenced by audio_decode_frame().
|
static |
Decode one audio frame and return its uncompressed size.
The processed audio frame is decoded, converted if required, and stored in is->audio_buf, with size in bytes given by the return value.
Definition at line 2087 of file ffplay.c.
Referenced by sdl_audio_callback().
Definition at line 2242 of file ffplay.c.
Referenced by audio_open().
|
static |
Definition at line 2282 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2337 of file ffplay.c.
Referenced by read_thread(), and stream_cycle_channel().
|
static |
Definition at line 2443 of file ffplay.c.
Referenced by read_thread(), and stream_cycle_channel().
|
static |
Definition at line 2528 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 2534 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 2551 of file ffplay.c.
Referenced by stream_open().
|
static |
|
static |
Definition at line 2873 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 2931 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 2943 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 2959 of file ffplay.c.
Referenced by event_loop().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void show_help_default | ( | const char * | opt, |
const char * | arg | ||
) |
Per-fftool specific help handler.
Implemented in each fftool, called by show_help().
const char program_name[] = "ffplay" |
program name, defined by the program for show_version().
const int program_birth_year = 2003 |
program birth year, defined by the program for show_banner()
|
static |
Definition at line 98 of file ffplay.c.
Referenced by queue_picture().
|
static |
Definition at line 269 of file ffplay.c.
Referenced by open_input_file().
|
static |
Definition at line 270 of file ffplay.c.
Referenced by main(), open_input_stream(), opt_input_file(), read_thread(), and video_open().
|
static |
Definition at line 271 of file ffplay.c.
Referenced by video_open().
|
static |
Definition at line 272 of file ffplay.c.
Referenced by main(), and video_open().
|
static |
Definition at line 273 of file ffplay.c.
Referenced by main(), and video_open().
|
static |
Definition at line 274 of file ffplay.c.
Referenced by video_open().
|
static |
Definition at line 275 of file ffplay.c.
Referenced by video_open().
|
static |
Definition at line 276 of file ffplay.c.
Referenced by event_loop(), opt_width(), and video_open().
|
static |
Definition at line 277 of file ffplay.c.
Referenced by event_loop(), opt_height(), and video_open().
|
static |
Definition at line 278 of file ffplay.c.
Referenced by main(), open_output_file(), and read_thread().
|
static |
Definition at line 279 of file ffplay.c.
Referenced by main(), open_output_file(), and read_thread().
|
static |
Definition at line 280 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 281 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 286 of file ffplay.c.
Referenced by event_loop(), and read_thread().
|
static |
Definition at line 287 of file ffplay.c.
Referenced by main(), and video_refresh().
|
static |
Definition at line 288 of file ffplay.c.
Referenced by do_exit(), read_thread(), and video_refresh().
|
static |
Definition at line 289 of file ffplay.c.
Referenced by opt_sync(), and stream_open().
|
static |
Definition at line 290 of file ffplay.c.
Referenced by add_fragment(), asf_read_stream_properties(), gxf_seek(), libAVFilter_Run(), main(), opt_seek(), put_image(), read_thread(), rm_read_header(), skeleton_header(), and update_stream_timings().
|
static |
Definition at line 291 of file ffplay.c.
Referenced by add_fragment(), append_entry(), asf_write_header1(), ass_decode_frame(), ass_read_header(), av_dump_format(), av_rescale_delta(), avformat_find_stream_info(), avpriv_vorbis_parse_frame(), bluray_open(), compute_pkt_fields(), dca_parse(), do_streamcopy(), do_video_out(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), ffm_read_packet(), find_duration(), hls_read_header(), hls_read_seek(), hls_window(), init(), ism_flush(), main(), microdvd_decode_frame(), mkv_write_ass_blocks(), mkv_write_packet_internal(), mkv_write_srt_blocks(), mov_flush_fragment(), mov_read_ctts(), mov_read_elst(), mov_read_stts(), mov_write_ctts_tag(), mov_write_edts_tag(), mov_write_stts_tag(), mov_write_tkhd_tag(), mpl2_read_header(), mpsub_read_header(), nsv_parse_NSVf_header(), oggvorbis_encode_frame(), opt_duration(), output_packet(), parse_file(), parse_playlist(), pjs_read_header(), qdm2_decode_fft_packets(), qdm2_fft_decode_tones(), qdm2_fft_init_coefficient(), read_braindead_odml_indx(), read_frame(), read_thread(), realtext_read_header(), rm_read_header(), rv10_write_header(), smjpeg_read_header(), srt_get_duration(), srt_read_header(), subviewer_read_header(), swr_next_pts(), theora_packet(), update_initial_durations(), update_stream_timings(), video_refresh(), vivo_read_header(), vorbis_packet(), wavesynth_decode(), and write_manifest().
|
static |
Definition at line 292 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 293 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 294 of file ffplay.c.
Referenced by av_read_frame(), and read_thread().
|
static |
Definition at line 295 of file ffplay.c.
Referenced by chroma_4mv_motion_lowres(), hpel_motion_lowres(), mpeg_decode_slice(), mpeg_motion_lowres(), MPV_motion_lowres(), and stream_component_open().
|
static |
Definition at line 296 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 297 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 298 of file ffplay.c.
Referenced by MPV_decode_mb_internal(), and stream_component_open().
|
static |
Definition at line 299 of file ffplay.c.
Referenced by stream_component_open(), and update_context_from_user().
|
static |
Definition at line 300 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 301 of file ffplay.c.
Referenced by get_video_frame().
|
static |
Definition at line 302 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 303 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 304 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 305 of file ffplay.c.
Referenced by img_read_seek(), and read_thread().
|
static |
Definition at line 306 of file ffplay.c.
Referenced by get_video_frame(), and video_refresh().
|
static |
Definition at line 307 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 308 of file ffplay.c.
Referenced by opt_show_mode(), and read_thread().
|
static |
Definition at line 309 of file ffplay.c.
Referenced by compute_status(), open_input_file(), opt_codec(), and stream_component_open().
|
static |
Definition at line 310 of file ffplay.c.
Referenced by open_input_file(), open_output_file(), opt_codec(), and stream_component_open().
|
static |
Definition at line 311 of file ffplay.c.
Referenced by compute_status(), open_input_file(), opt_codec(), and stream_component_open().
double rdftspeed = 0.02 |
Definition at line 312 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 313 of file ffplay.c.
Referenced by event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 314 of file ffplay.c.
Referenced by event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 320 of file ffplay.c.
Referenced by toggle_full_screen(), and video_open().
|
static |
Definition at line 321 of file ffplay.c.
Referenced by sdl_audio_callback(), and video_audio_display().
|
static |
Definition at line 323 of file ffplay.c.
Referenced by parse_packet().
|
static |
Definition at line 328 of file ffplay.c.
Referenced by alloc_picture(), event_loop(), fill_border(), toggle_audio_display(), video_audio_display(), video_display(), video_image_display(), video_open(), x11grab_draw_region_win(), x11grab_read_header(), x11grab_read_packet(), and x11grab_region_win_init().