#include "libavutil/audioconvert.h"#include "libavutil/imgutils.h"#include "libavutil/samplefmt.h"#include "avfilter.h"#include "internal.h"Go to the source code of this file.
Functions | |
| void | ff_avfilter_default_free_buffer (AVFilterBuffer *ptr) |
| default handler for freeing audio/video buffer when there are no references left | |
| AVFilterBufferRef * | avfilter_default_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
| default handler for get_video_buffer() for video inputs | |
| AVFilterBufferRef * | avfilter_default_get_audio_buffer (AVFilterLink *link, int perms, enum AVSampleFormat sample_fmt, int nb_samples, int64_t channel_layout, int planar) |
| default handler for get_audio_buffer() for audio inputs | |
| void | avfilter_default_start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref) |
| default handler for start_frame() for video inputs | |
| void | avfilter_default_draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir) |
| default handler for draw_slice() for video inputs | |
| void | avfilter_default_end_frame (AVFilterLink *inlink) |
| default handler for end_frame() for video inputs | |
| void | avfilter_default_filter_samples (AVFilterLink *inlink, AVFilterBufferRef *samplesref) |
| default handler for filter_samples() for audio inputs | |
| int | avfilter_default_config_output_link (AVFilterLink *link) |
| default config_link() implementation for output video links to simplify the implementation of one input one output video filters | |
| static void | set_common_formats (AVFilterContext *ctx, AVFilterFormats *fmts, enum AVMediaType type, int offin, int offout) |
| void | avfilter_set_common_pixel_formats (AVFilterContext *ctx, AVFilterFormats *formats) |
| Helpers for query_formats() which set all links to the same list of formats/layouts. | |
| void | avfilter_set_common_sample_formats (AVFilterContext *ctx, AVFilterFormats *formats) |
| void | avfilter_set_common_channel_layouts (AVFilterContext *ctx, AVFilterFormats *formats) |
| int | avfilter_default_query_formats (AVFilterContext *ctx) |
| Default handler for query_formats(). | |
| void | avfilter_null_start_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
| start_frame() handler for filters which simply pass video along | |
| void | avfilter_null_draw_slice (AVFilterLink *link, int y, int h, int slice_dir) |
| draw_slice() handler for filters which simply pass video along | |
| void | avfilter_null_end_frame (AVFilterLink *link) |
| end_frame() handler for filters which simply pass video along | |
| void | avfilter_null_filter_samples (AVFilterLink *link, AVFilterBufferRef *samplesref) |
| filter_samples() handler for filters which simply pass audio along | |
| AVFilterBufferRef * | avfilter_null_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
| get_video_buffer() handler for filters which simply pass video along | |
| AVFilterBufferRef * | avfilter_null_get_audio_buffer (AVFilterLink *link, int perms, enum AVSampleFormat sample_fmt, int size, int64_t channel_layout, int packed) |
| get_audio_buffer() handler for filters which simply pass audio along | |
| int avfilter_default_config_output_link | ( | AVFilterLink * | link | ) |
default config_link() implementation for output video links to simplify the implementation of one input one output video filters
default handler for config_props() for audio/video outputs
Definition at line 180 of file defaults.c.
Referenced by avfilter_config_links().
| void avfilter_default_draw_slice | ( | AVFilterLink * | inlink, | |
| int | y, | |||
| int | h, | |||
| int | slice_dir | |||
| ) |
default handler for draw_slice() for video inputs
Definition at line 124 of file defaults.c.
Referenced by avfilter_draw_slice().
| void avfilter_default_end_frame | ( | AVFilterLink * | inlink | ) |
default handler for end_frame() for video inputs
Definition at line 135 of file defaults.c.
Referenced by avfilter_end_frame().
| void avfilter_default_filter_samples | ( | AVFilterLink * | inlink, | |
| AVFilterBufferRef * | samplesref | |||
| ) |
default handler for filter_samples() for audio inputs
Definition at line 155 of file defaults.c.
Referenced by avfilter_filter_samples().
| AVFilterBufferRef* avfilter_default_get_audio_buffer | ( | AVFilterLink * | link, | |
| int | perms, | |||
| enum AVSampleFormat | sample_fmt, | |||
| int | nb_samples, | |||
| int64_t | channel_layout, | |||
| int | planar | |||
| ) |
default handler for get_audio_buffer() for audio inputs
Definition at line 83 of file defaults.c.
Referenced by avfilter_default_filter_samples(), avfilter_filter_samples(), and avfilter_get_audio_buffer().
| AVFilterBufferRef* avfilter_default_get_video_buffer | ( | AVFilterLink * | link, | |
| int | perms, | |||
| int | w, | |||
| int | h | |||
| ) |
default handler for get_video_buffer() for video inputs
Definition at line 37 of file defaults.c.
Referenced by avfilter_get_video_buffer(), and get_video_buffer().
| int avfilter_default_query_formats | ( | AVFilterContext * | ctx | ) |
Default handler for query_formats().
Definition at line 242 of file defaults.c.
Referenced by main(), and query_formats().
| void avfilter_default_start_frame | ( | AVFilterLink * | inlink, | |
| AVFilterBufferRef * | picref | |||
| ) |
default handler for start_frame() for video inputs
Definition at line 110 of file defaults.c.
Referenced by avfilter_start_frame().
| void avfilter_null_draw_slice | ( | AVFilterLink * | link, | |
| int | y, | |||
| int | h, | |||
| int | slice_dir | |||
| ) |
draw_slice() handler for filters which simply pass video along
Definition at line 256 of file defaults.c.
| void avfilter_null_end_frame | ( | AVFilterLink * | link | ) |
end_frame() handler for filters which simply pass video along
Definition at line 261 of file defaults.c.
| void avfilter_null_filter_samples | ( | AVFilterLink * | link, | |
| AVFilterBufferRef * | samplesref | |||
| ) |
filter_samples() handler for filters which simply pass audio along
Definition at line 266 of file defaults.c.
| AVFilterBufferRef* avfilter_null_get_audio_buffer | ( | AVFilterLink * | link, | |
| int | perms, | |||
| enum AVSampleFormat | sample_fmt, | |||
| int | size, | |||
| int64_t | channel_layout, | |||
| int | packed | |||
| ) |
get_audio_buffer() handler for filters which simply pass audio along
Definition at line 276 of file defaults.c.
| AVFilterBufferRef* avfilter_null_get_video_buffer | ( | AVFilterLink * | link, | |
| int | perms, | |||
| int | w, | |||
| int | h | |||
| ) |
get_video_buffer() handler for filters which simply pass video along
Definition at line 271 of file defaults.c.
| void avfilter_null_start_frame | ( | AVFilterLink * | link, | |
| AVFilterBufferRef * | picref | |||
| ) |
start_frame() handler for filters which simply pass video along
Definition at line 251 of file defaults.c.
| void avfilter_set_common_channel_layouts | ( | AVFilterContext * | ctx, | |
| AVFilterFormats * | formats | |||
| ) |
| void avfilter_set_common_pixel_formats | ( | AVFilterContext * | ctx, | |
| AVFilterFormats * | formats | |||
| ) |
Helpers for query_formats() which set all links to the same list of formats/layouts.
If there are no links hooked to this filter, the list of formats is freed.
Definition at line 221 of file defaults.c.
Referenced by avfilter_default_query_formats(), and query_formats().
| void avfilter_set_common_sample_formats | ( | AVFilterContext * | ctx, | |
| AVFilterFormats * | formats | |||
| ) |
| void ff_avfilter_default_free_buffer | ( | AVFilterBuffer * | ptr | ) |
default handler for freeing audio/video buffer when there are no references left
Definition at line 28 of file defaults.c.
Referenced by avfilter_get_audio_buffer_ref_from_arrays(), and avfilter_get_video_buffer_ref_from_arrays().
| static void set_common_formats | ( | AVFilterContext * | ctx, | |
| AVFilterFormats * | fmts, | |||
| enum AVMediaType | type, | |||
| int | offin, | |||
| int | offout | |||
| ) | [static] |
Definition at line 200 of file defaults.c.
Referenced by avfilter_set_common_channel_layouts(), avfilter_set_common_pixel_formats(), and avfilter_set_common_sample_formats().
1.5.8