|
FFmpeg
|
#include <stdint.h>#include "ffmpeg.h"#include "graph/graphprint.h"#include "libavfilter/avfilter.h"#include "libavfilter/buffersink.h"#include "libavfilter/buffersrc.h"#include "libavutil/avassert.h"#include "libavutil/avstring.h"#include "libavutil/bprint.h"#include "libavutil/channel_layout.h"#include "libavutil/downmix_info.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/pixfmt.h"#include "libavutil/samplefmt.h"#include "libavutil/time.h"#include "libavutil/timestamp.h"#include "libavcodec/mathops.h"Go to the source code of this file.
Data Structures | |
| struct | FilterGraphPriv |
| struct | FilterGraphThread |
| struct | InputFilterPriv |
| struct | FPSConvContext |
| struct | OutputFilterPriv |
| struct | FilterCommand |
Macros | |
| #define | DEF_CHOOSE_FORMAT(name, type, var, supported_list, none, printf_format, get_name) |
| #define | AUTO_INSERT_FILTER(opt_name, filter_name, arg) |
Enumerations | |
| enum | ReinitReason { VIDEO_CHANGED = (1 << 0), AUDIO_CHANGED = (1 << 1), MATRIX_CHANGED = (1 << 2), DOWNMIX_CHANGED = (1 << 3), HWACCEL_CHANGED = (1 << 4) } |
Variables | |
| static const AVClass | ofilter_class |
| static const AVClass | fg_class |
Definition at line 373 of file ffmpeg_filter.c.
| #define AUTO_INSERT_FILTER | ( | opt_name, | |
| filter_name, | |||
| arg | |||
| ) |
| enum ReinitReason |
| Enumerator | |
|---|---|
| VIDEO_CHANGED | |
| AUDIO_CHANGED | |
| MATRIX_CHANGED | |
| DOWNMIX_CHANGED | |
| HWACCEL_CHANGED | |
Definition at line 2865 of file ffmpeg_filter.c.
|
static |
Definition at line 73 of file ffmpeg_filter.c.
Referenced by close_output(), configure_filtergraph(), fg_create_simple(), fg_free(), fg_output_frame(), fg_output_step(), fg_send_command(), ifilter_bind_dec(), ifilter_bind_fg(), ifilter_bind_ist(), ofilter_bind_enc(), read_frames(), and send_frame().
|
static |
Definition at line 78 of file ffmpeg_filter.c.
Referenced by filtergraph_is_simple().
|
static |
Definition at line 160 of file ffmpeg_filter.c.
Referenced by bind_inputs(), configure_filtergraph(), configure_input_audio_filter(), configure_input_video_filter(), fg_complex_bind_input(), fg_free(), filter_thread(), ifilter_bind_ist(), ifilter_has_all_input_formats(), ifilter_parameters_from_frame(), read_frames(), send_eof(), send_frame(), sub2video_frame(), and sub2video_heartbeat().
|
static |
Definition at line 237 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), configure_output_audio_filter(), configure_output_video_filter(), fg_free(), fg_thread_set_name(), filter_thread(), ofilter_bind_enc(), ofilter_bind_ifilter(), and read_frames().
|
static |
Definition at line 251 of file ffmpeg_filter.c.
Referenced by fg_send_command().
|
static |
Definition at line 262 of file ffmpeg_filter.c.
Referenced by sub2video_update().
|
static |
Definition at line 285 of file ffmpeg_filter.c.
Referenced by sub2video_update().
|
static |
Definition at line 316 of file ffmpeg_filter.c.
Referenced by sub2video_heartbeat(), and sub2video_update().
|
static |
Definition at line 332 of file ffmpeg_filter.c.
Referenced by sub2video_frame(), and sub2video_heartbeat().
| DEF_CHOOSE_FORMAT | ( | pix_fmts | , |
| enum | AVPixelFormat, | ||
| format | , | ||
| formats | , | ||
| AV_PIX_FMT_NONE | , | ||
| "%s" | , | ||
| av_get_pix_fmt_name | |||
| ) |
| s av_get_sample_fmt_name DEF_CHOOSE_FORMAT | ( | sample_rates | , |
| int | , | ||
| sample_rate | , | ||
| sample_rates | , | ||
| 0 | , | ||
| "%d" | |||
| ) |
Definition at line 399 of file ffmpeg_filter.c.
|
static |
Definition at line 431 of file ffmpeg_filter.c.
Referenced by filter_opt_apply().
|
static |
Definition at line 480 of file ffmpeg_filter.c.
Referenced by graph_opts_apply().
|
static |
Definition at line 536 of file ffmpeg_filter.c.
Referenced by graph_parse().
|
static |
Definition at line 560 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and fg_create().
|
static |
Definition at line 605 of file ffmpeg_filter.c.
Referenced by filter_thread(), send_eof(), and send_frame().
|
static |
Definition at line 3088 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 617 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 629 of file ffmpeg_filter.c.
|
static |
Definition at line 643 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 669 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input(), and fg_create_simple().
|
static |
Definition at line 728 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input().
|
static |
Definition at line 761 of file ffmpeg_filter.c.
Referenced by ofilter_bind_enc().
| int ofilter_bind_enc | ( | OutputFilter * | ofilter, |
| unsigned | sched_idx_enc, | ||
| const OutputFilterOptions * | opts | ||
| ) |
Definition at line 801 of file ffmpeg_filter.c.
Referenced by fg_create_simple(), and ost_bind_filter().
|
static |
Definition at line 916 of file ffmpeg_filter.c.
Referenced by ifilter_bind_fg().
|
static |
Definition at line 936 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input().
|
static |
Definition at line 973 of file ffmpeg_filter.c.
Referenced by fg_create().
| void fg_free | ( | FilterGraph ** | pfg | ) |
Definition at line 1002 of file ffmpeg_filter.c.
Referenced by ffmpeg_cleanup(), and ost_free().
|
static |
Definition at line 1060 of file ffmpeg_filter.c.
| int fg_create | ( | FilterGraph ** | pfg, |
| char * | graph_desc, | ||
| Scheduler * | sch | ||
| ) |
Create a new filtergraph in the global filtergraph list.
| graph_desc | Graph description; an av_malloc()ed string, filtergraph takes ownership of it. |
Definition at line 1074 of file ffmpeg_filter.c.
Referenced by fg_create_simple().
| int fg_create_simple | ( | FilterGraph ** | pfg, |
| InputStream * | ist, | ||
| char * | graph_desc, | ||
| Scheduler * | sch, | ||
| unsigned | sched_idx_enc, | ||
| const OutputFilterOptions * | opts | ||
| ) |
Definition at line 1210 of file ffmpeg_filter.c.
Referenced by ost_bind_filter().
|
static |
Definition at line 1262 of file ffmpeg_filter.c.
Referenced by bind_inputs().
|
static |
Definition at line 1399 of file ffmpeg_filter.c.
Referenced by fg_finalise_bindings().
| int fg_finalise_bindings | ( | void | ) |
Definition at line 1417 of file ffmpeg_filter.c.
|
static |
Definition at line 1446 of file ffmpeg_filter.c.
Referenced by configure_input_audio_filter(), configure_input_video_filter(), configure_output_audio_filter(), and configure_output_video_filter().
|
static |
Definition at line 1497 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 1523 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 1603 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 1685 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 1695 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 1706 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 1825 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 1876 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 1886 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 1895 of file ffmpeg_filter.c.
Referenced by graph_is_meta().
|
static |
Definition at line 1902 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 2755 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and filter_thread().
|
static |
Definition at line 1921 of file ffmpeg_filter.c.
Referenced by filter_thread(), send_eof(), and send_frame().
|
static |
Definition at line 2095 of file ffmpeg_filter.c.
Referenced by send_frame().
| int filtergraph_is_simple | ( | const FilterGraph * | fg | ) |
Definition at line 2158 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), fg_thread_set_name(), ifilter_bind_ist(), and print_stream_maps().
|
static |
Definition at line 2164 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 2189 of file ffmpeg_filter.c.
Referenced by read_frames().
|
static |
Definition at line 2212 of file ffmpeg_filter.c.
Referenced by fg_output_step().
|
static |
Definition at line 2289 of file ffmpeg_filter.c.
Referenced by video_sync_process().
|
static |
Definition at line 2332 of file ffmpeg_filter.c.
Referenced by fg_output_frame().
|
static |
Definition at line 2455 of file ffmpeg_filter.c.
Referenced by fg_output_frame().
|
static |
Definition at line 2510 of file ffmpeg_filter.c.
Referenced by fg_output_step(), and filter_thread().
|
static |
Definition at line 2593 of file ffmpeg_filter.c.
Referenced by read_frames().
|
static |
Definition at line 2670 of file ffmpeg_filter.c.
Referenced by filter_thread(), and send_frame().
|
static |
Definition at line 2733 of file ffmpeg_filter.c.
Referenced by sub2video_frame().
|
static |
Definition at line 2802 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 2873 of file ffmpeg_filter.c.
Referenced by send_frame().
|
static |
Definition at line 2878 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3028 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3043 of file ffmpeg_filter.c.
Referenced by fg_thread_init(), and filter_thread().
|
static |
Definition at line 3061 of file ffmpeg_filter.c.
Referenced by filter_thread().
| void fg_send_command | ( | FilterGraph * | fg, |
| double | time, | ||
| const char * | target, | ||
| const char * | command, | ||
| const char * | arg, | ||
| int | all_filters | ||
| ) |
Definition at line 3211 of file ffmpeg_filter.c.
Referenced by check_keyboard_interaction().
|
static |
Definition at line 635 of file ffmpeg_filter.c.
Referenced by ofilter_alloc().
|
static |
Definition at line 1067 of file ffmpeg_filter.c.
Referenced by fg_create().
1.8.17