|
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 369 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 2846 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(), and read_frames().
|
static |
Definition at line 78 of file ffmpeg_filter.c.
Referenced by filtergraph_is_simple().
|
static |
Definition at line 159 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 234 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 248 of file ffmpeg_filter.c.
Referenced by fg_send_command().
|
static |
Definition at line 259 of file ffmpeg_filter.c.
Referenced by sub2video_update().
|
static |
Definition at line 281 of file ffmpeg_filter.c.
Referenced by sub2video_update().
|
static |
Definition at line 312 of file ffmpeg_filter.c.
Referenced by sub2video_heartbeat(), and sub2video_update().
|
static |
Definition at line 328 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 395 of file ffmpeg_filter.c.
|
static |
Definition at line 424 of file ffmpeg_filter.c.
Referenced by filter_opt_apply().
|
static |
Definition at line 473 of file ffmpeg_filter.c.
Referenced by graph_opts_apply().
|
static |
Definition at line 529 of file ffmpeg_filter.c.
Referenced by graph_parse().
|
static |
Definition at line 553 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and fg_create().
|
static |
Definition at line 598 of file ffmpeg_filter.c.
Referenced by filter_thread(), send_eof(), and send_frame().
|
static |
Definition at line 3060 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 610 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 622 of file ffmpeg_filter.c.
|
static |
Definition at line 636 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 661 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input(), and fg_create_simple().
|
static |
Definition at line 720 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input().
|
static |
Definition at line 753 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 793 of file ffmpeg_filter.c.
Referenced by fg_create_simple(), and ost_bind_filter().
|
static |
Definition at line 903 of file ffmpeg_filter.c.
Referenced by ifilter_bind_fg().
|
static |
Definition at line 923 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input().
|
static |
Definition at line 960 of file ffmpeg_filter.c.
Referenced by fg_create().
| void fg_free | ( | FilterGraph ** | pfg | ) |
Definition at line 988 of file ffmpeg_filter.c.
Referenced by ffmpeg_cleanup(), and ost_free().
|
static |
Definition at line 1046 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 1060 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 1196 of file ffmpeg_filter.c.
Referenced by ost_bind_filter().
|
static |
Definition at line 1248 of file ffmpeg_filter.c.
Referenced by bind_inputs().
|
static |
Definition at line 1385 of file ffmpeg_filter.c.
Referenced by fg_finalise_bindings().
| int fg_finalise_bindings | ( | void | ) |
Definition at line 1403 of file ffmpeg_filter.c.
|
static |
Definition at line 1432 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 1483 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 1509 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 1588 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 1670 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 1680 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 1691 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 1809 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 1860 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 1870 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 1879 of file ffmpeg_filter.c.
Referenced by graph_is_meta().
|
static |
Definition at line 1886 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 2737 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and filter_thread().
|
static |
Definition at line 1905 of file ffmpeg_filter.c.
Referenced by filter_thread(), send_eof(), and send_frame().
|
static |
Definition at line 2078 of file ffmpeg_filter.c.
Referenced by send_frame().
| int filtergraph_is_simple | ( | const FilterGraph * | fg | ) |
Definition at line 2140 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), fg_thread_set_name(), ifilter_bind_ist(), and print_stream_maps().
|
static |
Definition at line 2146 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 2171 of file ffmpeg_filter.c.
Referenced by read_frames().
|
static |
Definition at line 2194 of file ffmpeg_filter.c.
Referenced by fg_output_step().
|
static |
Definition at line 2271 of file ffmpeg_filter.c.
Referenced by video_sync_process().
|
static |
Definition at line 2314 of file ffmpeg_filter.c.
Referenced by fg_output_frame().
|
static |
Definition at line 2437 of file ffmpeg_filter.c.
Referenced by fg_output_frame().
|
static |
Definition at line 2492 of file ffmpeg_filter.c.
Referenced by fg_output_step(), and filter_thread().
|
static |
Definition at line 2575 of file ffmpeg_filter.c.
Referenced by read_frames().
|
static |
Definition at line 2652 of file ffmpeg_filter.c.
Referenced by filter_thread(), and send_frame().
|
static |
Definition at line 2715 of file ffmpeg_filter.c.
Referenced by sub2video_frame().
|
static |
Definition at line 2784 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 2854 of file ffmpeg_filter.c.
Referenced by send_frame().
|
static |
Definition at line 2859 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3000 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3015 of file ffmpeg_filter.c.
Referenced by fg_thread_init(), and filter_thread().
|
static |
Definition at line 3033 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 3183 of file ffmpeg_filter.c.
Referenced by check_keyboard_interaction().
|
static |
Definition at line 628 of file ffmpeg_filter.c.
Referenced by ofilter_alloc().
|
static |
Definition at line 1053 of file ffmpeg_filter.c.
Referenced by fg_create().
1.8.17