Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BC_Capture Class Reference

#include <bccapture.h>

List of all members.

Public Member Functions

 BC_Capture (int w, int h, char *display_path="")
virtual ~BC_Capture ()
int init_window (char *display_path)
int capture_frame (VFrame *frame, int &x1, int &y1)
int get_w ()
int get_h ()

Public Attributes

int w
int h
int default_depth
unsigned char ** row_data

Private Member Functions

int allocate_data ()
int delete_data ()
int get_top_w ()
int get_top_h ()
void import_RGB565_to_RGB888 (unsigned char *&output, unsigned char *&input)
void import_BGR888_to_RGB888 (unsigned char *&output, unsigned char *&input)
void import_BGR8888_to_RGB888 (unsigned char *&output, unsigned char *&input)

Private Attributes

int use_shm
int bitmap_color_model
unsigned char * data
XImage * ximage
XShmSegmentInfo shm_info
Display * display
Window rootwin
Visual * vis
int bits_per_pixel
int screen
long shm_event_type
int client_byte_order
int server_byte_order

Detailed Description

Definition at line 13 of file bccapture.h.

Constructor & Destructor Documentation

BC_Capture::BC_Capture int  w,
int  h,
char *  display_path = ""

Definition at line 20 of file bccapture.C.

BC_Capture::~BC_Capture  )  [virtual]

Definition at line 32 of file bccapture.C.

Member Function Documentation

int BC_Capture::allocate_data  )  [private]

Definition at line 83 of file bccapture.C.

int BC_Capture::capture_frame VFrame frame,
int &  x1,
int &  y1

Definition at line 173 of file bccapture.C.

int BC_Capture::delete_data  )  [private]

Definition at line 131 of file bccapture.C.

int BC_Capture::get_h  ) 

Definition at line 156 of file bccapture.C.

int BC_Capture::get_top_h  )  [private]

Definition at line 219 of file bccapture.C.

int BC_Capture::get_top_w  )  [private]

Definition at line 213 of file bccapture.C.

int BC_Capture::get_w  ) 

Definition at line 155 of file bccapture.C.

void BC_Capture::import_BGR8888_to_RGB888 unsigned char *&  output,
unsigned char *&  input
[inline, private]

Definition at line 54 of file bccapture.h.

void BC_Capture::import_BGR888_to_RGB888 unsigned char *&  output,
unsigned char *&  input
[inline, private]

Definition at line 44 of file bccapture.h.

void BC_Capture::import_RGB565_to_RGB888 unsigned char *&  output,
unsigned char *&  input
[inline, private]

Definition at line 34 of file bccapture.h.

int BC_Capture::init_window char *  display_path  ) 

Definition at line 38 of file bccapture.C.

Member Data Documentation

int BC_Capture::bitmap_color_model [private]

Definition at line 65 of file bccapture.h.

int BC_Capture::bits_per_pixel [private]

Definition at line 72 of file bccapture.h.

int BC_Capture::client_byte_order [private]

Definition at line 75 of file bccapture.h.

unsigned char* BC_Capture::data [private]

Definition at line 66 of file bccapture.h.

int BC_Capture::default_depth

Definition at line 25 of file bccapture.h.

Display* BC_Capture::display [private]

Definition at line 69 of file bccapture.h.

int BC_Capture::h

Definition at line 25 of file bccapture.h.

Window BC_Capture::rootwin [private]

Definition at line 70 of file bccapture.h.

unsigned char** BC_Capture::row_data

Definition at line 26 of file bccapture.h.

int BC_Capture::screen [private]

Definition at line 73 of file bccapture.h.

int BC_Capture::server_byte_order [private]

Definition at line 75 of file bccapture.h.

long BC_Capture::shm_event_type [private]

Definition at line 74 of file bccapture.h.

XShmSegmentInfo BC_Capture::shm_info [private]

Definition at line 68 of file bccapture.h.

int BC_Capture::use_shm [private]

Definition at line 62 of file bccapture.h.

Visual* BC_Capture::vis [private]

Definition at line 71 of file bccapture.h.

int BC_Capture::w

Definition at line 25 of file bccapture.h.

XImage* BC_Capture::ximage [private]

Definition at line 67 of file bccapture.h.

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:37 2006 for Guicast-svn by  doxygen 1.4.4