|
|
|
@ -195,9 +195,21 @@ AVFilterBufferRef *avfilter_ref_buffer(AVFilterBufferRef *ref, int pmask); |
|
|
|
|
* buffer, the buffer itself is also automatically freed. |
|
|
|
|
* |
|
|
|
|
* @param ref reference to the buffer, may be NULL |
|
|
|
|
* |
|
|
|
|
* @note it is recommended to use avfilter_unref_bufferp() instead of this |
|
|
|
|
* function |
|
|
|
|
*/ |
|
|
|
|
void avfilter_unref_buffer(AVFilterBufferRef *ref); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Remove a reference to a buffer and set the pointer to NULL. |
|
|
|
|
* If this is the last reference to the buffer, the buffer itself |
|
|
|
|
* is also automatically freed. |
|
|
|
|
* |
|
|
|
|
* @param ref pointer to the buffer reference |
|
|
|
|
*/ |
|
|
|
|
void avfilter_unref_bufferp(AVFilterBufferRef **ref); |
|
|
|
|
|
|
|
|
|
#if FF_API_AVFILTERPAD_PUBLIC |
|
|
|
|
/**
|
|
|
|
|
* A filter pad used for either input or output. |
|
|
|
|