libcvd
Public Member Functions | List of all members
CVD::UVC::RawUVCBuffer Class Reference
Inheritance diagram for CVD::UVC::RawUVCBuffer:
Inheritance graph
[legend]
Collaboration diagram for CVD::UVC::RawUVCBuffer:
Collaboration graph
[legend]

Public Member Functions

 RawUVCBuffer (const std::string &dev, unsigned int fmt, ImageRef size, double frame_per_second, bool mjpeg, bool verbose)
 
ImageRef getSize ()
 
void fill_frame (void *)
 
double getRate ()
 
const std::string & device_name () const
 
 RawUVCBuffer (const RawUVCBuffer &)=delete
 
void operator= (const RawUVCBuffer &)=delete
 
- Public Member Functions inherited from CVD::RawVideoBuffer
virtual RawVideoBuffersource_buffer ()
 Which video grabber provides the source images for this video grabber. More...
 
RawVideoBufferroot_buffer ()
 Follow the chain of video grabbers back as far as at will go. More...
 
virtual ImageRef size ()=0
 The size of the VideoFrames returned by this buffer.
 
virtual bool frame_pending ()=0
 Is there a frame waiting in the buffer? This function does not block. More...
 
virtual double frame_rate ()=0
 What is the (expected) frame rate of this video buffer, in frames per second?
 
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...
 

The documentation for this class was generated from the following files: