mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avfilter/avfilter: Add avfilter_filter_pad_count()
It is intended as replacement for avfilter_pad_count(). In contrast to the latter, it avoids a loop. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -325,6 +325,11 @@ typedef struct AVFilter {
|
||||
int (*activate)(AVFilterContext *ctx);
|
||||
} AVFilter;
|
||||
|
||||
/**
|
||||
* Get the number of elements in an AVFilter's inputs or outputs array.
|
||||
*/
|
||||
unsigned avfilter_filter_pad_count(const AVFilter *filter, int is_output);
|
||||
|
||||
/**
|
||||
* Process multiple parts of the frame concurrently.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user