Video Capture Class
Inheritance:
Public Fields
-
int m_threadid
-
CMediaBuffer* m_MediaBuffer
- head of the Media Buffer linked list
-
CVideoEnc* VideoEnc
- Video encoder object
Public Methods
-
CVideoCapture(int threadid)
- constructor
-
virtual ~CVideoCapture()
- destructor
-
int getStopStatus()
- video capture stop status
-
int setStopStatus()
- set the video capture stop status
-
virtual void SetSettings(int device_no)
- set settings for the device number
-
void Process_Raw_Video(int buffers_ready, int PixFormat, int bufsize, int width, int height, unsigned char* data, int tsinc_usec)
- process the video
-
virtual void getVideoFormat()
- get the video format associated with the video capture object
-
virtual void setVideoFormat()
- set the video format associated with the video capture object
-
virtual void getVideoDeviceProp()
- get the video device properties associated with the video capture object
-
virtual void setMediaBuffer(CCapThreadParams*)
- set the MediaBuffer to the video capture object
-
virtual void start_capture(CCapThreadParams* cparam)
- start the capture
-
virtual int stop_capture()
- stop capture
Protected Fields
-
CUnicapVidCap* ObjVidCap
-
SDL_Rect rect
- display video window rectangle
-
SDL_Surface* m_screen
- SDL surface for video display
-
int m_stopStatusBase
- video capture stop status
-
pthread_mutex_t* m_capstatus_mutex
- capture status mutex
-
pthread_mutex_t* m_thrstop_mutex
- Capture thread stop mutex
-
pthread_cond_t* m_thrstop_cond
- conditional to signal the stopping the capture thread
-
pthread_cond_t* m_MediaBuffer_Empty_cond[30]
- mutex conditionals for the 30 Empty Media Buffers shared with sender thread
-
pthread_cond_t* m_MediaBuffer_Full_cond[30]
- mutex conditionals for the 30 Full Media Buffers shared with sender thread
-
pthread_mutex_t* m_MediaBuffer_mutex[30]
- mutex for the 30 Media Buffers shared with sender thread
-
pthread_cond_t* m_delMediaBuffer_Empty_cond
- mutex conditionals for the Empty Media Buffers for deletion
-
pthread_cond_t* m_delMediaBuffer_Full_cond
- mutex conditionals for the Full Media Buffers for deletion
-
pthread_mutex_t* m_delMediaBuffer_mutex
- mutex for the Media Buffers for deletion
-
int m_encode_bitrate
- Video encode bitrate
-
int m_fps
- video capture frame rate
-
int m_gopSize
- video encoder GOP size
-
CodecID m_encode_fmt
- video encoder codec format
Public Methods
-
static void print_fps( )
Documentation
Video Capture Class
CUnicapVidCap* ObjVidCap
SDL_Rect rect
- display video window rectangle
SDL_Surface* m_screen
- SDL surface for video display
int m_stopStatusBase
- video capture stop status
pthread_mutex_t* m_capstatus_mutex
- capture status mutex
pthread_mutex_t* m_thrstop_mutex
- Capture thread stop mutex
pthread_cond_t* m_thrstop_cond
- conditional to signal the stopping the capture thread
pthread_cond_t* m_MediaBuffer_Empty_cond[30]
- mutex conditionals for the 30 Empty Media Buffers shared with sender thread
pthread_cond_t* m_MediaBuffer_Full_cond[30]
- mutex conditionals for the 30 Full Media Buffers shared with sender thread
pthread_mutex_t* m_MediaBuffer_mutex[30]
- mutex for the 30 Media Buffers shared with sender thread
pthread_cond_t* m_delMediaBuffer_Empty_cond
- mutex conditionals for the Empty Media Buffers for deletion
pthread_cond_t* m_delMediaBuffer_Full_cond
- mutex conditionals for the Full Media Buffers for deletion
pthread_mutex_t* m_delMediaBuffer_mutex
- mutex for the Media Buffers for deletion
int m_encode_bitrate
- Video encode bitrate
int m_fps
- video capture frame rate
int m_gopSize
- video encoder GOP size
CodecID m_encode_fmt
- video encoder codec format
int m_threadid
CMediaBuffer* m_MediaBuffer
- head of the Media Buffer linked list
CVideoEnc* VideoEnc
- Video encoder object
CVideoCapture(int threadid)
- constructor
virtual ~CVideoCapture()
- destructor
int getStopStatus()
- video capture stop status
int setStopStatus()
- set the video capture stop status
virtual void SetSettings(int device_no)
- set settings for the device number
void Process_Raw_Video(int buffers_ready, int PixFormat, int bufsize, int width, int height, unsigned char* data, int tsinc_usec)
- process the video
virtual void getVideoFormat()
- get the video format associated with the video capture object
virtual void setVideoFormat()
- set the video format associated with the video capture object
virtual void getVideoDeviceProp()
- get the video device properties associated with the video capture object
virtual void setMediaBuffer(CCapThreadParams*)
- set the MediaBuffer to the video capture object
virtual void start_capture(CCapThreadParams* cparam)
- start the capture
virtual int stop_capture()
- stop capture
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.