Merge commit '6d86cef06b
'
* commit '6d86cef06b
':
lavfi: Add support for increasing hardware frame pool sizes
Merged-by: Mark Thompson <sw@jkqxz.net>
This commit is contained in:
commit
bcab11a1a2
5 changed files with 60 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue