|
libcvd
|
Non-templated libDC1394 interface. More...
#include <dvbuffer3.h>


Public Member Functions | |
| 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. More... | |
| ImageRef | size () |
| The size of the VideoFrames returned by this buffer. | |
| ImageRef | offset () |
| double | frame_rate () |
| What is the (expected) frame rate of this video buffer, in frames per second? | |
| DV3ColourFilter | colour_filter () |
| VideoFrame< byte > * | get_frame () |
| void | put_frame (VideoFrame< byte > *f) |
| bool | frame_pending () |
| Is there a frame waiting in the buffer? This function does not block. More... | |
| void | set_feature_value (DV3Feature nFeature, unsigned int nValue) |
| unsigned int | get_feature_value (DV3Feature nFeature) |
| std::pair< unsigned int, unsigned int > | get_feature_min_max (DV3Feature nFeature) |
| void | auto_on_off (DV3Feature nFeature, bool bValue) |
| void | power_on_off (DV3Feature nFeature, bool bValue) |
Public Member Functions inherited from CVD::RawVideoBuffer | |
| virtual RawVideoBuffer * | source_buffer () |
| Which video grabber provides the source images for this video grabber. More... | |
| RawVideoBuffer * | root_buffer () |
| Follow the chain of video grabbers back as far as at will go. More... | |
| virtual void | seek_to (double) |
| Go to a particular point in the video buffer (only implemented in buffers of recorded video) More... | |
| virtual void | flush ()=0 |
| Flush all old frames out of the video buffer, on a flushable buffer, causing the next get_frame() to sleep until a frame arrives. More... | |
Static Public Member Functions | |
| static void | stopAllTransmissions (void) |
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.
| 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).
| 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 |
|
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 >.
1.8.13