AVFilterBufferRef Struct Reference

A reference to an AVFilterBuffer. More...

#include <avfilter.h>

Data Fields

 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
 video buffer specific properties
 audio buffer specific properties

Detailed Description

A reference to an AVFilterBuffer.

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.

Field Documentation

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().

The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:39:51 2012 for FFmpeg by  doxygen 1.5.8