|
|
@ -140,10 +140,9 @@ static const AVOption options[] = { |
|
|
|
{ NULL } |
|
|
|
{ NULL } |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#if CONFIG_FORMAT_FILTER |
|
|
|
AVFILTER_DEFINE_CLASS_EXT(format, "(no)format", options); |
|
|
|
|
|
|
|
|
|
|
|
#define format_options options |
|
|
|
#if CONFIG_FORMAT_FILTER |
|
|
|
AVFILTER_DEFINE_CLASS(format); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const AVFilterPad avfilter_vf_format_inputs[] = { |
|
|
|
static const AVFilterPad avfilter_vf_format_inputs[] = { |
|
|
|
{ |
|
|
|
{ |
|
|
@ -179,9 +178,6 @@ const AVFilter ff_vf_format = { |
|
|
|
|
|
|
|
|
|
|
|
#if CONFIG_NOFORMAT_FILTER |
|
|
|
#if CONFIG_NOFORMAT_FILTER |
|
|
|
|
|
|
|
|
|
|
|
#define noformat_options options |
|
|
|
|
|
|
|
AVFILTER_DEFINE_CLASS(noformat); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const AVFilterPad avfilter_vf_noformat_inputs[] = { |
|
|
|
static const AVFilterPad avfilter_vf_noformat_inputs[] = { |
|
|
|
{ |
|
|
|
{ |
|
|
|
.name = "default", |
|
|
|
.name = "default", |
|
|
@ -200,6 +196,7 @@ static const AVFilterPad avfilter_vf_noformat_outputs[] = { |
|
|
|
const AVFilter ff_vf_noformat = { |
|
|
|
const AVFilter ff_vf_noformat = { |
|
|
|
.name = "noformat", |
|
|
|
.name = "noformat", |
|
|
|
.description = NULL_IF_CONFIG_SMALL("Force libavfilter not to use any of the specified pixel formats for the input to the next filter."), |
|
|
|
.description = NULL_IF_CONFIG_SMALL("Force libavfilter not to use any of the specified pixel formats for the input to the next filter."), |
|
|
|
|
|
|
|
.priv_class = &format_class, |
|
|
|
|
|
|
|
|
|
|
|
.init = init, |
|
|
|
.init = init, |
|
|
|
.uninit = uninit, |
|
|
|
.uninit = uninit, |
|
|
@ -207,7 +204,6 @@ const AVFilter ff_vf_noformat = { |
|
|
|
.query_formats = query_formats, |
|
|
|
.query_formats = query_formats, |
|
|
|
|
|
|
|
|
|
|
|
.priv_size = sizeof(FormatContext), |
|
|
|
.priv_size = sizeof(FormatContext), |
|
|
|
.priv_class = &noformat_class, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FILTER_INPUTS(avfilter_vf_noformat_inputs), |
|
|
|
FILTER_INPUTS(avfilter_vf_noformat_inputs), |
|
|
|
FILTER_OUTPUTS(avfilter_vf_noformat_outputs), |
|
|
|
FILTER_OUTPUTS(avfilter_vf_noformat_outputs), |
|
|
|