#include <avfilter.h>
Data Fields | |
| uint8_t * | data [8] |
| buffer data for each plane/channel | |
| int | linesize [8] |
| number of bytes per line | |
| unsigned | refcount |
| number of references to this buffer | |
| void * | priv |
| private data to be used by a custom free function | |
| void(* | free )(struct AVFilterBuffer *buf) |
| A pointer to the function to deallocate this buffer if the default function is not sufficient. | |
| int | format |
| media format | |
| int | w |
| int | h |
| width and height of the allocated buffer | |
Filters should not store pointers to this structure directly, but instead use the AVFilterBufferRef structure below.
Definition at line 69 of file avfilter.h.
| uint8_t* AVFilterBuffer::data[8] |
buffer data for each plane/channel
Definition at line 70 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), does_clip(), ff_avfilter_default_free_buffer(), free_pool(), store_in_pool(), and vf_next_put_image().
media format
Definition at line 85 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_get_video_buffer_ref_from_arrays(), start_frame(), and vf_next_put_image().
| void(* AVFilterBuffer::free)(struct AVFilterBuffer *buf) |
A pointer to the function to deallocate this buffer if the default function is not sufficient.
This could, for example, add the memory back into a memory pool to be reused later without the overhead of reallocating it from scratch.
Referenced by av_asrc_buffer_add_samples(), avfilter_default_get_video_buffer(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), avfilter_unref_buffer(), and transcode_video().
width and height of the allocated buffer
Definition at line 86 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_get_video_buffer_ref_from_arrays(), does_clip(), start_frame(), and vf_next_put_image().
| int AVFilterBuffer::linesize[8] |
number of bytes per line
Definition at line 71 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), does_clip(), and vf_next_put_image().
| void* AVFilterBuffer::priv |
private data to be used by a custom free function
Definition at line 76 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), filter_release_buffer(), store_in_pool(), and transcode_video().
| unsigned AVFilterBuffer::refcount |
number of references to this buffer
Definition at line 73 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), avfilter_ref_buffer(), avfilter_unref_buffer(), ff_dlog_ref(), free_pool(), and vf_next_put_image().
Definition at line 86 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_get_video_buffer_ref_from_arrays(), does_clip(), start_frame(), and vf_next_put_image().
1.5.8