Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
WebcamSupport Class Reference

#include <webcam_support.h>

Public Member Functions

 WebcamSupport ()
 
 WebcamSupport (int f, int w, int h)
 
int Init ()
 
void Shutdown ()
 
void GetInfo ()
 
int GetFps ()
 
bool isReady ()
 
void StartCapture ()
 
void EndCapture ()
 
std::string CaptureImage ()
 
int GetCapturedSize ()
 
int CopyImage ()
 
void DoError (long code, char *msg)
 

Public Attributes

char * old_buffer
 
int old_size
 
char * jpeg_buffer
 
int jpeg_size
 
int nbframes
 

Detailed Description

Definition at line 227 of file webcam_support.h.

Constructor & Destructor Documentation

WebcamSupport::WebcamSupport ( )
WebcamSupport::WebcamSupport ( int  f,
int  w,
int  h 
)

Member Function Documentation

std::string WebcamSupport::CaptureImage ( )
int WebcamSupport::CopyImage ( )
void WebcamSupport::DoError ( long  code,
char *  msg 
)
void WebcamSupport::EndCapture ( )
int WebcamSupport::GetCapturedSize ( )
int WebcamSupport::GetFps ( )
inline

Definition at line 288 of file webcam_support.h.

289  {
290  return this->fps;
291  }
void WebcamSupport::GetInfo ( )
int WebcamSupport::Init ( )
bool WebcamSupport::isReady ( )
void WebcamSupport::Shutdown ( )
void WebcamSupport::StartCapture ( )

Member Data Documentation

char* WebcamSupport::jpeg_buffer

Definition at line 278 of file webcam_support.h.

int WebcamSupport::jpeg_size

Definition at line 279 of file webcam_support.h.

int WebcamSupport::nbframes

Definition at line 280 of file webcam_support.h.

char* WebcamSupport::old_buffer

Definition at line 276 of file webcam_support.h.

int WebcamSupport::old_size

Definition at line 277 of file webcam_support.h.


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