6 #include <cvd/colourspaces.h> 8 #include <cvd/videobuffer.h> 21 All(std::string sWhat)
82 #ifndef DOXYGEN_IGNORE_INTERNAL 87 static const DV3ColourSpace space = C::Error__type_not_valid_for_camera;
221 uint64_t cam_guid = -1,
226 float fFrameRate = -1.0,
228 int format7_mode = -1);
231 static void stopAllTransmissions(
void);
233 inline ImageRef offset() {
return mirOffset; }
239 bool frame_pending();
241 void set_feature_value(
DV3Feature nFeature,
unsigned int nValue);
242 unsigned int get_feature_value(
DV3Feature nFeature);
243 std::pair<unsigned int, unsigned int> get_feature_min_max(
DV3Feature nFeature);
244 void auto_on_off(
DV3Feature nFeature,
bool bValue);
245 void power_on_off(
DV3Feature nFeature,
bool bValue);
262 template <
class pixel_T>
272 int format7_mode = -1)
274 , RawDVBuffer3(
DV3::CSConvert<pixel_T>::space, nCamNumber, 0, -1, verbose, bus_reset, irSize, fFPS, irOffset, format7_mode)
DV3ColourSpace
This enumerates all the colourspace types supported by DC1394 N.b.
Definition: dvbuffer3.h:55
Definition: dvbuffer3.h:85
Non-templated libDC1394 interface.
Definition: dvbuffer3.h:208
Base class which provides untyped access to video grabber objects.
Definition: videobuffer.h:39
Definition: dvbuffer3.h:156
A colour consisting of red, green and blue components.
Definition: rgb.h:25
All classes and functions are within the CVD namespace.
Definition: argb.h:6
virtual bool frame_pending()
Is there a frame waiting in the buffer? This function does not block.
Definition: dvbuffer3.h:291
16bit big endian Bayer datatype representing the colour filter pattern RGGB
Definition: colourspaces.h:157
A datatype to represent yuv411 (uyyvyy) data, typically from firewire cameras.
Definition: colourspaces.h:176
Base class for objects which provide a typed video stream.
Definition: videobuffer.h:88
ImageRef size()
The size of the VideoFrames returned by this buffer.
Definition: dvbuffer3.h:282
virtual VideoFrame< pixel_T > * get_frame()
Returns the next frame from the buffer. This function blocks until a frame is ready.
Definition: dvbuffer3.h:283
Class for all DVBuffer3 exceptions.
Definition: dvbuffer3.h:19
The buffer has live semantics: frames are throttled by something externa, but VideoBuffer::frame_pend...
Definition: videobuffer.h:23
virtual void seek_to(double)
Go to a particular point in the video buffer (only implemented in buffers of recorded video) ...
Definition: dvbuffer3.h:292
DV3Feature
This enumerates the list of controllable features (This isn't the full set of DC1394 ones...
Definition: dvbuffer3.h:34
DV3ColourFilter
This enumerates the different colour filter tile patterns for Bayer images.
Definition: dvbuffer3.h:73
A video buffer from a Firewire (IEEE 1394) camera.
Definition: dvbuffer3.h:263
Definition: dvbuffer3_dc1394v1.cc:19
Definition: image_ref.h:29
double frame_rate()
What is the (expected) frame rate of this video buffer, in frames per second?
Definition: dvbuffer3.h:234
Bayer datatype representing the colour filter pattern GRBG.
Definition: colourspaces.h:40
Bayer datatype representing the colour filter pattern GBRG.
Definition: colourspaces.h:27
ImageRef size()
The size of the VideoFrames returned by this buffer.
Definition: dvbuffer3.h:232
unsigned char byte
An 8-bit datatype.
Definition: byte.h:8
Base class for all VideoBuffer exceptions.
Definition: videobuffer.h:153
16 bit big endian Bayer datatype representing the colour filter pattern BGGR
Definition: colourspaces.h:118
16bit big endian Bayer datatype representing the colour filter pattern GRBG
Definition: colourspaces.h:144
Bayer datatype representing the colour filter pattern BGGR.
Definition: colourspaces.h:14
A datatype to represent yuv422 (yuyv) data.
Definition: colourspaces.h:192
virtual void put_frame(VideoFrame< pixel_T > *f)
Tell the buffer that you are finished with this frame.
Definition: dvbuffer3.h:287
double frame_rate()
What is the (expected) frame rate of this video buffer, in frames per second?
Definition: dvbuffer3.h:281
Bayer datatype representing the colour filter pattern RGGB.
Definition: colourspaces.h:53
16bit big endian Bayer datatype representing the colour filter pattern GBRG
Definition: colourspaces.h:131