AVFilterPic Struct Reference

#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
void(* free )(struct AVFilterPic *pic)


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 52 of file avfilter.h.


Field Documentation

uint8_t* AVFilterPic::data[4]

picture data for each plane

Definition at line 54 of file avfilter.h.

Referenced by avfilter_default_free_video_buffer().

int AVFilterPic::linesize[4]

number of bytes per line

Definition at line 55 of file avfilter.h.

enum PixelFormat AVFilterPic::format

colorspace

Definition at line 56 of file avfilter.h.

Referenced by avfilter_default_get_video_buffer().

unsigned AVFilterPic::refcount

number of references to this image

Definition at line 58 of file avfilter.h.

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

void* AVFilterPic::priv

private data to be used by a custom free function

Definition at line 61 of file avfilter.h.

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


The documentation for this struct was generated from the following file:
Generated on Thu Nov 20 05:46:09 2008 for libextractor by  doxygen 1.5.1