AVFilterPic Struct Reference

A reference-counted picture data type used by the filter system. More...

#include <avfilter.h>


Data Fields

uint8_t * data [4]
 picture data for each plane
int linesize [4]
 number of bytes per line
enum PixelFormat format
 colorspace
unsigned refcount
 number of references to this image
void * priv
 private data to be used by a custom free function
void(* free )(struct AVFilterPic *pic)
 A pointer to the function to deallocate this image if the default function is not sufficient.


Detailed Description

A reference-counted picture data type used by the filter system.

Filters should not store pointers to this structure directly, but instead use the AVFilterPicRef structure below.

Definition at line 57 of file avfilter.h.


Field Documentation

uint8_t* AVFilterPic::data[4]

picture data for each plane

Definition at line 59 of file avfilter.h.

Referenced by avfilter_default_free_video_buffer().

colorspace

Definition at line 61 of file avfilter.h.

Referenced by avfilter_default_get_video_buffer().

void(* AVFilterPic::free)(struct AVFilterPic *pic)

A pointer to the function to deallocate this image 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 avfilter_default_get_video_buffer(), and avfilter_unref_pic().

number of bytes per line

Definition at line 60 of file avfilter.h.

private data to be used by a custom free function

Definition at line 66 of file avfilter.h.

number of references to this image

Definition at line 63 of file avfilter.h.

Referenced by avfilter_default_get_video_buffer(), avfilter_ref_pic(), and avfilter_unref_pic().


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

Generated on Fri Oct 26 02:35:47 2012 for FFmpeg by  doxygen 1.5.8