CVD::DV3::RawDVBuffer3 Class Reference

#include <dvbuffer3.h>

Inheritance diagram for CVD::DV3::RawDVBuffer3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void auto_on_off (DV3Feature nFeature, bool bValue)
DV3ColourFilter colour_filter ()
bool frame_pending ()
double frame_rate ()
 What is the (expected) frame rate of this video buffer, in frames per second?
std::pair< unsigned int,
unsigned int > 
get_feature_min_max (DV3Feature nFeature)
unsigned int get_feature_value (DV3Feature nFeature)
VideoFrame< byte > * get_frame ()
ImageRef offset ()
void power_on_off (DV3Feature nFeature, bool bValue)
void put_frame (VideoFrame< byte > *f)
 RawDVBuffer3 (DV3ColourSpace colourspace, int nCamNumber=0, uint64_t cam_guid=-1, int cam_unit=-1, bool verbose=0, bool bus_reset=0, ImageRef irSize=ImageRef(-1,-1), float fFrameRate=-1.0, ImageRef irOffset=ImageRef(-1,-1), int format7_mode=-1)
void set_feature_value (DV3Feature nFeature, unsigned int nValue)
ImageRef size ()
 The size of the VideoFrames returned by this buffer.
 ~RawDVBuffer3 ()

Static Public Member Functions

static void stopAllTransmissions (void)

Private Attributes

DV3ColourFilter mColourfilter
double mdFramerate
ImageRef mirOffset
ImageRef mirSize
LibDCParams * mpLDCP
 This encapsulates the actual libDC1394 variables.

Detailed Description

Non-templated libDC1394 interface. This is used by DVBuffer3. If you want typed video frames, you should use DVBuffer 3 instead.. The implementation of this class depends on which version of libDC1394 is installed on the system. Format 7 support is only present for libDC1394 V2.

Definition at line 120 of file dvbuffer3.h.


Constructor & Destructor Documentation

CVD::DV3::RawDVBuffer3::RawDVBuffer3 ( DV3ColourSpace  colourspace,
int  nCamNumber = 0,
uint64_t  cam_guid = -1,
int  cam_unit = -1,
bool  verbose = 0,
bool  bus_reset = 0,
ImageRef  irSize = ImageRef(-1,-1),
float  fFrameRate = -1.0,
ImageRef  irOffset = ImageRef(-1,-1),
int  format7_mode = -1 
)

Mode-selecting constructor for all standard modes & Format 7. First it tries to find a standard mode, then it looks at the Format 7 modes. If an offset is given, standard modes are skipped (they don't allow offsets).

Parameters:
colourspace Enumerated colourspace requested
nCamNumber Which camera on the bus to use
irSize Requested video size; if left at (-1,-1) use biggest available
fFrameRate Requested frame-rate; if negative, use fastest available
irOffset offset of video frame in CCD; if left at (-1,-1) use default modes or center window
CVD::DV3::RawDVBuffer3::~RawDVBuffer3 (  ) 

Member Function Documentation

void CVD::DV3::RawDVBuffer3::auto_on_off ( DV3Feature  nFeature,
bool  bValue 
)
DV3ColourFilter CVD::DV3::RawDVBuffer3::colour_filter (  )  [inline]

Definition at line 147 of file dvbuffer3.h.

bool CVD::DV3::RawDVBuffer3::frame_pending (  )  [virtual]

Is there a frame waiting in the buffer? This function does not block. See is_live and is_flushable.

Implements CVD::RawVideoBuffer.

Reimplemented in CVD::DVBuffer3< pixel_T >.

double CVD::DV3::RawDVBuffer3::frame_rate (  )  [inline, virtual]

What is the (expected) frame rate of this video buffer, in frames per second?

Implements CVD::RawVideoBuffer.

Reimplemented in CVD::DVBuffer3< pixel_T >.

Definition at line 146 of file dvbuffer3.h.

std::pair<unsigned int, unsigned int> CVD::DV3::RawDVBuffer3::get_feature_min_max ( DV3Feature  nFeature  ) 
unsigned int CVD::DV3::RawDVBuffer3::get_feature_value ( DV3Feature  nFeature  ) 
VideoFrame<byte>* CVD::DV3::RawDVBuffer3::get_frame (  ) 

Reimplemented in CVD::DVBuffer3< pixel_T >.

ImageRef CVD::DV3::RawDVBuffer3::offset (  )  [inline]

Definition at line 145 of file dvbuffer3.h.

void CVD::DV3::RawDVBuffer3::power_on_off ( DV3Feature  nFeature,
bool  bValue 
)
void CVD::DV3::RawDVBuffer3::put_frame ( VideoFrame< byte > *  f  ) 
void CVD::DV3::RawDVBuffer3::set_feature_value ( DV3Feature  nFeature,
unsigned int  nValue 
)
ImageRef CVD::DV3::RawDVBuffer3::size (  )  [inline, virtual]

The size of the VideoFrames returned by this buffer.

Implements CVD::RawVideoBuffer.

Reimplemented in CVD::DVBuffer3< pixel_T >.

Definition at line 144 of file dvbuffer3.h.

static void CVD::DV3::RawDVBuffer3::stopAllTransmissions ( void   )  [static]

Member Data Documentation

Definition at line 164 of file dvbuffer3.h.

Definition at line 163 of file dvbuffer3.h.

Definition at line 162 of file dvbuffer3.h.

Definition at line 161 of file dvbuffer3.h.

LibDCParams* CVD::DV3::RawDVBuffer3::mpLDCP [private]

This encapsulates the actual libDC1394 variables.

Definition at line 166 of file dvbuffer3.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:54 2013