Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

picture_t Struct Reference

#include <vlc_video.h>

List of all members.

Public Attributes

video_frame_format_t format
uint8_t * p_data
void * p_data_orig
plane_t p [VOUT_MAX_PLANES]
int i_planes
picture_heap_tp_heap
picture_sys_t * p_sys
void(* pf_release )(picture_t *)
picture_tp_next
Type and flags
Should NOT be modified except by the vout thread

int i_status
int i_type
vlc_bool_t b_slow
int i_matrix_coefficients
Picture management properties
These properties can be modified using the video output thread API, but should never be written directly

*int i_refcount
mtime_t date
vlc_bool_t b_force
Picture dynamic properties
Those properties can be changed by the decoder

vlc_bool_t b_progressive
unsigned int i_nb_fields
vlc_bool_t b_top_field_first


Detailed Description

Video picture

Any picture destined to be displayed by a video output thread should be stored in this structure from it's creation to it's effective display. Picture type and flags should only be modified by the output thread. Note that an empty picture MUST have its flags set to 0.

Definition at line 58 of file vlc_video.h.


Member Data Documentation

vlc_bool_t picture_t::b_progressive
 

is it a progressive frame ?

Definition at line 95 of file vlc_video.h.

vlc_bool_t picture_t::b_slow
 

is picture in slow memory ?

Definition at line 78 of file vlc_video.h.

Referenced by vout_RenderPicture().

vlc_bool_t picture_t::b_top_field_first
 

which field is first

Definition at line 97 of file vlc_video.h.

mtime_t picture_t::date
 

display date

Definition at line 87 of file vlc_video.h.

video_frame_format_t picture_t::format
 

The properties of the picture

Definition at line 63 of file vlc_video.h.

int picture_t::i_matrix_coefficients
 

in YUV type, encoding type

Definition at line 79 of file vlc_video.h.

unsigned int picture_t::i_nb_fields
 

# of displayed fields

Definition at line 96 of file vlc_video.h.

int picture_t::i_planes
 

number of allocated planes

Definition at line 71 of file vlc_video.h.

* int picture_t::i_refcount
 

link reference counter

Definition at line 86 of file vlc_video.h.

Referenced by vout_RenderPicture().

int picture_t::i_status
 

picture flags

Definition at line 76 of file vlc_video.h.

Referenced by vout_RenderPicture().

int picture_t::i_type
 

is picture a direct buffer ?

Definition at line 77 of file vlc_video.h.

Referenced by vout_RenderPicture().

plane_t picture_t::p[VOUT_MAX_PLANES]
 

description of the planes

Definition at line 70 of file vlc_video.h.

Referenced by PngBitmap::PngBitmap().

uint8_t* picture_t::p_data
 

Picture data - data can always be freely modified, but p_data may NEVER be modified. A direct buffer can be handled as the plugin wishes, it can even swap p_pixels buffers.

Definition at line 68 of file vlc_video.h.

void* picture_t::p_data_orig
 

pointer before memalign

Definition at line 69 of file vlc_video.h.

picture_heap_t* picture_t::p_heap
 

The picture heap we are attached to

Definition at line 101 of file vlc_video.h.

struct picture_t* picture_t::p_next
 

Next picture in a FIFO a pictures

Definition at line 115 of file vlc_video.h.

picture_sys_t* picture_t::p_sys
 

Private data - the video output plugin might want to put stuff here to keep track of the picture

Definition at line 109 of file vlc_video.h.

void(* picture_t::pf_release)(picture_t *)
 

This way the picture_Release can be overloaded

Referenced by PngBitmap::PngBitmap().


The documentation for this struct was generated from the following file:
Generated on Tue Dec 20 10:15:03 2005 for vlc-0.8.4a by  doxygen 1.4.2