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.
int w
int h
 width and height of the allocated buffer


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


Field Documentation

uint8_t* AVFilterPic::data[4]

picture data for each plane

Definition at line 72 of file avfilter.h.

Referenced by avfilter_default_free_video_buffer().

colorspace

Definition at line 74 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().

width and height of the allocated buffer

Definition at line 88 of file avfilter.h.

Referenced by avfilter_default_get_video_buffer().

number of bytes per line

Definition at line 73 of file avfilter.h.

private data to be used by a custom free function

Definition at line 79 of file avfilter.h.

number of references to this image

Definition at line 76 of file avfilter.h.

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

Definition at line 88 of file avfilter.h.

Referenced by avfilter_default_get_video_buffer().


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

Generated on Fri Oct 26 02:36:56 2012 for FFmpeg by  doxygen 1.5.8