mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
Merge commit '6d86cef06ba36c0ed591e14a2382e9630059fc5d'
* commit '6d86cef06ba36c0ed591e14a2382e9630059fc5d': lavfi: Add support for increasing hardware frame pool sizes Merged-by: Mark Thompson <sw@jkqxz.net>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user