|
FFmpeg
|
simple media player based on the FFmpeg libraries More...
#include "config.h"#include "config_components.h"#include <math.h>#include <limits.h>#include <signal.h>#include <stdint.h>#include "libavutil/attributes.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/parseutils.h"#include "libavutil/samplefmt.h"#include "libavutil/time.h"#include "libavutil/bprint.h"#include "libavcodec/bsf.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 | ChapterSortKey |
| struct | ChapterRow |
| struct | ChapterListHit |
| struct | MyAVPacketList |
| struct | PacketQueue |
| struct | AudioParams |
| struct | Clock |
| struct | FrameData |
| struct | Frame |
| struct | FrameQueue |
| struct | StreamGroup |
| struct | Stream |
| struct | FormatContext |
| struct | Decoder |
| struct | VideoState |
| struct | TextureFormatEntry |
| struct | ChapterListLayout |
Enumerations | |
| enum | { CHAPTER_SORT_NUMBER , CHAPTER_SORT_ARTIST , CHAPTER_SORT_TITLE , CHAPTER_SORT_LENGTH , CHAPTER_SORT_SHUFFLE , CHAPTER_SORT_NB } |
| 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 | draw_video_background (VideoState *is) |
| static int | current_chapter (VideoState *is) |
| static void | seek_chapter (VideoState *is, int i) |
| static double | chapter_list_alpha (VideoState *is, int64_t now) |
| static const char * | chapter_tag (const AVChapter *chapter, const char *key) |
| static int | compare_tags (const char *a, const char *b) |
| static uint32_t | shuffle_rank (int index) |
| static int | compare_chapter_rows (const void *a, const void *b) |
| static void | chapter_sort_by (int key, int seed_step) |
| static int | chapter_list_update_rows (VideoState *is) |
| static void | bprint_chapter_box (AVBPrint *script, const char *style, int x, int y, int w, int h) |
| static void | bprint_chapter_cell (AVBPrint *script, const char *style, int x, int y, int right, int bottom, const char *text) |
| static ChapterListLayout | chapter_list_layout (VideoState *is) |
| static ChapterListHit | chapter_list_hit (VideoState *is, const ChapterListLayout *l, int x, int y) |
| static void | bprint_chapter_ring (AVBPrint *script, int cx, int cy, int r) |
| static void | bprint_chapter_details (VideoState *is, AVBPrint *script, const ChapterListLayout *l) |
| static void | chapter_list_script (VideoState *is, AVBPrint *script) |
| static int | chapter_list_configure (VideoState *is, const char *script) |
| static int | chapter_list_render (VideoState *is) |
| static void | chapter_list_show (VideoState *is, int chapter) |
| static void | chapter_list_move (VideoState *is, int delta) |
| static int | chapter_list_visible (VideoState *is) |
| static void | chapter_list_search (VideoState *is, const char *typed) |
| static void | chapter_list_pin (VideoState *is, int pinned) |
| static void | chapter_list_key (VideoState *is, SDL_Keycode key) |
| static void | chapter_list_hover (VideoState *is, int x, int y) |
| static int | chapter_list_click (VideoState *is, int x, int y) |
| static void | chapter_list_draw (VideoState *is) |
| static void | video_image_display (VideoState *is) |
| static int | compute_mod (int a, int b) |
| static void | video_audio_display (VideoState *s) |
| static void | uninit_bsf_graph (AVFormatContext *ic, int stream_index) |
| 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. | |
| 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 | init_lcevc_graph (AVFormatContext *ic, int stream_index) |
| 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 | do_bsf_graph (AVFormatContext *ic, VideoState *is, Stream *sti, AVPacket *pkt) |
| static int | do_bsf_flush (AVFormatContext *ic, VideoState *is) |
| 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 | 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. | |
| 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 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 ChapterSortKey | chapter_sort [CHAPTER_SORT_NB] | |
| static int | chapter_shuffle_seed | |
| 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 char * | video_background = NULL | |
| static const char * | hwaccel = NULL | |
| static int | is_full_screen | |
| static int64_t | audio_callback_time | |
| static volatile sig_atomic_t | received_sigterm = 0 | |
| static volatile int | received_nb_signals = 0 | |
| static int | exit_status = 0 | |
| 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 enum AVAlphaMode | sdl_supported_alpha_modes [] | |
| struct { | ||
| const char * label | ||
| int width | ||
| } | sort_buttons [CHAPTER_SORT_NB] | |
| 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 67 of file ffplay.c.
Referenced by read_thread().
| #define MIN_FRAMES 25 |
Definition at line 68 of file ffplay.c.
Referenced by stream_has_enough_packets().
| #define EXTERNAL_CLOCK_MIN_FRAMES 2 |
Definition at line 69 of file ffplay.c.
Referenced by check_external_clock_speed().
| #define EXTERNAL_CLOCK_MAX_FRAMES 10 |
Definition at line 70 of file ffplay.c.
Referenced by check_external_clock_speed().
| #define SDL_AUDIO_MIN_BUFFER_SIZE 512 |
Definition at line 73 of file ffplay.c.
Referenced by audio_open(), and sdl_audio_callback().
| #define SDL_AUDIO_MAX_CALLBACKS_PER_SEC 30 |
Definition at line 75 of file ffplay.c.
Referenced by audio_open().
| #define SDL_VOLUME_STEP (0.75) |
Definition at line 78 of file ffplay.c.
Referenced by event_loop().
| #define AV_SYNC_THRESHOLD_MIN 0.04 |
Definition at line 81 of file ffplay.c.
Referenced by compute_target_delay().
| #define AV_SYNC_THRESHOLD_MAX 0.1 |
Definition at line 83 of file ffplay.c.
Referenced by compute_target_delay(), and video_refresh().
| #define AV_SYNC_FRAMEDUP_THRESHOLD 0.1 |
Definition at line 85 of file ffplay.c.
Referenced by compute_target_delay().
| #define AV_NOSYNC_THRESHOLD 10.0 |
Definition at line 87 of file ffplay.c.
Referenced by get_video_frame(), sync_clock_to_slave(), synchronize_audio(), and video_thread().
| #define SAMPLE_CORRECTION_PERCENT_MAX 10 |
Definition at line 90 of file ffplay.c.
Referenced by synchronize_audio().
| #define EXTERNAL_CLOCK_SPEED_MIN 0.900 |
Definition at line 93 of file ffplay.c.
Referenced by check_external_clock_speed().
| #define EXTERNAL_CLOCK_SPEED_MAX 1.010 |
Definition at line 94 of file ffplay.c.
Referenced by check_external_clock_speed().
| #define EXTERNAL_CLOCK_SPEED_STEP 0.001 |
Definition at line 95 of file ffplay.c.
Referenced by check_external_clock_speed().
| #define AUDIO_DIFF_AVG_NB 20 |
Definition at line 98 of file ffplay.c.
Referenced by stream_component_open(), and synchronize_audio().
| #define REFRESH_RATE 0.01 |
Definition at line 101 of file ffplay.c.
Referenced by refresh_loop_wait_event().
| #define SAMPLE_ARRAY_SIZE (8 * 65536) |
Definition at line 105 of file ffplay.c.
Referenced by update_sample_display(), and video_audio_display().
| #define CURSOR_HIDE_DELAY 1000000 |
Definition at line 107 of file ffplay.c.
Referenced by refresh_loop_wait_event().
| #define CHAPTER_LIST_FADE_TIME 250000 |
Definition at line 109 of file ffplay.c.
Referenced by chapter_list_alpha(), and chapter_list_show().
| #define CHAPTER_LIST_HOLD_TIME 500000 |
Definition at line 110 of file ffplay.c.
Referenced by chapter_list_alpha(), and chapter_list_pin().
| #define CHAPTER_LIST_ROWS 7 |
Definition at line 111 of file ffplay.c.
Referenced by chapter_list_layout().
| #define VIDEO_PICTURE_QUEUE_SIZE 3 |
Definition at line 160 of file ffplay.c.
Referenced by stream_open().
| #define SUBPICTURE_QUEUE_SIZE 16 |
Definition at line 161 of file ffplay.c.
Referenced by stream_open().
| #define SAMPLE_QUEUE_SIZE 9 |
Definition at line 162 of file ffplay.c.
Referenced by stream_open().
| #define FRAME_QUEUE_SIZE FFMAX(SAMPLE_QUEUE_SIZE, FFMAX(VIDEO_PICTURE_QUEUE_SIZE, SUBPICTURE_QUEUE_SIZE)) |
Definition at line 163 of file ffplay.c.
Referenced by frame_queue_init().
| #define FF_QUIT_EVENT (SDL_USEREVENT + 2) |
Definition at line 436 of file ffplay.c.
Referenced by event_loop(), read_thread(), and video_thread().
| #define CHAPTER_LIST_EVENT "Dialogue: 0:00:00.00,9999:00:00.00," |
Definition at line 1197 of file ffplay.c.
Referenced by bprint_chapter_box(), bprint_chapter_cell(), bprint_chapter_ring(), and chapter_list_script().
Referenced by configure_video_filters().
| anonymous enum |
| anonymous enum |
|
static |
|
inlinestatic |
Definition at line 488 of file ffplay.c.
Referenced by audio_thread().
|
static |
Definition at line 498 of file ffplay.c.
Referenced by packet_queue_put().
|
static |
Definition at line 521 of file ffplay.c.
Referenced by do_bsf_graph(), packet_queue_put_nullpacket(), and read_thread().
|
static |
Definition at line 543 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 550 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 570 of file ffplay.c.
Referenced by decoder_abort(), packet_queue_destroy(), and read_thread().
|
static |
Definition at line 584 of file ffplay.c.
Referenced by stream_close().
|
static |
Definition at line 592 of file ffplay.c.
Referenced by decoder_abort().
|
static |
Definition at line 603 of file ffplay.c.
Referenced by decoder_start().
|
static |
Definition at line 612 of file ffplay.c.
Referenced by decoder_decode_frame().
|
static |
Definition at line 646 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 659 of file ffplay.c.
Referenced by audio_thread(), get_video_frame(), and subtitle_thread().
|
static |
Definition at line 758 of file ffplay.c.
Referenced by stream_component_close().
|
static |
Definition at line 763 of file ffplay.c.
Referenced by frame_queue_destroy(), and frame_queue_next().
|
static |
Definition at line 769 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 790 of file ffplay.c.
Referenced by stream_close().
|
static |
Definition at line 802 of file ffplay.c.
Referenced by decoder_abort().
|
static |
Definition at line 809 of file ffplay.c.
Referenced by video_image_display(), and video_refresh().
|
static |
Definition at line 814 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 819 of file ffplay.c.
Referenced by video_image_display(), and video_refresh().
|
static |
Definition at line 824 of file ffplay.c.
Referenced by audio_thread(), queue_picture(), and subtitle_thread().
|
static |
Definition at line 840 of file ffplay.c.
Referenced by audio_decode_frame().
|
static |
Definition at line 856 of file ffplay.c.
Referenced by audio_thread(), queue_picture(), and subtitle_thread().
|
static |
Definition at line 866 of file ffplay.c.
Referenced by audio_decode_frame(), and video_refresh().
|
static |
Definition at line 882 of file ffplay.c.
Referenced by audio_decode_frame(), read_thread(), video_image_display(), and video_refresh().
|
static |
Definition at line 888 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 897 of file ffplay.c.
Referenced by stream_component_close().
|
inlinestatic |
Definition at line 906 of file ffplay.c.
Referenced by decode_cabac_luma_residual(), decode_cabac_residual_internal(), decode_cabac_residual_nondc(), decode_luma_residual(), draw_video_background(), 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 917 of file ffplay.c.
Referenced by chapter_list_render(), upload_texture(), video_audio_display(), and video_image_display().
|
static |
Definition at line 941 of file ffplay.c.
Referenced by set_default_window_size(), and video_image_display().
|
static |
Definition at line 968 of file ffplay.c.
Referenced by upload_texture().
|
static |
Definition at line 986 of file ffplay.c.
Referenced by video_image_display().
|
static |
Definition at line 1031 of file ffplay.c.
Referenced by video_image_display().
|
static |
Definition at line 1047 of file ffplay.c.
Referenced by video_image_display().
|
static |
Definition at line 4287 of file ffplay.c.
Referenced by chapter_list_key(), chapter_list_pin(), chapter_list_script(), event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 4300 of file ffplay.c.
Referenced by chapter_list_click(), chapter_list_key(), and event_loop().
|
static |
Definition at line 1086 of file ffplay.c.
Referenced by chapter_list_draw(), chapter_list_show(), chapter_list_visible(), and refresh_loop_wait_event().
|
static |
Definition at line 1097 of file ffplay.c.
Referenced by chapter_list_update_rows().
|
static |
Definition at line 1105 of file ffplay.c.
Referenced by compare_chapter_rows().
|
static |
Definition at line 1111 of file ffplay.c.
Referenced by compare_chapter_rows().
|
static |
Definition at line 1120 of file ffplay.c.
Referenced by chapter_list_update_rows().
|
static |
Definition at line 1142 of file ffplay.c.
Referenced by chapter_list_click().
|
static |
Definition at line 1159 of file ffplay.c.
Referenced by chapter_list_pin(), chapter_list_search(), and chapter_list_show().
|
static |
Definition at line 1199 of file ffplay.c.
Referenced by bprint_chapter_details(), and chapter_list_script().
|
static |
Definition at line 1205 of file ffplay.c.
Referenced by bprint_chapter_details(), and chapter_list_script().
|
static |
Definition at line 1220 of file ffplay.c.
Referenced by chapter_list_click(), chapter_list_hover(), and chapter_list_script().
|
static |
Definition at line 1260 of file ffplay.c.
Referenced by chapter_list_click(), chapter_list_hover(), and chapter_list_script().
|
static |
Definition at line 1283 of file ffplay.c.
Referenced by chapter_list_script().
|
static |
Definition at line 1294 of file ffplay.c.
Referenced by chapter_list_script().
|
static |
Definition at line 1315 of file ffplay.c.
Referenced by chapter_list_render().
|
static |
Definition at line 1388 of file ffplay.c.
Referenced by chapter_list_render().
|
static |
Definition at line 1423 of file ffplay.c.
Referenced by chapter_list_pin(), chapter_list_search(), chapter_list_show(), event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 1477 of file ffplay.c.
Referenced by chapter_list_click(), chapter_list_move(), chapter_list_pin(), and seek_chapter().
|
static |
Definition at line 1491 of file ffplay.c.
Referenced by chapter_list_key(), and event_loop().
|
static |
Definition at line 1497 of file ffplay.c.
Referenced by chapter_list_hover(), event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 1503 of file ffplay.c.
Referenced by chapter_list_key(), and event_loop().
|
static |
Definition at line 1519 of file ffplay.c.
Referenced by chapter_list_key(), and event_loop().
|
static |
Definition at line 1539 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1558 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1574 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 1590 of file ffplay.c.
Referenced by video_display().
|
static |
Definition at line 1601 of file ffplay.c.
Referenced by video_display().
|
inlinestatic |
Definition at line 1692 of file ffplay.c.
Referenced by video_audio_display().
|
static |
Definition at line 1697 of file ffplay.c.
Referenced by video_display().
|
static |
Definition at line 1848 of file ffplay.c.
Referenced by read_thread(), and stream_component_close().
|
static |
Definition at line 1873 of file ffplay.c.
Referenced by stream_close(), and stream_cycle_channel().
|
static |
Definition at line 1934 of file ffplay.c.
Referenced by do_exit(), and stream_open().
|
static |
Definition at line 1985 of file ffplay.c.
Referenced by curl_worker(), event_loop(), main(), and refresh_loop_wait_event().
|
static |
Definition at line 2019 of file ffplay.c.
Referenced by queue_picture(), and read_thread().
|
static |
Definition at line 2031 of file ffplay.c.
Referenced by video_display().
|
static |
Definition at line 2055 of file ffplay.c.
Referenced by video_refresh().
Definition at line 2070 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 2082 of file ffplay.c.
Referenced by sdl_audio_callback(), and set_clock().
Definition at line 2090 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 2096 of file ffplay.c.
Referenced by check_external_clock_speed().
|
static |
Definition at line 2102 of file ffplay.c.
Referenced by stream_open().
Definition at line 2110 of file ffplay.c.
Referenced by sdl_audio_callback(), and update_video_pts().
|
static |
Definition at line 2118 of file ffplay.c.
Referenced by compute_target_delay(), get_master_clock(), get_video_frame(), synchronize_audio(), and video_refresh().
|
static |
Definition at line 2135 of file ffplay.c.
Referenced by compute_target_delay(), current_chapter(), event_loop(), get_video_frame(), synchronize_audio(), and video_refresh().
|
static |
Definition at line 2153 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 2168 of file ffplay.c.
Referenced by event_loop(), libopenjpeg_encode_frame(), read_thread(), and seek_chapter().
|
static |
Definition at line 2182 of file ffplay.c.
Referenced by step_to_next_frame(), toggle_pause(), and video_refresh().
|
static |
Definition at line 2195 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 2201 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 2206 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 2213 of file ffplay.c.
Referenced by event_loop(), and read_thread().
|
static |
Definition at line 2221 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 2251 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 2263 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 2271 of file ffplay.c.
Referenced by refresh_loop_wait_event().
|
static |
Definition at line 2438 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 2469 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 2502 of file ffplay.c.
Referenced by configure_audio_filters(), and configure_video_filters().
|
static |
Definition at line 2545 of file ffplay.c.
Referenced by video_thread().
|
static |
Definition at line 2697 of file ffplay.c.
Referenced by audio_thread(), and stream_component_open().
|
static |
Definition at line 2769 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2847 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2858 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2961 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 2996 of file ffplay.c.
Referenced by sdl_audio_callback().
|
static |
Definition at line 3016 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 3064 of file ffplay.c.
Referenced by sdl_audio_callback().
|
static |
Definition at line 3174 of file ffplay.c.
Referenced by audio_open().
|
static |
Definition at line 3217 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 3293 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 3329 of file ffplay.c.
Referenced by read_thread(), and stream_component_open().
|
static |
Definition at line 3408 of file ffplay.c.
Referenced by read_thread(), and stream_cycle_channel().
|
static |
Definition at line 3579 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 3586 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 3602 of file ffplay.c.
Referenced by do_bsf_flush(), and read_thread().
|
static |
Definition at line 3636 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 3661 of file ffplay.c.
Referenced by stream_open().
|
static |
|
static |
Definition at line 4164 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 4243 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 4249 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 4261 of file ffplay.c.
Referenced by event_loop().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 4714 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().
| const int program_birth_year = 2003 |
program birth year, defined by the program for show_banner()
|
static |
Definition at line 377 of file ffplay.c.
Referenced by ifile_open(), main(), and opt_format().
|
static |
Definition at line 378 of file ffplay.c.
Referenced by do_exit(), dump_stream_meta(), main(), main(), opt_input_file(), opt_input_file(), read_thread(), seek_test(), video_decode(), video_decode_example(), and video_open().
|
static |
Definition at line 379 of file ffplay.c.
Referenced by read_thread(), and video_open().
|
static |
Definition at line 380 of file ffplay.c.
Referenced by main(), set_default_window_size(), and video_open().
|
static |
Definition at line 381 of file ffplay.c.
Referenced by main(), set_default_window_size(), and video_open().
|
static |
Definition at line 382 of file ffplay.c.
Referenced by event_loop(), opt_width(), set_default_window_size(), and video_open().
|
static |
Definition at line 383 of file ffplay.c.
Referenced by event_loop(), opt_height(), set_default_window_size(), and video_open().
|
static |
Definition at line 384 of file ffplay.c.
Referenced by video_open().
|
static |
Definition at line 385 of file ffplay.c.
Referenced by video_open().
|
static |
Definition at line 386 of file ffplay.c.
Referenced by main(), map_manual(), and read_thread().
|
static |
Definition at line 387 of file ffplay.c.
Referenced by main(), map_manual(), and read_thread().
|
static |
Definition at line 388 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 389 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 390 of file ffplay.c.
Referenced by event_loop(), and read_thread().
|
static |
Definition at line 391 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 392 of file ffplay.c.
Referenced by main(), and video_refresh().
|
static |
Definition at line 395 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 396 of file ffplay.c.
Referenced by do_exit(), read_thread(), and video_refresh().
|
static |
Definition at line 397 of file ffplay.c.
Referenced by opt_sync(), and stream_open().
|
static |
Definition at line 398 of file ffplay.c.
Referenced by add_file_chapters(), add_fragment(), 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 399 of file ffplay.c.
Referenced by activate(), activate(), add_fragment(), add_fragment(), add_segment(), add_tts_entry(), aix_read_packet(), alloc_and_insert_node(), aom_encode(), asf_write_header1(), ass_read_header(), audio_frame(), av_dump_format(), av_get_audio_frame_duration(), AVCodecParameters::av_get_audio_frame_duration2(), av_parse_time(), av_rescale_delta(), av_vorbis_parse_frame_flags(), binka_read_packet(), bluray_open(), calculate_bitrate(), check_pkt(), compute_pkt_fields(), dash_flush(), dash_seek(), dca_parse(), dca_parse_params(), dtshd_read_header(), enc_stats_write(), estimate_timings_from_pts(), ff_celt_bitalloc(), ff_hls_write_file_entry(), ff_mov_generate_squashed_ttml_packet(), ff_mov_write_packet(), ff_rfps_add_frame(), ff_samples_from_time_base(), ff_voc_get_packet(), ff_write_chained(), fifo_overflow_drop_test(), filter(), filter_frame(), filter_frame(), find_duration(), get_concatdec_select(), get_duration(), get_duration_insec(), get_metadata_duration(), get_pts(), gif_read_header(), handle_eac3(), hls_append_segment(), hls_delete_old_segments(), hls_read_header(), hls_read_seek(), hls_window(), init_fps(), insert_trim(), ism_flush(), laf_read_header(), libvorbis_encode_frame(), load_metadata(), main(), main(), mf_sample_get_duration(), mkv_add_cuepoint(), mkv_write_block(), mkv_write_default_duration(), mkv_write_packet_internal(), mov_finalize_packet(), mov_mdhd_mvhd_tkhd_version(), mov_read_ctts(), mov_read_custom(), mov_read_packet(), mov_read_sidx(), mov_read_stts(), mov_update_dts_shift(), mov_update_sample_durations(), mov_write_edts_tag(), mov_write_mdhd_tag(), mov_write_sidx_tag(), mov_write_stts_tag(), mov_write_tkhd_tag(), mpl2_read_header(), mpsub_read_header(), mux_fixup_ts(), mux_frames(), mux_id3(), next_duration(), nsv_parse_NSVf_header(), opus_get_packet_samples(), opus_packet(), opus_parse_packet(), param_parse(), parameter_block_obu(), parse_file(), parse_fragment(), parse_frame_header(), parse_playlist(), pjs_read_header(), put_payload_parsing_info(), qdm2_decode_fft_packets(), qdm2_fft_decode_tones(), qdm2_fft_init_coefficient(), qoa_read_packet(), quant_band_template(), QUANT_FN(), QUANT_FN(), queue_picture(), read_dialogue(), read_frame(), read_frame_internal(), read_header_gme(), read_odml_index(), read_tfra(), read_thread(), read_ts(), read_ts(), read_ts(), read_ts(), read_xing_toc(), realtext_read_header(), rm_read_header(), run_transcription(), rv10_write_header(), sls_flags_filename_process(), smjpeg_read_header(), stl_read_header(), subviewer_read_header(), swr_next_pts(), theora_packet(), ts_fixup(), update_initial_durations(), update_stream_timings(), video_refresh(), video_sync_process(), video_thread(), vivo_read_header(), vivo_read_packet(), vorbis_packet(), vp8_packet(), vp_duration(), vpx_encode(), wavesynth_decode(), webp_anim_read_packet(), write_hls_media_playlist(), write_manifest(), write_manifest(), and xma_parse().
|
static |
Definition at line 400 of file ffplay.c.
Referenced by stream_component_open().
|
static |
Definition at line 401 of file ffplay.c.
Referenced by av_read_frame(), and read_thread().
|
static |
Definition at line 402 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 403 of file ffplay.c.
Referenced by decoder_decode_frame().
|
static |
Definition at line 404 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 405 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 406 of file ffplay.c.
Referenced by event_loop().
|
static |
Definition at line 407 of file ffplay.c.
Referenced by codec4_load_tiles(), curl_dispatch(), curl_loop_create(), curl_loop_destroy(), curl_worker(), execute_command(), ff_curl_loop_free(), filter_frame(), filter_frame(), hevc_idct_dc_16x16_msa(), hevc_idct_dc_32x32_msa(), img_read_seek(), mov_parse_tiles(), print_statistics(), read_header(), read_thread(), and update_statistics().
|
static |
Definition at line 408 of file ffplay.c.
Referenced by get_video_frame(), and video_refresh().
|
static |
Definition at line 409 of file ffplay.c.
Referenced by read_thread().
|
static |
Definition at line 410 of file ffplay.c.
Referenced by opt_show_mode(), and read_thread().
|
static |
Definition at line 412 of file ffplay.c.
Referenced by chapter_list_script(), chapter_sort_by(), and compare_chapter_rows().
|
static |
Definition at line 414 of file ffplay.c.
Referenced by chapter_list_script(), chapter_sort_by(), and shuffle_rank().
|
static |
Definition at line 415 of file ffplay.c.
Referenced by do_exit(), ifile_open(), opt_codec(), opt_codec(), probe_file(), and stream_component_open().
|
static |
Definition at line 416 of file ffplay.c.
Referenced by do_exit(), ifile_open(), map_auto_subtitle(), opt_codec(), opt_codec(), probe_file(), and stream_component_open().
|
static |
Definition at line 417 of file ffplay.c.
Referenced by do_exit(), ifile_open(), opt_codec(), opt_codec(), probe_file(), and stream_component_open().
| double rdftspeed = 0.02 |
Definition at line 418 of file ffplay.c.
Referenced by video_refresh().
|
static |
Definition at line 419 of file ffplay.c.
Referenced by event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 420 of file ffplay.c.
Referenced by event_loop(), and refresh_loop_wait_event().
|
static |
Definition at line 421 of file ffplay.c.
Referenced by do_exit(), opt_add_vfilter(), and video_thread().
|
static |
Definition at line 422 of file ffplay.c.
Referenced by do_exit(), event_loop(), and opt_add_vfilter().
|
static |
Definition at line 423 of file ffplay.c.
Referenced by audio_thread(), configure_audio_filters(), and stream_component_open().
|
static |
Definition at line 424 of file ffplay.c.
Referenced by configure_video_filters(), and istg_parse_tile_grid().
|
static |
Definition at line 425 of file ffplay.c.
Referenced by open_input_file(), and read_thread().
|
static |
Definition at line 429 of file ffplay.c.
Referenced by stream_open().
|
static |
Definition at line 430 of file ffplay.c.
Referenced by apv_decode(), create_hwaccel(), decode_frame(), decode_frame(), decode_frame(), 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 433 of file ffplay.c.
Referenced by toggle_full_screen(), and video_open().
|
static |
Definition at line 434 of file ffplay.c.
Referenced by audio_decode_frame(), sdl_audio_callback(), and video_audio_display().
|
static |
Definition at line 440 of file ffplay.c.
Referenced by do_exit(), and refresh_loop_wait_event().
|
static |
Definition at line 442 of file ffplay.c.
Referenced by apply_window(), apply_window(), 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_fixed(), ff_mpa_synth_filter_float(), ff_mpa_synth_filter_TMPL(), ff_mpadsp_apply_window_fixed(), ff_mpadsp_apply_window_fixed_armv6(), ff_mpadsp_apply_window_fixed_neon(), ff_mpadsp_apply_window_float(), ff_mpadsp_apply_window_float_neon(), ff_mpadsp_apply_window_TMPL(), ff_sine_window_init(), ff_synth_filter_float_neon(), ff_synth_filter_float_vfp(), filter_channel(), filter_channel(), generate_hann_window(), generate_hann_window(), hdcd_integrate(), hybrid_window(), imdct_and_windowing_eld(), init_tables(), interpolation(), main(), mediacodec_jni_configure(), mediacodec_ndk_configure(), mpa_synth_init(), oh_decode_set_format(), opus_fade(), predictor(), process_new(), process_old(), read_window(), run_imdct(), sine_window_init_fixed(), synth_filter_fixed(), synth_filter_fixed_64(), synth_filter_float(), synth_filter_float_64(), toggle_full_screen(), transform(), video_open(), vk_renderer_create(), wmapro_window(), yae_align(), yae_reset(), and yae_xcorr_via_rdft().
|
static |
Definition at line 443 of file ffplay.c.
Referenced by chapter_list_draw(), chapter_list_pin(), chapter_list_show(), do_exit(), draw_video_background(), 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 444 of file ffplay.c.
Referenced by configure_video_filters(), and main().
|
static |
Definition at line 445 of file ffplay.c.
Referenced by audio_open(), stream_component_close(), and stream_component_open().
|
static |
Definition at line 447 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 1020 of file ffplay.c.
Referenced by configure_video_filters().
|
static |
Definition at line 1026 of file ffplay.c.
Referenced by configure_video_filters().
| const char* label |
Definition at line 1187 of file ffplay.c.
Referenced by chapter_list_script(), derive_key(), extract_inout(), ff_mov_read_chan(), ffat_get_channel_id(), find_linklabel(), inout_add(), label_string(), link_inputs(), link_outputs(), linklabels_parse(), main(), mov_get_channel_id(), mpeg_set_cc_format(), parse_file(), parse_mca_labels(), parse_once(), parse_stream(), print_app5(), print_cie(), print_hdr_plus(), print_lookup(), print_parse_result(), print_peak_matrix(), print_set(), read_classify_label_file(), read_detect_label_file(), remap_layout(), set_control(), and skip_label().
| const struct { ... } sort_buttons[CHAPTER_SORT_NB] |
Referenced by chapter_list_click(), chapter_list_hit(), chapter_list_layout(), and chapter_list_script().
|
static |
Definition at line 4657 of file ffplay.c.
Referenced by audio_video_handler(), check_color_terminal(), config_output(), config_output(), config_props(), conv_cuda_convert(), cuda_buffer_free(), cuda_context_init(), cuda_frames_init(), cuda_frames_uninit(), cuda_get_buffer(), cuda_pad_filter_frame(), cuda_pad_uninit(), cuda_pool_alloc(), cuda_transfer_data(), cudacolorspace_filter_frame(), cudacolorspace_load_functions(), cudacolorspace_uninit(), cudascale_filter_frame(), cudascale_load_functions(), cudascale_setup_filters(), cudascale_uninit(), cudatranspose_config_props(), cudatranspose_filter_frame(), cudatranspose_uninit(), cuvid_decode_end(), cuvid_decode_init(), cuvid_decode_packet(), cuvid_flush(), cuvid_handle_video_sequence(), cuvid_output_frame(), dct_quantize_TMPL(), deint_cuda_uninit(), deint_cuda_uninit(), draw_glyphs(), extract_extradata_lcevc(), ff_decode_exif_attach_ifd(), ff_dshow_meminputpin_Receive(), ff_hadamard8_intra8x8_msa(), ff_nvdec_decode_init(), ff_nvdec_end_frame(), ff_sws_op_list_optimize(), ff_sws_uop_list_optimize(), ff_vsad_intra16_rvv(), ff_vsad_intra8_rvv(), ff_vsse_intra16_rvv(), ff_vsse_intra8_rvv(), filter(), filter(), filter_frame(), find_stream(), hadamard8_intra8x8_c(), ifile_open(), init(), lcevc_init(), nppscale_filter_frame(), nvdec_decoder_create(), nvdec_decoder_free(), nvdec_init_hwframes(), nvdec_retrieve_data(), nvdec_unmap_mapped_frame(), nvenc_pop_context(), output_frame(), overlay_cuda_blend(), overlay_cuda_config_output(), overlay_cuda_uninit(), parse_ext_blocks(), parse_options(), qsv_map_from(), qsv_transfer_data_child(), read_header_gme(), read_header_vs(), read_seek(), sch_dec_receive(), sch_enc_receive(), vsad_intra16_neon(), vsad_intra8_neon(), vsse_intra16_neon(), vsse_intra8_neon(), wmavoice_decode_packet(), write_index(), yuv2bgr32_X_TMPL(), yuv2rgb32_X_ar_TMPL(), yuv2rgb32_X_TMPL(), yuv2rgb555_X_ar_TMPL(), yuv2rgb555_X_TMPL(), yuv2rgb565_X_ar_TMPL(), yuv2rgb565_X_TMPL(), yuv2yuyv422_X_ar_TMPL(), and yuv2yuyv422_X_TMPL().