#include <avfilter.h>
Data Fields | |
AVFilterBuffer * | buf |
the buffer that this is a reference to | |
uint8_t * | data [8] |
picture/audio data for each plane | |
int | linesize [8] |
number of bytes per line | |
int | format |
media format | |
int64_t | pts |
presentation timestamp. | |
int64_t | pos |
byte position in stream, -1 if unknown | |
int | perms |
permissions, see the AV_PERM_* flags | |
enum AVMediaType | type |
media type of buffer data | |
AVFilterBufferRefVideoProps * | video |
video buffer specific properties | |
AVFilterBufferRefAudioProps * | audio |
audio buffer specific properties |
Since filters can manipulate the origin of a buffer to, for example, crop image without any memcpy, the buffer origin and dimensions are per-reference properties. Linesize is also useful for image flipping, frame to field filters, etc, and so is also per-reference.
TODO: add anything necessary for frame reordering
Definition at line 129 of file avfilter.h.
audio buffer specific properties
Definition at line 147 of file avfilter.h.
Referenced by avfilter_copy_buffer_ref_props(), avfilter_default_filter_samples(), avfilter_filter_samples(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_link_free(), avfilter_ref_buffer(), avfilter_unref_buffer(), ff_dlog_ref(), and store_in_pool().
the buffer that this is a reference to
Definition at line 130 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_link_free(), avfilter_ref_buffer(), avfilter_unref_buffer(), does_clip(), ff_dlog_ref(), start_frame(), store_in_pool(), and vf_next_put_image().
uint8_t* AVFilterBufferRef::data[8] |
picture/audio data for each plane
Definition at line 131 of file avfilter.h.
Referenced by av_vsrc_buffer_add_video_buffer_ref(), avfilter_default_get_video_buffer(), avfilter_draw_slice(), avfilter_fill_frame_from_video_buffer_ref(), avfilter_filter_samples(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), blend_slice(), color_request_frame(), does_clip(), draw_glyph_rgb(), draw_glyph_yuv(), draw_send_bar_slice(), draw_slice(), drawbox(), end_frame(), ff_dlog_ref(), fill_iplimage_from_picref(), fill_picref_from_iplimage(), filter(), get_video_buffer(), movie_get_frame(), scale_slice(), start_frame(), and vf_next_put_image().
media format
Definition at line 133 of file avfilter.h.
Referenced by av_vsrc_buffer_add_video_buffer_ref(), avfilter_copy_frame_props(), avfilter_default_filter_samples(), avfilter_default_get_video_buffer(), avfilter_filter_samples(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), blend_slice(), end_frame(), movie_get_frame(), start_frame(), and vf_next_put_image().
int AVFilterBufferRef::linesize[8] |
number of bytes per line
Definition at line 132 of file avfilter.h.
Referenced by av_vsrc_buffer_add_video_buffer_ref(), avfilter_default_get_video_buffer(), avfilter_draw_slice(), avfilter_fill_frame_from_video_buffer_ref(), avfilter_filter_samples(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), avfilter_start_frame(), blend_slice(), color_request_frame(), does_clip(), draw_glyph_rgb(), draw_glyph_yuv(), draw_send_bar_slice(), draw_slice(), drawbox(), end_frame(), ff_dlog_ref(), fill_iplimage_from_picref(), fill_picref_from_iplimage(), filter(), get_video_buffer(), movie_get_frame(), scale_slice(), start_frame(), and vf_next_put_image().
permissions, see the AV_PERM_* flags
Definition at line 143 of file avfilter.h.
Referenced by avfilter_default_get_video_buffer(), avfilter_filter_samples(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer_ref_from_arrays(), avfilter_ref_buffer(), avfilter_start_frame(), end_frame(), ff_dlog_ref(), start_frame(), and vf_next_put_image().
int64_t AVFilterBufferRef::pos |
byte position in stream, -1 if unknown
Definition at line 141 of file avfilter.h.
Referenced by avfilter_copy_buffer_ref_props(), avfilter_copy_frame_props(), avfilter_fill_frame_from_video_buffer_ref(), color_request_frame(), end_frame(), ff_dlog_ref(), movie_get_frame(), select_frame(), source_request_frame(), start_frame(), and video_thread().
int64_t AVFilterBufferRef::pts |
presentation timestamp.
The time unit may change during filtering, as it is specified in the link and the filter code may need to rescale the PTS accordingly.
Definition at line 140 of file avfilter.h.
Referenced by avfilter_copy_buffer_ref_props(), avfilter_copy_frame_props(), avfilter_default_filter_samples(), avfilter_filter_samples(), color_request_frame(), end_frame(), ff_dlog_ref(), movie_get_frame(), return_frame(), select_frame(), source_request_frame(), start_frame(), start_frame_overlay(), vf_next_put_image(), and video_thread().
media type of buffer data
Definition at line 145 of file avfilter.h.
Referenced by avfilter_copy_buffer_ref_props(), avfilter_copy_frame_props(), avfilter_get_audio_buffer(), avfilter_get_audio_buffer_ref_from_arrays(), avfilter_get_video_buffer(), avfilter_get_video_buffer_ref_from_arrays(), avfilter_ref_buffer(), and vf_next_put_image().
video buffer specific properties
Definition at line 146 of file avfilter.h.
Referenced by av_vsrc_buffer_add_video_buffer_ref(), avfilter_copy_buffer_ref_props(), avfilter_copy_frame_props(), avfilter_default_get_video_buffer(), avfilter_draw_slice(), avfilter_fill_frame_from_video_buffer_ref(), avfilter_get_video_buffer_ref_from_arrays(), avfilter_link_free(), avfilter_ref_buffer(), avfilter_unref_buffer(), color_request_frame(), draw_slice(), end_frame(), ff_dlog_ref(), fill_iplimage_from_picref(), filter(), get_video_buffer(), movie_get_frame(), return_frame(), select_frame(), source_request_frame(), start_frame(), store_in_pool(), and vf_next_put_image().