|
FFmpeg
|
#include "avfilter.h"Go to the source code of this file.
Data Structures | |
| struct | AVFilterFormats |
| A list of supported formats for one end of a filter link. More... | |
| struct | AVFilterChannelLayouts |
| A list of supported channel layouts. More... | |
| struct | AVFilterFormatMerger |
| struct | AVFilterNegotiation |
| Callbacks and properties to describe the steps of a format negotiation. More... | |
Macros | |
| #define | FF_COUNT2LAYOUT(c) ((AVChannelLayout) { .order = AV_CHANNEL_ORDER_UNSPEC, .nb_channels = c }) |
| Encode a channel count as a channel layout. More... | |
| #define | FF_LAYOUT2COUNT(l) |
| Decode a channel count encoded as a channel layout. More... | |
| #define | KNOWN(l) (!FF_LAYOUT2COUNT(l)) /* for readability */ |
| #define | FF_PIX_FMT_FLAG_SW_FLAT_SUB (1 << 24) |
| #define FF_COUNT2LAYOUT | ( | c | ) | ((AVChannelLayout) { .order = AV_CHANNEL_ORDER_UNSPEC, .nb_channels = c }) |
Encode a channel count as a channel layout.
FF_COUNT2LAYOUT(c) means any channel layout with c channels, with a known or unknown disposition. The result is only valid inside AVFilterChannelLayouts and immediately related functions.
| #define FF_LAYOUT2COUNT | ( | l | ) |
Decode a channel count encoded as a channel layout.
Return 0 if the channel layout was a real one.
| #define KNOWN | ( | l | ) | (!FF_LAYOUT2COUNT(l)) /* for readability */ |
| av_warn_unused_result AVFilterChannelLayouts* ff_all_channel_layouts | ( | void | ) |
Construct an empty AVFilterChannelLayouts/AVFilterFormats struct – representing any channel layout (with known disposition)/sample rate.
Definition at line 678 of file formats.c.
Referenced by join_query_formats(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_all_samplerates | ( | void | ) |
Definition at line 672 of file formats.c.
Referenced by ff_set_common_all_samplerates(), ff_set_common_all_samplerates2(), and query_formats().
| av_warn_unused_result AVFilterChannelLayouts* ff_all_channel_counts | ( | void | ) |
Construct an AVFilterChannelLayouts coding for any channel layout, with known or unknown disposition.
Definition at line 687 of file formats.c.
Referenced by aeval_query_formats(), ff_set_common_all_channel_counts(), ff_set_common_all_channel_counts2(), and query_formats().
| av_warn_unused_result AVFilterChannelLayouts* ff_make_channel_layout_list | ( | const AVChannelLayout * | fmts | ) |
Definition at line 510 of file formats.c.
Referenced by ff_set_common_channel_layouts_from_list(), ff_set_common_channel_layouts_from_list2(), movie_query_formats(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_all_color_spaces | ( | void | ) |
Construct an AVFilterFormats representing all possible color spaces.
Note: This list does not include AVCOL_SPC_RESERVED.
Definition at line 696 of file formats.c.
Referenced by ff_set_common_all_color_spaces(), ff_set_common_all_color_spaces2(), init(), libplacebo_query_format(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_all_color_ranges | ( | void | ) |
Construct an AVFilterFormats representing all possible color ranges.
Definition at line 712 of file formats.c.
Referenced by ff_set_common_all_color_ranges(), ff_set_common_all_color_ranges2(), init(), libplacebo_query_format(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_all_alpha_modes | ( | void | ) |
Construct an AVFilterFormats representing all possible alpha modes.
Definition at line 723 of file formats.c.
Referenced by ff_set_common_all_alpha_modes(), ff_set_common_all_alpha_modes2(), init(), libplacebo_query_format(), and query_formats().
| av_warn_unused_result int ff_set_common_channel_layouts | ( | AVFilterContext * | ctx, |
| AVFilterChannelLayouts * | layouts | ||
| ) |
Helpers for query_formats() which set all free audio links to the same list of channel layouts/sample rates.
If there are no links hooked to this list, the list is freed.
Definition at line 867 of file formats.c.
Referenced by ff_set_common_all_channel_counts(), and ff_set_common_channel_layouts_from_list().
| av_warn_unused_result int ff_set_common_channel_layouts_from_list | ( | AVFilterContext * | ctx, |
| const AVChannelLayout * | fmts | ||
| ) |
| av_warn_unused_result int ff_set_common_all_channel_counts | ( | AVFilterContext * | ctx | ) |
Equivalent to ff_set_common_channel_layouts(ctx, ff_all_channel_counts())
Definition at line 880 of file formats.c.
Referenced by ff_default_query_formats().
| av_warn_unused_result int ff_set_common_samplerates | ( | AVFilterContext * | ctx, |
| AVFilterFormats * | samplerates | ||
| ) |
Definition at line 885 of file formats.c.
Referenced by ff_set_common_all_samplerates(), and ff_set_common_samplerates_from_list().
| av_warn_unused_result int ff_set_common_samplerates_from_list | ( | AVFilterContext * | ctx, |
| const int * | samplerates | ||
| ) |
| av_warn_unused_result int ff_set_common_all_samplerates | ( | AVFilterContext * | ctx | ) |
Equivalent to ff_set_common_samplerates(ctx, ff_all_samplerates())
Definition at line 898 of file formats.c.
Referenced by ff_default_query_formats(), and query_formats().
| av_warn_unused_result int ff_set_common_color_spaces | ( | AVFilterContext * | ctx, |
| AVFilterFormats * | color_spaces | ||
| ) |
Definition at line 903 of file formats.c.
Referenced by ff_set_common_all_color_spaces(), and ff_set_common_color_spaces_from_list().
| av_warn_unused_result int ff_set_common_color_spaces_from_list | ( | AVFilterContext * | ctx, |
| const int * | color_spaces | ||
| ) |
| av_warn_unused_result int ff_set_common_all_color_spaces | ( | AVFilterContext * | ctx | ) |
Equivalent to ff_set_common_color_spaces(ctx, ff_all_color_spaces())
Definition at line 916 of file formats.c.
Referenced by ff_default_query_formats().
| av_warn_unused_result int ff_set_common_color_ranges | ( | AVFilterContext * | ctx, |
| AVFilterFormats * | color_ranges | ||
| ) |
Definition at line 921 of file formats.c.
Referenced by ff_set_common_all_color_ranges(), and ff_set_common_color_ranges_from_list().
| av_warn_unused_result int ff_set_common_color_ranges_from_list | ( | AVFilterContext * | ctx, |
| const int * | color_ranges | ||
| ) |
| av_warn_unused_result int ff_set_common_all_color_ranges | ( | AVFilterContext * | ctx | ) |
Equivalent to ff_set_common_color_ranges(ctx, ff_all_color_ranges())
Definition at line 934 of file formats.c.
Referenced by ff_default_query_formats().
| av_warn_unused_result int ff_set_common_alpha_modes | ( | AVFilterContext * | ctx, |
| AVFilterFormats * | alpha_modes | ||
| ) |
Definition at line 939 of file formats.c.
Referenced by ff_set_common_all_alpha_modes(), and ff_set_common_alpha_modes_from_list().
| av_warn_unused_result int ff_set_common_alpha_modes_from_list | ( | AVFilterContext * | ctx, |
| const int * | alpha_modes | ||
| ) |
| av_warn_unused_result int ff_set_common_all_alpha_modes | ( | AVFilterContext * | ctx | ) |
Equivalent to ff_set_common_alpha_modes(ctx, ff_all_alpha_modes())
Definition at line 952 of file formats.c.
Referenced by ff_default_query_formats().
| av_warn_unused_result int ff_set_common_formats | ( | AVFilterContext * | ctx, |
| AVFilterFormats * | formats | ||
| ) |
A helper for query_formats() which sets all links to the same list of formats.
If there are no links hooked to this filter, the list of formats is freed.
Definition at line 962 of file formats.c.
Referenced by ff_default_query_formats(), ff_set_common_formats_from_list(), ff_set_pixel_formats_from_list(), ff_set_sample_formats_from_list(), and query_formats().
| av_warn_unused_result int ff_set_common_formats_from_list | ( | AVFilterContext * | ctx, |
| const int * | fmts | ||
| ) |
| av_warn_unused_result int ff_set_sample_formats_from_list | ( | AVFilterContext * | ctx, |
| const enum AVSampleFormat * | fmts | ||
| ) |
Equivalent to ff_set_common_formats(ctx, ff_make_sample_format_list(fmts))
Definition at line 973 of file formats.c.
Referenced by query_formats().
| av_warn_unused_result int ff_set_pixel_formats_from_list | ( | AVFilterContext * | ctx, |
| const enum AVPixelFormat * | fmts | ||
| ) |
| av_warn_unused_result int ff_set_common_channel_layouts2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| AVFilterChannelLayouts * | channel_layouts | ||
| ) |
Helpers for query_formats2() which set all free audio links to the same list of channel layouts/sample rates.
If there are no links hooked to this list, the list is freed.
Definition at line 1016 of file formats.c.
Referenced by ff_set_common_all_channel_counts2(), ff_set_common_channel_layouts_from_list2(), and query_formats().
| av_warn_unused_result int ff_set_common_channel_layouts_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const AVChannelLayout * | fmts | ||
| ) |
Definition at line 1025 of file formats.c.
Referenced by asink_query_formats(), and query_formats().
| av_warn_unused_result int ff_set_common_all_channel_counts2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out | ||
| ) |
Definition at line 1033 of file formats.c.
Referenced by query_formats().
| av_warn_unused_result int ff_set_common_samplerates2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| AVFilterFormats * | samplerates | ||
| ) |
Definition at line 1040 of file formats.c.
Referenced by asink_query_formats(), ff_set_common_all_samplerates2(), ff_set_common_samplerates_from_list2(), and query_formats().
| av_warn_unused_result int ff_set_common_samplerates_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const int * | samplerates | ||
| ) |
Definition at line 1049 of file formats.c.
Referenced by asink_query_formats(), and query_formats().
| av_warn_unused_result int ff_set_common_all_samplerates2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out | ||
| ) |
| av_warn_unused_result int ff_set_common_color_spaces2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| AVFilterFormats * | color_spaces | ||
| ) |
Definition at line 1064 of file formats.c.
Referenced by ff_set_common_all_color_spaces2(), ff_set_common_color_spaces_from_list2(), query_formats(), and vsink_query_formats().
| av_warn_unused_result int ff_set_common_color_spaces_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const int * | color_spaces | ||
| ) |
Definition at line 1073 of file formats.c.
Referenced by vsink_query_formats().
| av_warn_unused_result int ff_set_common_all_color_spaces2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out | ||
| ) |
| av_warn_unused_result int ff_set_common_color_ranges2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| AVFilterFormats * | color_ranges | ||
| ) |
Definition at line 1088 of file formats.c.
Referenced by ff_set_common_all_color_ranges2(), ff_set_common_color_ranges_from_list2(), query_formats(), and vsink_query_formats().
| av_warn_unused_result int ff_set_common_color_ranges_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const int * | color_ranges | ||
| ) |
Definition at line 1097 of file formats.c.
Referenced by vsink_query_formats().
| av_warn_unused_result int ff_set_common_all_color_ranges2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out | ||
| ) |
| av_warn_unused_result int ff_set_common_alpha_modes2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| AVFilterFormats * | alpha_modes | ||
| ) |
Definition at line 1112 of file formats.c.
Referenced by ff_set_common_all_alpha_modes2(), ff_set_common_alpha_modes_from_list2(), query_formats(), and vsink_query_formats().
| av_warn_unused_result int ff_set_common_alpha_modes_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const int * | alpha_modes | ||
| ) |
Definition at line 1121 of file formats.c.
Referenced by query_formats(), and vsink_query_formats().
| av_warn_unused_result int ff_set_common_all_alpha_modes2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out | ||
| ) |
| av_warn_unused_result int ff_set_common_formats2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| AVFilterFormats * | formats | ||
| ) |
Definition at line 1136 of file formats.c.
Referenced by asink_query_formats(), channelmap_query_formats(), ff_set_common_formats_from_list2(), ff_set_pixel_formats_from_list2(), ff_set_sample_formats_from_list2(), join_query_formats(), qrencode_query_formats(), qrencodesrc_query_formats(), query_format(), query_formats(), and vsink_query_formats().
| av_warn_unused_result int ff_set_common_formats_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const int * | fmts | ||
| ) |
| av_warn_unused_result int ff_set_sample_formats_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const enum AVSampleFormat * | fmts | ||
| ) |
Definition at line 1153 of file formats.c.
Referenced by aeval_query_formats(), asink_query_formats(), and query_formats().
| av_warn_unused_result int ff_set_pixel_formats_from_list2 | ( | const AVFilterContext * | ctx, |
| AVFilterFormatsConfig ** | cfg_in, | ||
| AVFilterFormatsConfig ** | cfg_out, | ||
| const enum AVPixelFormat * | fmts | ||
| ) |
Definition at line 1161 of file formats.c.
Referenced by ff_vaapi_vpp_query_formats(), geq_query_formats(), query_formats(), and vsink_query_formats().
| av_warn_unused_result int ff_add_channel_layout | ( | AVFilterChannelLayouts ** | l, |
| const AVChannelLayout * | channel_layout | ||
| ) |
Definition at line 587 of file formats.c.
Referenced by aeval_query_formats(), channelmap_query_formats(), join_query_formats(), query_formats(), and reduce_formats_on_filter().
| av_warn_unused_result int ff_channel_layouts_ref | ( | AVFilterChannelLayouts * | f, |
| AVFilterChannelLayouts ** | ref | ||
| ) |
Add *ref as a new reference to f.
Definition at line 750 of file formats.c.
Referenced by aeval_query_formats(), channelmap_query_formats(), ff_set_common_channel_layouts(), ff_set_common_channel_layouts2(), join_query_formats(), movie_query_formats(), and query_formats().
| void ff_channel_layouts_unref | ( | AVFilterChannelLayouts ** | ref | ) |
Remove a reference to a channel layouts list.
Definition at line 806 of file formats.c.
Referenced by ff_add_channel_layout(), ff_channel_layouts_ref(), ff_set_common_channel_layouts(), ff_set_common_channel_layouts2(), free_link(), and pick_format().
| void ff_channel_layouts_changeref | ( | AVFilterChannelLayouts ** | oldref, |
| AVFilterChannelLayouts ** | newref | ||
| ) |
Definition at line 824 of file formats.c.
Referenced by avfilter_insert_filter().
| av_warn_unused_result int ff_default_query_formats | ( | AVFilterContext * | ctx | ) |
Sets all remaining unset filter lists for all inputs/outputs to their corresponding ff_all_*() lists.
Definition at line 1169 of file formats.c.
Referenced by filter_query_formats(), and main().
| av_warn_unused_result AVFilterFormats* ff_make_format_list | ( | const int * | fmts | ) |
Create a list of supported formats.
This is intended for use in AVFilter->query_formats().
| fmts | list of media formats, terminated by -1 |
Referenced by ff_make_formats_list_singleton(), ff_set_common_alpha_modes_from_list(), ff_set_common_alpha_modes_from_list2(), ff_set_common_color_ranges_from_list(), ff_set_common_color_ranges_from_list2(), ff_set_common_color_spaces_from_list(), ff_set_common_color_spaces_from_list2(), ff_set_common_formats_from_list(), ff_set_common_formats_from_list2(), ff_set_common_samplerates_from_list(), ff_set_common_samplerates_from_list2(), movie_query_formats(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_make_sample_format_list | ( | const enum AVSampleFormat * | fmts | ) |
Create a list of supported sample formats.
This is intended for use in AVFilter->query_formats().
| fmts | list of enum AVSampleFormat, terminated by AV_SAMPLE_FMT_NONE |
Referenced by ff_default_query_formats(), ff_set_sample_formats_from_list(), ff_set_sample_formats_from_list2(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_make_pixel_format_list | ( | const enum AVPixelFormat * | fmts | ) |
Create a list of supported pixel formats.
This is intended for use in AVFilter->query_formats().
| fmts | list of enum AVPixelFormat, terminated by AV_PIX_FMT_NONE |
Referenced by amf_setup_input_output_formats(), cudaupload_query_formats(), ff_default_query_formats(), ff_set_pixel_formats_from_list(), ff_set_pixel_formats_from_list2(), hwupload_query_formats(), overlay_qsv_query_formats(), query_format(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_make_formats_list_singleton | ( | int | fmt | ) |
Equivalent to ff_make_format_list({const int[]}{ fmt, -1 })
Definition at line 595 of file formats.c.
Referenced by ff_default_query_formats(), libplacebo_query_format(), and query_formats().
| av_warn_unused_result int ff_add_format | ( | AVFilterFormats ** | avff, |
| int64_t | fmt | ||
| ) |
Add fmt to the list of media formats contained in *avff.
If *avff is NULL the function allocates the filter formats struct and puts its pointer in *avff.
Definition at line 570 of file formats.c.
Referenced by asink_query_formats(), ff_all_alpha_modes(), ff_all_color_ranges(), ff_all_color_spaces(), ff_all_formats(), ff_draw_supported_pixel_formats(), ff_planar_sample_fmts(), hwupload_query_formats(), init(), libplacebo_query_format(), qrencodesrc_query_formats(), query_formats(), reduce_formats_on_filter(), and vsink_query_formats().
| av_warn_unused_result AVFilterFormats* ff_all_formats | ( | enum AVMediaType | type | ) |
Return a list of all formats supported by FFmpeg for the given media type.
Definition at line 601 of file formats.c.
Referenced by ff_default_query_formats(), hwmap_query_formats(), init(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_formats_pixdesc_filter | ( | unsigned | want, |
| unsigned | rej | ||
| ) |
Construct a formats list containing all pixel formats with certain properties.
Definition at line 619 of file formats.c.
Referenced by ff_all_formats(), hwdownload_query_formats(), query_format(), and query_formats().
| av_warn_unused_result AVFilterFormats* ff_planar_sample_fmts | ( | void | ) |
Construct a formats list containing all planar sample formats.
Definition at line 659 of file formats.c.
Referenced by channelmap_query_formats(), join_query_formats(), and query_formats().
| av_warn_unused_result int ff_formats_ref | ( | AVFilterFormats * | formats, |
| AVFilterFormats ** | ref | ||
| ) |
Add *ref as a new reference to formats.
That is the pointers will point like in the ascii art below:
|formats |<-----—. | ____ | ____|___________________ | |refs| | | __|_ | |* * | | | | | | AVFilterLink | |* *------—>|*ref| | |____| | | |____| |________| |________________________
Definition at line 755 of file formats.c.
Referenced by amf_setup_input_output_formats(), cudaupload_query_formats(), ff_set_common_alpha_modes(), ff_set_common_alpha_modes2(), ff_set_common_color_ranges(), ff_set_common_color_ranges2(), ff_set_common_color_spaces(), ff_set_common_color_spaces2(), ff_set_common_formats(), ff_set_common_formats2(), ff_set_common_samplerates(), ff_set_common_samplerates2(), hwdownload_query_formats(), hwmap_query_formats(), hwupload_query_formats(), init(), libplacebo_query_format(), movie_query_formats(), overlay_qsv_query_formats(), and query_formats().
| void ff_formats_unref | ( | AVFilterFormats ** | ref | ) |
If *ref is non-NULL, remove *ref as a reference to the format list it currently points to, deallocates that list if this was the last reference, and sets *ref to NULL.
Before After
________ ________ NULL |formats |<-----—. |formats | ^ | ____ | ____|________________ | ____ | ____|________________ | |refs| | | __|_ | |refs| | | __|_ | |* * | | | | | | AVFilterLink | |* * | | | | | | AVFilterLink | |* ------—>|*ref| | | | | | |*ref| | |____| | | |____| | |____| | | |____| |________| |_____________________ |________| |_____________________
Definition at line 794 of file formats.c.
Referenced by ff_add_format(), ff_formats_ref(), ff_set_common_alpha_modes(), ff_set_common_alpha_modes2(), ff_set_common_color_ranges(), ff_set_common_color_ranges2(), ff_set_common_color_spaces(), ff_set_common_color_spaces2(), ff_set_common_formats(), ff_set_common_formats2(), ff_set_common_samplerates(), ff_set_common_samplerates2(), free_link(), invert_formats(), libplacebo_query_format(), pick_format(), and uninit().
| void ff_formats_changeref | ( | AVFilterFormats ** | oldref, |
| AVFilterFormats ** | newref | ||
| ) |
Before After
|formats |<------—. |formats |<------—. | ____ | ___|___ | ____ | ___|___ | |refs| | | | | | |refs| | | | | NULL | |* ------—>|*oldref| | | ------—>|*newref| ^ | | * | | |_______| | |* * | | |_______| ___|___ | |____| | | |____| | | | | |________| |________| |*oldref| |_______|
Definition at line 830 of file formats.c.
Referenced by avfilter_insert_filter().
| int ff_formats_check_pixel_formats | ( | void * | log, |
| const AVFilterFormats * | fmts | ||
| ) |
Check that fmts is a valid pixel formats list.
In particular, check for duplicates.
Definition at line 1253 of file formats.c.
Referenced by filter_link_check_formats().
| int ff_formats_check_sample_formats | ( | void * | log, |
| const AVFilterFormats * | fmts | ||
| ) |
Check that fmts is a valid sample formats list.
In particular, check for duplicates.
Definition at line 1258 of file formats.c.
Referenced by filter_link_check_formats().
| int ff_formats_check_sample_rates | ( | void * | log, |
| const AVFilterFormats * | fmts | ||
| ) |
Check that fmts is a valid sample rates list.
In particular, check for duplicates.
Definition at line 1263 of file formats.c.
Referenced by filter_link_check_formats().
| int ff_formats_check_channel_layouts | ( | void * | log, |
| const AVFilterChannelLayouts * | fmts | ||
| ) |
Check that fmts is a valid channel layouts list.
In particular, check for duplicates.
Definition at line 1298 of file formats.c.
Referenced by filter_link_check_formats().
| int ff_formats_check_color_spaces | ( | void * | log, |
| const AVFilterFormats * | fmts | ||
| ) |
Check that fmts is a valid formats list for YUV colorspace metadata.
In particular, check for duplicates.
Definition at line 1270 of file formats.c.
Referenced by filter_link_check_formats().
| int ff_formats_check_color_ranges | ( | void * | log, |
| const AVFilterFormats * | fmts | ||
| ) |
Definition at line 1281 of file formats.c.
Referenced by filter_link_check_formats().
| int ff_formats_check_alpha_modes | ( | void * | log, |
| const AVFilterFormats * | fmts | ||
| ) |
Check that fmts is a valid formats list for alpha modes.
In particular, check for duplicates.
Definition at line 1286 of file formats.c.
Referenced by filter_link_check_formats().
| const AVFilterNegotiation* ff_filter_get_negotiation | ( | const AVFilterLink * | link | ) |
Definition at line 461 of file formats.c.
Referenced by print_filter_formats(), and query_formats().
1.8.17