FFmpeg
|
#include "config.h"
#include "config_components.h"
#include <math.h>
#include <limits.h>
#include <signal.h>
#include <stdint.h>
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/dict.h"
#include "libavutil/fifo.h"
#include "libavutil/samplefmt.h"
#include "libavutil/time.h"
#include "libavutil/bprint.h"
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavutil/opt.h"
#include "libavutil/tx.h"
#include "libswresample/swresample.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/buffersink.h"
#include "libavfilter/buffersrc.h"
#include <SDL.h>
#include <SDL_thread.h>
#include "cmdutils.h"
#include "ffplay_renderer.h"
#include "opt_common.h"
Go to the source code of this file.
Data Structures | |
struct | MyAVPacketList |
struct | PacketQueue |
struct | AudioParams |
struct | Clock |
struct | FrameData |
struct | Frame |
struct | FrameQueue |
struct | Decoder |
struct | VideoState |
struct | TextureFormatEntry |
Macros | |
#define | MAX_QUEUE_SIZE (15 * 1024 * 1024) |
#define | MIN_FRAMES 25 |
#define | EXTERNAL_CLOCK_MIN_FRAMES 2 |
#define | EXTERNAL_CLOCK_MAX_FRAMES 10 |
#define | SDL_AUDIO_MIN_BUFFER_SIZE 512 |
#define | SDL_AUDIO_MAX_CALLBACKS_PER_SEC 30 |
#define | SDL_VOLUME_STEP (0.75) |
#define | AV_SYNC_THRESHOLD_MIN 0.04 |
#define | AV_SYNC_THRESHOLD_MAX 0.1 |
#define | AV_SYNC_FRAMEDUP_THRESHOLD 0.1 |
#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 | USE_ONEPASS_SUBTITLE_RENDER 1 |
#define | VIDEO_PICTURE_QUEUE_SIZE 3 |
#define | SUBPICTURE_QUEUE_SIZE 16 |
#define | SAMPLE_QUEUE_SIZE 9 |
#define | FRAME_QUEUE_SIZE FFMAX(SAMPLE_QUEUE_SIZE, FFMAX(VIDEO_PICTURE_QUEUE_SIZE, SUBPICTURE_QUEUE_SIZE)) |
#define | FF_QUIT_EVENT (SDL_USEREVENT + 2) |
#define | INSERT_FILT(name, arg) |
Enumerations | |
enum | { AV_SYNC_AUDIO_MASTER, AV_SYNC_VIDEO_MASTER, AV_SYNC_EXTERNAL_CLOCK } |
Functions | |
static int | opt_add_vfilter (void *optctx, const char *opt, const char *arg) |
static int | cmp_audio_fmts (enum AVSampleFormat fmt1, int64_t channel_count1, enum AVSampleFormat fmt2, int64_t channel_count2) |
static int | packet_queue_put_private (PacketQueue *q, AVPacket *pkt) |
static int | packet_queue_put (PacketQueue *q, AVPacket *pkt) |
static int | packet_queue_put_nullpacket (PacketQueue *q, AVPacket *pkt, int stream_index) |
static int | 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 int | decoder_init (Decoder *d, AVCodecContext *avctx, PacketQueue *queue, SDL_cond *empty_queue_cond) |
static int | decoder_decode_frame (Decoder *d, AVFrame *frame, AVSubtitle *sub) |
static void | decoder_destroy (Decoder *d) |
static void | frame_queue_unref_item (Frame *vp) |
static int | frame_queue_init (FrameQueue *f, PacketQueue *pktq, int max_size, int keep_last) |
static void | frame_queue_destroy (FrameQueue *f) |
static void | frame_queue_signal (FrameQueue *f) |
static Frame * | frame_queue_peek (FrameQueue *f) |
static Frame * | frame_queue_peek_next (FrameQueue *f) |
static Frame * | frame_queue_peek_last (FrameQueue *f) |
static Frame * | frame_queue_peek_writable (FrameQueue *f) |
static Frame * | frame_queue_peek_readable (FrameQueue *f) |
static void | frame_queue_push (FrameQueue *f) |
static void | frame_queue_next (FrameQueue *f) |
static int | frame_queue_nb_remaining (FrameQueue *f) |
static int64_t | frame_queue_last_pos (FrameQueue *f) |
static void | decoder_abort (Decoder *d, FrameQueue *fq) |
static void | fill_rectangle (int x, int y, int w, int h) |
static int | realloc_texture (SDL_Texture **texture, Uint32 new_format, int new_width, int new_height, SDL_BlendMode blendmode, int init_texture) |
static void | calculate_display_rect (SDL_Rect *rect, int scr_xleft, int scr_ytop, int scr_width, int scr_height, int pic_width, int pic_height, AVRational pic_sar) |
static void | get_sdl_pix_fmt_and_blendmode (int format, Uint32 *sdl_pix_fmt, SDL_BlendMode *sdl_blendmode) |
static int | upload_texture (SDL_Texture **tex, AVFrame *frame) |
static void | set_sdl_yuv_conversion_mode (AVFrame *frame) |
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_component_close (VideoState *is, int stream_index) |
static void | stream_close (VideoState *is) |
static void | do_exit (VideoState *is) |
static void | sigterm_handler (int sig) |
static void | set_default_window_size (int width, int height, AVRational sar) |
static int | video_open (VideoState *is) |
static void | video_display (VideoState *is) |
static double | get_clock (Clock *c) |
static void | set_clock_at (Clock *c, double pts, int serial, double time) |
static void | set_clock (Clock *c, double pts, int serial) |
static void | set_clock_speed (Clock *c, double speed) |
static void | init_clock (Clock *c, int *queue_serial) |
static void | sync_clock_to_slave (Clock *c, Clock *slave) |
static int | get_master_sync_type (VideoState *is) |
static double | get_master_clock (VideoState *is) |
static void | check_external_clock_speed (VideoState *is) |
static void | stream_seek (VideoState *is, int64_t pos, int64_t rel, int by_bytes) |
static void | stream_toggle_pause (VideoState *is) |
static void | toggle_pause (VideoState *is) |
static void | toggle_mute (VideoState *is) |
static void | update_volume (VideoState *is, int sign, double step) |
static void | step_to_next_frame (VideoState *is) |
static double | compute_target_delay (double delay, VideoState *is) |
static double | vp_duration (VideoState *is, Frame *vp, Frame *nextvp) |
static void | update_video_pts (VideoState *is, double pts, int serial) |
static void | video_refresh (void *opaque, double *remaining_time) |
static int | queue_picture (VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t pos, int serial) |
static int | get_video_frame (VideoState *is, AVFrame *frame) |
static int | configure_filtergraph (AVFilterGraph *graph, const char *filtergraph, AVFilterContext *source_ctx, AVFilterContext *sink_ctx) |
static int | configure_video_filters (AVFilterGraph *graph, VideoState *is, const char *vfilters, AVFrame *frame) |
static int | configure_audio_filters (VideoState *is, const char *afilters, int force_output_format) |
static int | audio_thread (void *arg) |
static int | decoder_start (Decoder *d, int(*fn)(void *), const char *thread_name, void *arg) |
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. More... | |
static void | sdl_audio_callback (void *opaque, Uint8 *stream, int len) |
static int | audio_open (void *opaque, AVChannelLayout *wanted_channel_layout, int wanted_sample_rate, struct AudioParams *audio_hw_params) |
static int | create_hwaccel (AVBufferRef **device_ctx) |
static int | stream_component_open (VideoState *is, int stream_index) |
static int | decode_interrupt_cb (void *ctx) |
static int | stream_has_enough_packets (AVStream *st, int stream_id, PacketQueue *queue) |
static int | is_realtime (AVFormatContext *s) |
static int | read_thread (void *arg) |
static VideoState * | stream_open (const char *filename, const 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 | seek_chapter (VideoState *is, int incr) |
static void | event_loop (VideoState *cur_stream) |
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_sync (void *optctx, const char *opt, const char *arg) |
static int | opt_show_mode (void *optctx, const char *opt, const char *arg) |
static int | 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. More... | |
int | main (int argc, char **argv) |
Variables | |
const char | program_name [] = "ffplay" |
program name, defined by the program for show_version(). More... | |
const int | program_birth_year = 2003 |
program birth year, defined by the program for show_banner() More... | |
static const AVInputFormat * | file_iformat |
static const char * | input_filename |
static const char * | window_title |
static int | default_width = 640 |
static int | default_height = 480 |
static int | screen_width = 0 |
static int | screen_height = 0 |
static int | screen_left = SDL_WINDOWPOS_CENTERED |
static int | screen_top = SDL_WINDOWPOS_CENTERED |
static int | audio_disable |
static int | video_disable |
static int | subtitle_disable |
static const char * | wanted_stream_spec [AVMEDIA_TYPE_NB] = {0} |
static int | seek_by_bytes = -1 |
static float | seek_interval = 10 |
static int | display_disable |
static int | borderless |
static int | alwaysontop |
static int | startup_volume = 100 |
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 | fast = 0 |
static int | genpts = 0 |
static int | lowres = 0 |
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 const char ** | vfilters_list = NULL |
static int | nb_vfilters = 0 |
static char * | afilters = NULL |
static int | autorotate = 1 |
static int | find_stream_info = 1 |
static int | filter_nbthreads = 0 |
static int | enable_vulkan = 0 |
static char * | vulkan_params = NULL |
static const char * | hwaccel = NULL |
static int | is_full_screen |
static int64_t | audio_callback_time |
static SDL_Window * | window |
static SDL_Renderer * | renderer |
static SDL_RendererInfo | renderer_info = {0} |
static SDL_AudioDeviceID | audio_dev |
static VkRenderer * | vk_renderer |
static const struct TextureFormatEntry | sdl_texture_format_map [] |
static enum AVColorSpace | sdl_supported_color_spaces [] |
static int | dummy |
static const OptionDef | options [] |
simple media player based on the FFmpeg libraries
Definition in file ffplay.c.
#define FRAME_QUEUE_SIZE FFMAX(SAMPLE_QUEUE_SIZE, FFMAX(VIDEO_PICTURE_QUEUE_SIZE, SUBPICTURE_QUEUE_SIZE)) |
anonymous enum |
|
static |
|
inlinestatic |
Definition at line 407 of file ffplay.c.
Referenced by audio_thread().
|
static |
Definition at line 417 of file ffplay.c.
Referenced by packet_queue_put().
|
static |
Definition at line 440 of file ffplay.c.
Referenced by packet_queue_put_nullpacket(), and read_thread().
|
static |
Definition at line 462 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 469 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 489 of file ffplay.c.
Referenced by decoder_abort(), packet_queue_destroy(), and read_thread().
|
static |
Definition at line 503 of file ffplay.c.
Referenced by stream_close().
|
static |
Definition at line 511 of file ffplay.c.
Referenced by decoder_abort().
|
static |
Definition at line 522 of file ffplay.c.
Referenced by decoder_start().
|
static |
Definition at line 531 of file ffplay.c.
Referenced by decoder_decode_frame().
|
static |
Definition at line 565 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 578 of file ffplay.c.
Referenced by audio_thread(), get_video_frame(), and subtitle_thread().
|
static |
Definition at line 677 of file ffplay.c.
Referenced by stream_component_close().
|
static |
Definition at line 682 of file ffplay.c.
Referenced by frame_queue_destroy(), and frame_queue_next().
|
static |
Definition at line 688 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 709 of file ffplay.c.
Referenced by stream_close().
|
static |
Definition at line 721 of file ffplay.c.
Referenced by decoder_abort().
|
static |
Definition at line 728 of file ffplay.c.
Referenced by video_image_display(), and video_refresh().
|
static |
Definition at line 733 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 738 of file ffplay.c.
Referenced by video_image_display(), and video_refresh().
|
static |
Definition at line 743 of file ffplay.c.
Referenced by audio_thread(), queue_picture(), and subtitle_thread().
|
static |
Definition at line 759 of file ffplay.c.
Referenced by audio_decode_frame().
|
static |
Definition at line 775 of file ffplay.c.
Referenced by audio_thread(), queue_picture(), and subtitle_thread().
|
static |
Definition at line 785 of file ffplay.c.
Referenced by audio_decode_frame(), and video_refresh().
|
static |
Definition at line 801 of file ffplay.c.
Referenced by audio_decode_frame(), read_thread(), video_image_display(), and video_refresh().
|
static |
Definition at line 807 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 816 of file ffplay.c.
Referenced by stream_component_close().
|
inlinestatic |
Definition at line 825 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_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(), video_audio_display(), write_back_motion(), and ZERO8x2().
|
static |
Definition at line 836 of file ffplay.c.
Referenced by upload_texture(), video_audio_display(), and video_image_display().
|
static |
Definition at line 860 of file ffplay.c.
Referenced by set_default_window_size(), and video_image_display().
|
static |
Definition at line 887 of file ffplay.c.
Referenced by upload_texture().
|
static |
Definition at line 905 of file ffplay.c.
Referenced by video_image_display().
|
static |
Definition at line 945 of file ffplay.c.
Referenced by video_image_display().
|
static |
Definition at line 961 of file ffplay.c.
Referenced by video_display().
|
inlinestatic |
Definition at line 1051 of file ffplay.c.
Referenced by video_audio_display().
|
static |
Definition at line 1056 of file ffplay.c.
Referenced by video_display().
|
static |
Definition at line 1207 of file ffplay.c.
Referenced by stream_close(), and stream_cycle_channel().
|
static |
Definition at line 1265 of file ffplay.c.
Referenced by do_exit(), and stream_open().
|
static |
Definition at line 1301 of file ffplay.c.
Referenced by event_loop(), and main().
|
static |
|
static |
Definition at line 1333 of file ffplay.c.
Referenced by queue_picture(), and read_thread().
|
static |
Definition at line 1345 of file ffplay.c.
Referenced by video_display().
|
static |
Definition at line 1369 of file ffplay.c.
Referenced by video_refresh().
Definition at line 1383 of file ffplay.c.
Referenced by compute_target_delay(), get_master_clock(), set_clock_speed(), stream_toggle_pause(), sync_clock_to_slave(), synchronize_audio(), and video_refresh().
Definition at line 1395 of file ffplay.c.
Referenced by sdl_audio_callback(), and set_clock().
Definition at line 1403 of file ffplay.c.
Referenced by init_clock(), read_thread(), set_clock_speed(), stream_toggle_pause(), sync_clock_to_slave(), and update_video_pts().
Definition at line 1409 of file ffplay.c.
Referenced by check_external_clock_speed().
|
static |
Definition at line 1415 of file ffplay.c.
Referenced by stream_open().
Definition at line 1423 of file ffplay.c.
Referenced by sdl_audio_callback(), and update_video_pts().
|
static |
Definition at line 1431 of file ffplay.c.
Referenced by compute_target_delay(), get_master_clock(), get_video_frame(), synchronize_audio(), and video_refresh().
|
static |
Definition at line 1448 of file ffplay.c.
Referenced by compute_target_delay(), event_loop(), get_video_frame(), seek_chapter(), synchronize_audio(), and video_refresh().
|
static |
Definition at line 1466 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1481 of file ffplay.c.
Referenced by event_loop(), read_thread(), and seek_chapter().
|
static |
Definition at line 1495 of file ffplay.c.
Referenced by step_to_next_frame(), toggle_pause(), and video_refresh().
|
static |
Definition at line 1508 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1514 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1519 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1526 of file ffplay.c.
Referenced by event_loop(), and read_thread().
|
static |
Definition at line 1534 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1564 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1576 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 1584 of file ffplay.c.
Referenced by refresh_loop_wait_event().
|
static |
Definition at line 1751 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 1782 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 1815 of file ffplay.c.
Referenced by configure_audio_filters(), and configure_video_filters().
|
static |
Definition at line 1858 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 2004 of file ffplay.c.
Referenced by audio_thread(), and stream_component_open().
|
static |
Definition at line 2076 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2154 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2165 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2268 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2303 of file ffplay.c.
Referenced by sdl_audio_callback().
|
static |
Definition at line 2323 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 2371 of file ffplay.c.
Referenced by sdl_audio_callback().
|
static |
Definition at line 2481 of file ffplay.c.
Referenced by audio_open().
|
static |
Definition at line 2524 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2600 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2637 of file ffplay.c.
Referenced by read_thread(), and stream_cycle_channel().
|
static |
Definition at line 2797 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 2803 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 2810 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 2827 of file ffplay.c.
Referenced by stream_open().
|
static |
|
static |
Definition at line 3216 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 3295 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 3301 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 3313 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 3330 of file ffplay.c.
Referenced by event_loop().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3718 of file ffplay.c.
Referenced by main(), and show_help_default().
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().
Definition at line 61 of file ffplay.c.
Referenced by main(), and show_usage().
const int program_birth_year = 2003 |
program birth year, defined by the program for show_banner()
|
static |
Definition at line 305 of file ffplay.c.
Referenced by ifile_open(), main(), and opt_format().
|
static |
Definition at line 306 of file ffplay.c.
Referenced by do_exit(), main(), opt_input_file(), read_thread(), seek_test(), video_decode(), video_decode_example(), and video_open().
|
static |
Definition at line 307 of file ffplay.c.
Referenced by read_thread(), and video_open().
|
static |
Definition at line 308 of file ffplay.c.
Referenced by main(), set_default_window_size(), and video_open().
|
static |
Definition at line 309 of file ffplay.c.
Referenced by main(), set_default_window_size(), and video_open().
|
static |
Definition at line 310 of file ffplay.c.
Referenced by event_loop(), opt_width(), set_default_window_size(), and video_open().
|
static |
Definition at line 311 of file ffplay.c.
Referenced by event_loop(), opt_height(), set_default_window_size(), and video_open().
|
static |
Definition at line 312 of file ffplay.c.
Referenced by video_open().
|
static |
Definition at line 313 of file ffplay.c.
Referenced by video_open().
|
static |
Definition at line 314 of file ffplay.c.
Referenced by main(), map_manual(), and read_thread().
|
static |
Definition at line 315 of file ffplay.c.
Referenced by main(), map_manual(), and read_thread().
|
static |
Definition at line 316 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 317 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 318 of file ffplay.c.
Referenced by event_loop(), and read_thread().
|
static |
Definition at line 319 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 320 of file ffplay.c.
Referenced by main(), and video_refresh().
|
static |
Definition at line 323 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 324 of file ffplay.c.
Referenced by do_exit(), read_thread(), and video_refresh().
|
static |
Definition at line 325 of file ffplay.c.
Referenced by opt_sync(), and stream_open().
|
static |
Definition at line 326 of file ffplay.c.
Referenced by add_fragment(), adjust_frame_pts_to_encoder_tb(), asf_read_ext_stream_properties(), asf_read_stream_properties(), calc_next_seg_no_from_timelines(), copy_chapters(), decode(), ff_dshow_filter_Run(), get_concatdec_select(), get_segment_start_time_based_on_timeline(), gxf_seek(), ifile_open(), input_packet_process(), insert_trim(), main(), mov_build_index(), of_open(), of_streamcopy(), read_thread(), real_seek(), rm_read_header(), skeleton_header(), ts_fixup(), update_stream_timings(), and write_manifest().
|
static |
Definition at line 327 of file ffplay.c.
Referenced by queue_picture(), read_thread(), video_refresh(), video_thread(), and vp_duration().
|
static |
Definition at line 328 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 329 of file ffplay.c.
Referenced by av_read_frame(), and read_thread().
|
static |
Definition at line 330 of file ffplay.c.
Referenced by chroma_4mv_motion_lowres(), ff_mpeg4_decode_studio(), ff_update_block_index(), hpel_motion_lowres(), mjpeg_copy_block(), mpeg_decode_slice(), mpeg_motion_lowres(), MPV_motion_lowres(), and stream_component_open().
|
static |
Definition at line 331 of file ffplay.c.
Referenced by decoder_decode_frame().
|
static |
Definition at line 332 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 333 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 334 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 335 of file ffplay.c.
Referenced by filter_frame(), hevc_idct_dc_16x16_msa(), hevc_idct_dc_32x32_msa(), img_read_seek(), mov_parse_tiles(), read_header(), and read_thread().
|
static |
Definition at line 336 of file ffplay.c.
Referenced by get_video_frame(), and video_refresh().
|
static |
Definition at line 337 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 338 of file ffplay.c.
Referenced by opt_show_mode(), and read_thread().
|
static |
Definition at line 339 of file ffplay.c.
Referenced by do_exit(), ifile_open(), opt_codec(), and stream_component_open().
|
static |
Definition at line 340 of file ffplay.c.
Referenced by do_exit(), ifile_open(), map_auto_subtitle(), opt_codec(), and stream_component_open().
|
static |
Definition at line 341 of file ffplay.c.
Referenced by do_exit(), ifile_open(), opt_codec(), and stream_component_open().
double rdftspeed = 0.02 |
Definition at line 342 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 343 of file ffplay.c.
Referenced by event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 344 of file ffplay.c.
Referenced by event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 345 of file ffplay.c.
Referenced by do_exit(), opt_add_vfilter(), and video_thread().
|
static |
Definition at line 346 of file ffplay.c.
Referenced by do_exit(), event_loop(), and opt_add_vfilter().
|
static |
Definition at line 347 of file ffplay.c.
Referenced by audio_thread(), configure_audio_filters(), and stream_component_open().
|
static |
Definition at line 348 of file ffplay.c.
Referenced by configure_video_filters().
|
static |
Definition at line 349 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 350 of file ffplay.c.
Referenced by configure_audio_filters(), and video_thread().
|
static |
Definition at line 353 of file ffplay.c.
Referenced by create_hwaccel(), decode_frame(), ff_get_buffer(), ff_hwaccel_frame_priv_alloc(), ff_mjpeg_decode_sof(), hwaccel_init(), ist_add(), main(), update_context_from_thread(), vc1_decode_frame(), vp78_decode_frame(), and vp9_decode_frame().
|
static |
Definition at line 356 of file ffplay.c.
Referenced by toggle_full_screen(), and video_open().
|
static |
Definition at line 357 of file ffplay.c.
Referenced by audio_decode_frame(), sdl_audio_callback(), and video_audio_display().
|
static |
Definition at line 361 of file ffplay.c.
Referenced by apply_window(), backward_filter(), celt_autocorr(), checkasm_check_synth_filter(), clip_to_window(), do_exit(), do_hybrid_window(), ff_ebur128_init(), ff_kbd_window_init(), ff_kbd_window_init_fixed(), ff_mediacodec_surface_unref(), ff_mpa_synth_filter_TMPL(), ff_mpadsp_apply_window_TMPL(), ff_sine_window_init(), filter_channel(), generate_hann_window(), hdcd_integrate(), imdct_and_windowing_eld(), interpolation(), main(), mediacodec_jni_configure(), mediacodec_ndk_configure(), mpa_synth_init(), opus_fade(), predictor(), process_new(), process_old(), run_imdct(), sine_window_init_fixed(), synth_filter_fixed(), synth_filter_fixed_64(), synth_filter_float(), synth_filter_float_64(), toggle_full_screen(), video_open(), vk_renderer_create(), wmapro_window(), yae_align(), yae_reset(), and yae_xcorr_via_rdft().
|
static |
Definition at line 362 of file ffplay.c.
Referenced by do_exit(), fill_rectangle(), main(), realloc_texture(), video_audio_display(), video_display(), video_image_display(), vk_renderer_create(), vk_renderer_destroy(), vk_renderer_display(), vk_renderer_get_hw_dev(), and vk_renderer_resize().
|
static |
Definition at line 363 of file ffplay.c.
Referenced by configure_video_filters(), and main().
|
static |
Definition at line 364 of file ffplay.c.
Referenced by audio_open(), stream_component_close(), and stream_component_open().
|
static |
Definition at line 366 of file ffplay.c.
Referenced by configure_video_filters(), create_hwaccel(), do_exit(), event_loop(), main(), and video_image_display().
|
static |
Referenced by configure_video_filters(), and get_sdl_pix_fmt_and_blendmode().
|
static |
Definition at line 939 of file ffplay.c.
Referenced by configure_video_filters().
|
static |
Definition at line 3664 of file ffplay.c.
Referenced by main(), and show_help_default().