diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-02-13 01:28:12 +0300 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-02-13 01:28:12 +0300 |
commit | bcab11a1a23d8b156198db352bbdb932740a966c (patch) | |
tree | 827e9acc1a7547c1d5d719e2b7db00971d62f281 /libavfilter/avfilter.h | |
parent | 9471122a1b5dec34572c3d4c675737f0493d140e (diff) | |
parent | 6d86cef06ba36c0ed591e14a2382e9630059fc5d (diff) |
Merge commit '6d86cef06ba36c0ed591e14a2382e9630059fc5d'
* commit '6d86cef06ba36c0ed591e14a2382e9630059fc5d':
lavfi: Add support for increasing hardware frame pool sizes
Merged-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 62eed2168f..2d1195eeeb 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -406,6 +406,22 @@ struct AVFilterContext { * a higher value suggests a more urgent activation. */ unsigned ready; + + /** + * Sets the number of extra hardware frames which the filter will + * allocate on its output links for use in following filters or by + * the caller. + * + * Some hardware filters require all frames that they will use for + * output to be defined in advance before filtering starts. For such + * filters, any hardware frame pools used for output must therefore be + * of fixed size. The extra frames set here are on top of any number + * that the filter needs internally in order to operate normally. + * + * This field must be set before the graph containing this filter is + * configured. + */ + int extra_hw_frames; }; /** |