|
|
@ -457,6 +457,8 @@ typedef struct AVFilter { |
|
|
|
int (*query_formats)(AVFilterContext *); |
|
|
|
int (*query_formats)(AVFilterContext *); |
|
|
|
|
|
|
|
|
|
|
|
int priv_size; ///< size of private data to allocate for the filter
|
|
|
|
int priv_size; ///< size of private data to allocate for the filter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct AVFilter *next; |
|
|
|
} AVFilter; |
|
|
|
} AVFilter; |
|
|
|
|
|
|
|
|
|
|
|
/** An instance of a filter */ |
|
|
|
/** An instance of a filter */ |
|
|
@ -622,8 +624,11 @@ AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_arrays(uint8_t **data, |
|
|
|
/** Initialize the filter system. Register all builtin filters. */ |
|
|
|
/** Initialize the filter system. Register all builtin filters. */ |
|
|
|
void avfilter_register_all(void); |
|
|
|
void avfilter_register_all(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if FF_API_OLD_FILTER_REGISTER |
|
|
|
/** Uninitialize the filter system. Unregister all filters. */ |
|
|
|
/** Uninitialize the filter system. Unregister all filters. */ |
|
|
|
|
|
|
|
attribute_deprecated |
|
|
|
void avfilter_uninit(void); |
|
|
|
void avfilter_uninit(void); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Register a filter. This is only needed if you plan to use |
|
|
|
* Register a filter. This is only needed if you plan to use |
|
|
@ -646,13 +651,24 @@ int avfilter_register(AVFilter *filter); |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
AVFilter *avfilter_get_by_name(const char *name); |
|
|
|
AVFilter *avfilter_get_by_name(const char *name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Iterate over all registered filters. |
|
|
|
|
|
|
|
* @return If prev is non-NULL, next registered filter after prev or NULL if |
|
|
|
|
|
|
|
* prev is the last filter. If prev is NULL, return the first registered filter. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
const AVFilter *avfilter_next(const AVFilter *prev); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if FF_API_OLD_FILTER_REGISTER |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* If filter is NULL, returns a pointer to the first registered filter pointer, |
|
|
|
* If filter is NULL, returns a pointer to the first registered filter pointer, |
|
|
|
* if filter is non-NULL, returns the next pointer after filter. |
|
|
|
* if filter is non-NULL, returns the next pointer after filter. |
|
|
|
* If the returned pointer points to NULL, the last registered filter |
|
|
|
* If the returned pointer points to NULL, the last registered filter |
|
|
|
* was already reached. |
|
|
|
* was already reached. |
|
|
|
|
|
|
|
* @deprecated use avfilter_next() |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
attribute_deprecated |
|
|
|
AVFilter **av_filter_next(AVFilter **filter); |
|
|
|
AVFilter **av_filter_next(AVFilter **filter); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if FF_API_AVFILTER_OPEN |
|
|
|
#if FF_API_AVFILTER_OPEN |
|
|
|
/**
|
|
|
|
/**
|
|
|
|