#include "avfilter.h"
Go to the source code of this file.
AVFilterChannelLayouts* avfilter_make_format64_list | ( | const int64_t * | fmts | ) |
int ff_add_channel_layout | ( | AVFilterChannelLayouts ** | l, | |
uint64_t | channel_layout | |||
) |
Definition at line 258 of file formats.c.
Referenced by init(), query_formats(), and reduce_formats_on_filter().
AVFilterChannelLayouts* ff_all_channel_layouts | ( | void | ) |
Construct an empty AVFilterChannelLayouts/AVFilterFormats struct -- representing any channel layout/sample rate.
Definition at line 314 of file formats.c.
Referenced by ff_default_query_formats(), and query_formats().
AVFilterFormats* ff_all_samplerates | ( | void | ) |
Definition at line 308 of file formats.c.
Referenced by ff_default_query_formats(), and query_formats().
void ff_channel_layouts_changeref | ( | AVFilterChannelLayouts ** | oldref, | |
AVFilterChannelLayouts ** | newref | |||
) |
void ff_channel_layouts_ref | ( | AVFilterChannelLayouts * | f, | |
AVFilterChannelLayouts ** | ref | |||
) |
Add *ref as a new reference to f.
Definition at line 327 of file formats.c.
Referenced by ff_set_common_channel_layouts(), and query_formats().
void ff_channel_layouts_unref | ( | AVFilterChannelLayouts ** | ref | ) |
Remove a reference to a channel layouts list.
Definition at line 373 of file formats.c.
Referenced by avfilter_free(), and pick_format().
int ff_default_query_formats | ( | AVFilterContext * | ctx | ) |
Definition at line 452 of file formats.c.
Referenced by avfilter_default_query_formats(), main(), and query_formats().
AVFilterChannelLayouts* ff_merge_channel_layouts | ( | AVFilterChannelLayouts * | a, | |
AVFilterChannelLayouts * | b | |||
) |
Return a channel layouts/samplerates list which contains the intersection of the layouts/samplerates of a and b.
Also, all the references of a, all the references of b, and a and b themselves will be deallocated.
If a and b do not share any common elements, neither is modified, and NULL is returned.
Definition at line 134 of file formats.c.
Referenced by insert_conv_filter(), and query_formats().
AVFilterFormats* ff_merge_samplerates | ( | AVFilterFormats * | a, | |
AVFilterFormats * | b | |||
) |
void ff_set_common_channel_layouts | ( | AVFilterContext * | ctx, | |
AVFilterChannelLayouts * | layouts | |||
) |
A helper for query_formats() which sets all links to the same list of channel layouts/sample rates.
If there are no links hooked to this filter, the list is freed.
Definition at line 427 of file formats.c.
Referenced by ff_default_query_formats(), and query_formats().
void ff_set_common_samplerates | ( | AVFilterContext * | ctx, | |
AVFilterFormats * | samplerates | |||
) |
Definition at line 434 of file formats.c.
Referenced by ff_default_query_formats(), and query_formats().