#include "libavutil/avassert.h"#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, int nb_samples) |
| 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 | |
| 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) |
| void | avfilter_set_common_packing_formats (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, int nb_samples) |
| get_audio_buffer() handler for filters which simply pass audio along | |
| 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 134 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 145 of file defaults.c.
Referenced by avfilter_end_frame(), and end_frame().
| void avfilter_default_filter_samples | ( | AVFilterLink * | inlink, | |
| AVFilterBufferRef * | samplesref | |||
| ) |
default handler for filter_samples() for audio inputs
Definition at line 165 of file defaults.c.
Referenced by avfilter_filter_samples().
| AVFilterBufferRef* avfilter_default_get_audio_buffer | ( | AVFilterLink * | link, | |
| int | perms, | |||
| int | nb_samples | |||
| ) |
default handler for get_audio_buffer() for audio inputs
Definition at line 88 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 38 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 234 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 120 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 249 of file defaults.c.
| void avfilter_null_end_frame | ( | AVFilterLink * | link | ) |
end_frame() handler for filters which simply pass video along
Definition at line 254 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 259 of file defaults.c.
| AVFilterBufferRef* avfilter_null_get_audio_buffer | ( | AVFilterLink * | link, | |
| int | perms, | |||
| int | nb_samples | |||
| ) |
get_audio_buffer() handler for filters which simply pass audio along
Definition at line 269 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 264 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 244 of file defaults.c.
| void avfilter_set_common_channel_layouts | ( | AVFilterContext * | ctx, | |
| AVFilterFormats * | formats | |||
| ) |
Definition at line 220 of file defaults.c.
Referenced by avfilter_default_query_formats(), and query_formats().
| void avfilter_set_common_packing_formats | ( | AVFilterContext * | ctx, | |
| AVFilterFormats * | formats | |||
| ) |
Definition at line 227 of file defaults.c.
Referenced by avfilter_default_query_formats(), and query_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 206 of file defaults.c.
Referenced by avfilter_default_query_formats(), and query_formats().
| void avfilter_set_common_sample_formats | ( | AVFilterContext * | ctx, | |
| AVFilterFormats * | formats | |||
| ) |
Definition at line 213 of file defaults.c.
Referenced by avfilter_default_query_formats(), and query_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 29 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 185 of file defaults.c.
Referenced by avfilter_set_common_channel_layouts(), avfilter_set_common_packing_formats(), avfilter_set_common_pixel_formats(), and avfilter_set_common_sample_formats().
1.5.8