class CUnicapVidCap

class to act as an interface with camera device.

Public Fields

[more]pthread_mutex_t* m_capstatus_mutex
capture status mutex
[more]pthread_mutex_t* m_thrstop_mutex
thread stop mutex
[more]pthread_cond_t* m_thrstop_cond
thread stop conditional for signaling purposes
[more]int m_threadid
thread id associated with the object

Public Methods

[more] CUnicapVidCap(IVideoCapture* , int streamid)
constructor
[more]virtual ~CUnicapVidCap()
destructor
[more]void open_device(int device_no)
open device with the device number
[more]int enumerate_devices()
returns the number of devices in the system
[more]void setformats()
sets formats for the camera devices
[more]void start_capture(int* stop_status, int fps)
start capture; takes as input the address of the stop_status which is used to stop capture externally, fps to indicate the encoding frame rate
[more]void stop_capture()
stop capture


Documentation

class to act as an interface with camera device. Each instance of the CUnicapVidCap object is associated with one camera device.
o CUnicapVidCap(IVideoCapture* , int streamid)
constructor

ovirtual ~CUnicapVidCap()
destructor

ovoid open_device(int device_no)
open device with the device number

oint enumerate_devices()
returns the number of devices in the system

ovoid setformats()
sets formats for the camera devices

ovoid start_capture(int* stop_status, int fps)
start capture; takes as input the address of the stop_status which is used to stop capture externally, fps to indicate the encoding frame rate

ovoid stop_capture()
stop capture

opthread_mutex_t* m_capstatus_mutex
capture status mutex

opthread_mutex_t* m_thrstop_mutex
thread stop mutex

opthread_cond_t* m_thrstop_cond
thread stop conditional for signaling purposes

oint m_threadid
thread id associated with the object


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.