avfilter: declare filters that handle changed frame sizes

These filters process each frame with its own size.

Found during review of the fix for the security report RqgTntCAW2qN.
This commit is contained in:
Michael Niedermayer authored and michaelni committed 2026-10-12 00:42:48 +00:00
1 parent 5732075535
commit ec26cd494f
11 files changed
+12

No files matched your search

+1
View File
@@ -484,6 +484,7 @@ const FFFilter ff_vf_drawgraph = {
FILTER_INPUTS(drawgraph_inputs),
FILTER_OUTPUTS(drawgraph_outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_PARAMS,
};
#endif // CONFIG_DRAWGRAPH_FILTER
+1
View File
@@ -239,6 +239,7 @@ const FFFilter ff_vf_interleave = {
.init = init,
.activate = activate,
FILTER_OUTPUTS(interleave_outputs),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_PARAMS,
};
#endif
+1
View File
@@ -306,6 +306,7 @@ const FFFilter ff_vf_streamselect = {
.uninit = uninit,
.activate = activate,
.priv_size = sizeof(StreamSelectContext),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_PARAMS,
};
const FFFilter ff_af_astreamselect = {
+1
View File
@@ -308,4 +308,5 @@ const FFFilter ff_vf_colordetect = {
FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_QUERY_FUNC2(query_format),
.activate = activate,
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_SIZE,
};
+1
View File
@@ -76,4 +76,5 @@ const FFFilter ff_vf_copy = {
FILTER_INPUTS(avfilter_vf_copy_inputs),
FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_SIZE,
};
+2
View File
@@ -482,6 +482,7 @@ const FFFilter ff_vf_drawbox = {
FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_PIXFMTS_ARRAY(pix_fmts),
.process_command = process_command,
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_SIZE,
};
#endif /* CONFIG_DRAWBOX_FILTER */
@@ -557,6 +558,7 @@ const FFFilter ff_vf_drawgrid = {
FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_PIXFMTS_ARRAY(pix_fmts),
.process_command = process_command,
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_SIZE,
};
#endif /* CONFIG_DRAWGRID_FILTER */
+1
View File
@@ -136,4 +136,5 @@ const FFFilter ff_vf_iccdetect = {
.uninit = &iccdetect_uninit,
FILTER_INPUTS(iccdetect_inputs),
FILTER_OUTPUTS(ff_video_default_filterpad),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_PARAMS,
};
+1
View File
@@ -172,4 +172,5 @@ const FFFilter ff_vf_iccgen = {
.uninit = &iccgen_uninit,
FILTER_INPUTS(iccgen_inputs),
FILTER_OUTPUTS(ff_video_default_filterpad),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_PARAMS,
};
+1
View File
@@ -139,4 +139,5 @@ const FFFilter ff_vf_ocr = {
FILTER_INPUTS(ocr_inputs),
FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_PIXFMTS_ARRAY(pix_fmts),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_SIZE,
};
+1
View File
@@ -165,4 +165,5 @@ const FFFilter ff_vf_shuffleplanes = {
FILTER_INPUTS(shuffleplanes_inputs),
FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_SIZE,
};
+1
View File
@@ -1109,4 +1109,5 @@ const FFFilter ff_vf_zscale = {
FILTER_OUTPUTS(avfilter_vf_zscale_outputs),
FILTER_QUERY_FUNC2(query_formats),
.process_command = process_command,
.flags_internal = FF_FILTER_FLAG_DYNAMIC_FRAME_SIZE,
};