AVFilterBufferRef Struct Reference

A reference to an AVFilterBuffer. More...

#include <avfilter.h>


Data Fields

AVFilterBufferbuf
 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
AVFilterBufferRefVideoPropsvideo
 video buffer specific properties
AVFilterBufferRefAudioPropsaudio
 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 142 of file avfilter.h.


Field Documentation


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

Generated on Fri Oct 26 02:43:55 2012 for FFmpeg by  doxygen 1.5.8