|
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/attributes.h"#include "libavutil/avassert.h"#include "libavutil/avstring.h"#include "libavutil/bprint.h"#include "libavutil/channel_layout.h"#include "libavutil/downmix_info.h"Go to the source code of this file.
Data Structures | |
| struct | FilterGraphPriv |
| struct | FilterGraphThread |
| struct | InputFilterPriv |
| struct | FPSConvContext |
| struct | ReinitOpts |
| struct | OutputFilterPriv |
| struct | FilterCommand |
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 AVOption | ofilter_options [] |
| static const AVClass | ofilter_class |
| static const AVClass | fg_class |
| enum ReinitReason |
| Enumerator | |
|---|---|
| VIDEO_CHANGED | |
| AUDIO_CHANGED | |
| MATRIX_CHANGED | |
| DOWNMIX_CHANGED | |
| HWACCEL_CHANGED | |
Definition at line 3167 of file ffmpeg_filter.c.
|
static |
Definition at line 69 of file ffmpeg_filter.c.
Referenced by close_input(), close_output(), configure_filtergraph(), fg_create_simple(), fg_finalise_bindings(), 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 74 of file ffmpeg_filter.c.
Referenced by filtergraph_is_simple().
|
static |
Definition at line 163 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(), ifilter_parameters_from_ofilter(), read_frames(), send_eof(), send_frame(), sub2video_frame(), and sub2video_heartbeat().
|
static |
Definition at line 260 of file ffmpeg_filter.c.
Referenced by check_reinit(), configure_filtergraph(), configure_output_audio_filter(), configure_output_video_filter(), fg_complex_bind_input(), fg_create(), fg_finalise_bindings(), fg_free(), fg_thread_set_name(), filter_thread(), ifilter_parameters_from_ofilter(), ofilter_bind_enc(), ofilter_bind_ifilter(), and read_frames().
|
static |
Definition at line 274 of file ffmpeg_filter.c.
Referenced by fg_send_command().
|
static |
Definition at line 285 of file ffmpeg_filter.c.
Referenced by sub2video_update().
|
static |
Definition at line 308 of file ffmpeg_filter.c.
Referenced by sub2video_update().
|
static |
Definition at line 339 of file ffmpeg_filter.c.
Referenced by sub2video_heartbeat(), and sub2video_update().
|
static |
Definition at line 355 of file ffmpeg_filter.c.
Referenced by sub2video_frame(), and sub2video_heartbeat().
| DEF_CHOOSE_FORMAT | ( | pix_fmts | , |
| enum | AVPixelFormat, | ||
| format | , | ||
| pix_fmts | , | ||
| 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 422 of file ffmpeg_filter.c.
|
static |
Definition at line 454 of file ffmpeg_filter.c.
Referenced by filter_opt_apply().
|
static |
Definition at line 503 of file ffmpeg_filter.c.
Referenced by graph_opts_apply().
|
static |
Definition at line 559 of file ffmpeg_filter.c.
Referenced by graph_parse().
|
static |
Definition at line 583 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and fg_create().
|
static |
Definition at line 628 of file ffmpeg_filter.c.
Referenced by filter_thread(), send_eof(), and send_frame().
|
static |
Definition at line 3443 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 640 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 652 of file ffmpeg_filter.c.
|
static |
Definition at line 678 of file ffmpeg_filter.c.
Referenced by fg_create().
|
static |
Definition at line 702 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input(), and fg_create_simple().
|
static |
Definition at line 761 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input().
|
static |
Definition at line 794 of file ffmpeg_filter.c.
Referenced by ofilter_bind_enc().
|
static |
Definition at line 834 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 903 of file ffmpeg_filter.c.
Referenced by fg_create_simple(), and ost_bind_filter().
|
static |
Definition at line 1024 of file ffmpeg_filter.c.
Referenced by ifilter_bind_fg().
|
static |
Definition at line 1046 of file ffmpeg_filter.c.
Referenced by fg_complex_bind_input().
|
static |
Definition at line 1083 of file ffmpeg_filter.c.
Referenced by fg_create().
| void fg_free | ( | FilterGraph ** | pfg | ) |
Definition at line 1112 of file ffmpeg_filter.c.
Referenced by ffmpeg_cleanup(), fg_finalise_bindings(), and ost_free().
|
static |
Definition at line 1178 of file ffmpeg_filter.c.
| int fg_create | ( | FilterGraph ** | pfg, |
| char ** | graph_desc, | ||
| Scheduler * | sch, | ||
| const OutputFilterOptions * | opts | ||
| ) |
Create a new filtergraph in the global filtergraph list.
| graph_desc | Pointer to graph description; an av_malloc()ed string, filtergraph takes ownership of it. |
Definition at line 1192 of file ffmpeg_filter.c.
Referenced by fg_create_simple(), and istg_parse_tile_grid().
| int fg_create_simple | ( | FilterGraph ** | pfg, |
| InputStream * | ist, | ||
| char ** | graph_desc, | ||
| Scheduler * | sch, | ||
| unsigned | sched_idx_enc, | ||
| const OutputFilterOptions * | opts | ||
| ) |
Definition at line 1342 of file ffmpeg_filter.c.
Referenced by ost_bind_filter().
|
static |
Definition at line 1394 of file ffmpeg_filter.c.
Referenced by bind_inputs().
|
static |
Definition at line 1567 of file ffmpeg_filter.c.
Referenced by fg_finalise_bindings().
| int fg_finalise_bindings | ( | void | ) |
Definition at line 1585 of file ffmpeg_filter.c.
|
static |
Definition at line 1636 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 1687 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter(), and configure_output_video_filter().
|
static |
Definition at line 1713 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 1843 of file ffmpeg_filter.c.
Referenced by configure_output_filter().
|
static |
Definition at line 1923 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 1933 of file ffmpeg_filter.c.
Referenced by configure_input_video_filter().
|
static |
Definition at line 1944 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 2063 of file ffmpeg_filter.c.
Referenced by configure_input_filter().
|
static |
Definition at line 2114 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 2124 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 2133 of file ffmpeg_filter.c.
Referenced by graph_is_meta().
|
static |
Definition at line 2140 of file ffmpeg_filter.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 3057 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and filter_thread().
|
static |
Definition at line 2159 of file ffmpeg_filter.c.
Referenced by filter_thread(), send_eof(), and send_frame().
|
static |
Definition at line 2332 of file ffmpeg_filter.c.
Referenced by send_frame().
|
static |
Definition at line 2410 of file ffmpeg_filter.c.
Referenced by send_frame().
| int filtergraph_is_simple | ( | const FilterGraph * | fg | ) |
Definition at line 2431 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), fg_thread_set_name(), ifilter_bind_ist(), and print_stream_maps().
|
static |
Definition at line 2437 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 2462 of file ffmpeg_filter.c.
Referenced by read_frames().
|
static |
Definition at line 2485 of file ffmpeg_filter.c.
Referenced by fg_output_step().
|
static |
Definition at line 2562 of file ffmpeg_filter.c.
Referenced by video_sync_process().
Definition at line 2601 of file ffmpeg_filter.c.
Referenced by video_sync_process().
|
static |
Definition at line 2622 of file ffmpeg_filter.c.
Referenced by fg_output_frame().
|
static |
Definition at line 2739 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 2749 of file ffmpeg_filter.c.
Referenced by fg_output_frame().
|
static |
Definition at line 2805 of file ffmpeg_filter.c.
Referenced by fg_output_step(), and filter_thread().
|
static |
Definition at line 2888 of file ffmpeg_filter.c.
Referenced by read_frames().
|
static |
Definition at line 2975 of file ffmpeg_filter.c.
Referenced by filter_thread(), and send_frame().
|
static |
Definition at line 3035 of file ffmpeg_filter.c.
Referenced by sub2video_frame().
|
static |
Definition at line 3104 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3175 of file ffmpeg_filter.c.
Referenced by send_frame().
|
static |
Definition at line 3180 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3347 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3362 of file ffmpeg_filter.c.
Referenced by fg_thread_init(), and filter_thread().
|
static |
Definition at line 3380 of file ffmpeg_filter.c.
Referenced by filter_thread().
|
static |
Definition at line 3407 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 3573 of file ffmpeg_filter.c.
Referenced by check_keyboard_interaction().
|
static |
Definition at line 658 of file ffmpeg_filter.c.
|
static |
Definition at line 669 of file ffmpeg_filter.c.
Referenced by ofilter_alloc().
|
static |
Definition at line 1185 of file ffmpeg_filter.c.
Referenced by fg_create().
1.8.17