vc::vdFrame Struct Reference

#include <vdFrame.h>

List of all members.


Detailed Description

This is a single frame from the video device.

Public Member Functions

 vdFrame ()
 ~vdFrame ()
pixel getPixel (int x, int y)
void setPixel (int x, int y, pixel px)

Public Attributes

char * buffer
 This is the image data in 3 bytes in BGR order.
unsigned long bufferSize
 Size in bytes of the image data. Should always be 3*width.
unsigned long height
 Height of this frame.
unsigned long width
 Width of this frame.
time_t captured
 Frame capture time.

Constructor & Destructor Documentation

vc::vdFrame::vdFrame (  )  [inline]

vc::vdFrame::~vdFrame (  )  [inline]


Member Function Documentation

pixel vc::vdFrame::getPixel ( int  x,
int  y 
) [inline]

void vc::vdFrame::setPixel ( int  x,
int  y,
pixel  px 
) [inline]


Member Data Documentation

char* vc::vdFrame::buffer

This is the image data in 3 bytes in BGR order.

unsigned long vc::vdFrame::bufferSize

Size in bytes of the image data. Should always be 3*width.

unsigned long vc::vdFrame::height

Height of this frame.

unsigned long vc::vdFrame::width

Width of this frame.

time_t vc::vdFrame::captured

Frame capture time.


The documentation for this struct was generated from the following file:
Generated on Mon Jul 28 16:14:11 2008 for libvcvideo by  doxygen 1.5.3