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

BC_Bitmap Class Reference

#include <bcbitmap.h>

List of all members.

Public Member Functions

 BC_Bitmap (BC_WindowBase *parent_window, unsigned char *png_data)
 BC_Bitmap (BC_WindowBase *parent_window, VFrame *frame)
 BC_Bitmap (BC_WindowBase *parent_window, int w, int h, int color_model, int use_shm=1)
virtual ~BC_Bitmap ()
int read_frame (VFrame *frame, int in_x, int in_y, int in_w, int in_h, int out_x, int out_y, int out_w, int out_h)
int read_frame (VFrame *frame, int x1, int y1, int x2, int y2)
int match_params (int w, int h, int color_model, int use_shm)
int params_match (int w, int h, int color_model, int use_shm)
void rewind_ring ()
int write_drawable (Drawable &pixmap, GC &gc, int source_x, int source_y, int source_w, int source_h, int dest_x, int dest_y, int dest_w, int dest_h, int dont_wait)
int write_drawable (Drawable &pixmap, GC &gc, int dest_x, int dest_y, int source_x, int source_y, int dest_w, int dest_h, int dont_wait)
int read_drawable (Drawable &pixmap, int source_x, int source_y)
int rotate_90 (int side)
int get_w ()
int get_h ()
void transparency_bitswap ()
unsigned char * get_data ()
unsigned char * get_y_plane ()
unsigned char * get_u_plane ()
unsigned char * get_v_plane ()
int get_color_model ()
int hardware_scaling ()
unsigned char ** get_row_pointers ()
int get_bytes_per_line ()
long get_shm_id ()
long get_shm_size ()
long get_shm_offset ()
long get_y_shm_offset ()
long get_u_shm_offset ()
long get_v_shm_offset ()
long get_y_offset ()
long get_u_offset ()
long get_v_offset ()
void rewind_ringbuffer ()
int set_bg_color (int color)
int invert ()

Private Member Functions

int initialize (BC_WindowBase *parent_window, int w, int h, int color_model, int use_shm)
int allocate_data ()
int delete_data ()
int get_default_depth ()
char byte_bitswap (char src)

Private Attributes

int ring_buffers
int current_ringbuffer
int w
int h
int color_model
int bg_color
int use_shm
BC_WindowBasetop_level
BC_WindowBaseparent_window
unsigned char * data [BITMAP_RING]
unsigned char ** row_data [BITMAP_RING]
int xv_portid
int bits_per_pixel
long bytes_per_line
int last_pixmap_used
unsigned char bg_r
unsigned char bg_g
unsigned char bg_b
int bit_counter
Drawable last_pixmap
XImage * ximage [BITMAP_RING]
XvImage * xv_image [BITMAP_RING]
XShmSegmentInfo shm_info


Detailed Description

Definition at line 18 of file bcbitmap.h.


Constructor & Destructor Documentation

BC_Bitmap::BC_Bitmap BC_WindowBase parent_window,
unsigned char *  png_data
 

Definition at line 13 of file bcbitmap.C.

BC_Bitmap::BC_Bitmap BC_WindowBase parent_window,
VFrame frame
 

Definition at line 31 of file bcbitmap.C.

BC_Bitmap::BC_Bitmap BC_WindowBase parent_window,
int  w,
int  h,
int  color_model,
int  use_shm = 1
 

Definition at line 44 of file bcbitmap.C.

BC_Bitmap::~BC_Bitmap  )  [virtual]
 

Definition at line 57 of file bcbitmap.C.


Member Function Documentation

int BC_Bitmap::allocate_data  )  [private]
 

Definition at line 125 of file bcbitmap.C.

char BC_Bitmap::byte_bitswap char  src  )  [private]
 

Definition at line 754 of file bcbitmap.C.

int BC_Bitmap::delete_data  )  [private]
 

Definition at line 304 of file bcbitmap.C.

int BC_Bitmap::get_bytes_per_line  ) 
 

Definition at line 700 of file bcbitmap.C.

int BC_Bitmap::get_color_model  ) 
 

Definition at line 806 of file bcbitmap.C.

unsigned char * BC_Bitmap::get_data  ) 
 

Definition at line 704 of file bcbitmap.C.

int BC_Bitmap::get_default_depth  )  [private]
 

Definition at line 354 of file bcbitmap.C.

int BC_Bitmap::get_h  ) 
 

Definition at line 752 of file bcbitmap.C.

unsigned char ** BC_Bitmap::get_row_pointers  ) 
 

Definition at line 695 of file bcbitmap.C.

long BC_Bitmap::get_shm_id  ) 
 

Definition at line 622 of file bcbitmap.C.

long BC_Bitmap::get_shm_offset  ) 
 

Definition at line 635 of file bcbitmap.C.

long BC_Bitmap::get_shm_size  ) 
 

Definition at line 627 of file bcbitmap.C.

long BC_Bitmap::get_u_offset  ) 
 

Definition at line 678 of file bcbitmap.C.

unsigned char * BC_Bitmap::get_u_plane  ) 
 

Definition at line 728 of file bcbitmap.C.

long BC_Bitmap::get_u_shm_offset  ) 
 

Definition at line 654 of file bcbitmap.C.

long BC_Bitmap::get_v_offset  ) 
 

Definition at line 686 of file bcbitmap.C.

unsigned char * BC_Bitmap::get_v_plane  ) 
 

Definition at line 719 of file bcbitmap.C.

long BC_Bitmap::get_v_shm_offset  ) 
 

Definition at line 662 of file bcbitmap.C.

int BC_Bitmap::get_w  ) 
 

Definition at line 750 of file bcbitmap.C.

long BC_Bitmap::get_y_offset  ) 
 

Definition at line 670 of file bcbitmap.C.

unsigned char * BC_Bitmap::get_y_plane  ) 
 

Definition at line 710 of file bcbitmap.C.

long BC_Bitmap::get_y_shm_offset  ) 
 

Definition at line 646 of file bcbitmap.C.

int BC_Bitmap::hardware_scaling  ) 
 

Definition at line 743 of file bcbitmap.C.

int BC_Bitmap::initialize BC_WindowBase parent_window,
int  w,
int  h,
int  color_model,
int  use_shm
[private]
 

Definition at line 62 of file bcbitmap.C.

int BC_Bitmap::invert  ) 
 

Definition at line 369 of file bcbitmap.C.

int BC_Bitmap::match_params int  w,
int  h,
int  color_model,
int  use_shm
 

Definition at line 96 of file bcbitmap.C.

int BC_Bitmap::params_match int  w,
int  h,
int  color_model,
int  use_shm
 

Definition at line 110 of file bcbitmap.C.

int BC_Bitmap::read_drawable Drawable &  pixmap,
int  source_x,
int  source_y
 

Definition at line 512 of file bcbitmap.C.

int BC_Bitmap::read_frame VFrame frame,
int  x1,
int  y1,
int  x2,
int  y2
 

Definition at line 523 of file bcbitmap.C.

int BC_Bitmap::read_frame VFrame frame,
int  in_x,
int  in_y,
int  in_w,
int  in_h,
int  out_x,
int  out_y,
int  out_w,
int  out_h
 

Definition at line 535 of file bcbitmap.C.

void BC_Bitmap::rewind_ring  ) 
 

Definition at line 403 of file bcbitmap.C.

void BC_Bitmap::rewind_ringbuffer  ) 
 

Definition at line 737 of file bcbitmap.C.

int BC_Bitmap::rotate_90 int  side  ) 
 

int BC_Bitmap::set_bg_color int  color  ) 
 

Definition at line 363 of file bcbitmap.C.

void BC_Bitmap::transparency_bitswap  ) 
 

Definition at line 778 of file bcbitmap.C.

int BC_Bitmap::write_drawable Drawable &  pixmap,
GC &  gc,
int  dest_x,
int  dest_y,
int  source_x,
int  source_y,
int  dest_w,
int  dest_h,
int  dont_wait
 

Definition at line 380 of file bcbitmap.C.

int BC_Bitmap::write_drawable Drawable &  pixmap,
GC &  gc,
int  source_x,
int  source_y,
int  source_w,
int  source_h,
int  dest_x,
int  dest_y,
int  dest_w,
int  dest_h,
int  dont_wait
 

Definition at line 409 of file bcbitmap.C.


Member Data Documentation

unsigned char BC_Bitmap::bg_b [private]
 

Definition at line 136 of file bcbitmap.h.

int BC_Bitmap::bg_color [private]
 

Definition at line 119 of file bcbitmap.h.

unsigned char BC_Bitmap::bg_g [private]
 

Definition at line 136 of file bcbitmap.h.

unsigned char BC_Bitmap::bg_r [private]
 

Definition at line 136 of file bcbitmap.h.

int BC_Bitmap::bit_counter [private]
 

Definition at line 138 of file bcbitmap.h.

int BC_Bitmap::bits_per_pixel [private]
 

Definition at line 130 of file bcbitmap.h.

long BC_Bitmap::bytes_per_line [private]
 

Definition at line 132 of file bcbitmap.h.

int BC_Bitmap::color_model [private]
 

Definition at line 117 of file bcbitmap.h.

int BC_Bitmap::current_ringbuffer [private]
 

Definition at line 114 of file bcbitmap.h.

unsigned char* BC_Bitmap::data[BITMAP_RING] [private]
 

Definition at line 125 of file bcbitmap.h.

int BC_Bitmap::h [private]
 

Definition at line 115 of file bcbitmap.h.

Drawable BC_Bitmap::last_pixmap [private]
 

Definition at line 142 of file bcbitmap.h.

int BC_Bitmap::last_pixmap_used [private]
 

Definition at line 134 of file bcbitmap.h.

BC_WindowBase* BC_Bitmap::parent_window [private]
 

Definition at line 123 of file bcbitmap.h.

int BC_Bitmap::ring_buffers [private]
 

Definition at line 114 of file bcbitmap.h.

unsigned char** BC_Bitmap::row_data[BITMAP_RING] [private]
 

Definition at line 127 of file bcbitmap.h.

XShmSegmentInfo BC_Bitmap::shm_info [private]
 

Definition at line 145 of file bcbitmap.h.

BC_WindowBase* BC_Bitmap::top_level [private]
 

Definition at line 122 of file bcbitmap.h.

int BC_Bitmap::use_shm [private]
 

Definition at line 121 of file bcbitmap.h.

int BC_Bitmap::w [private]
 

Definition at line 115 of file bcbitmap.h.

XImage* BC_Bitmap::ximage[BITMAP_RING] [private]
 

Definition at line 143 of file bcbitmap.h.

XvImage* BC_Bitmap::xv_image[BITMAP_RING] [private]
 

Definition at line 144 of file bcbitmap.h.

int BC_Bitmap::xv_portid [private]
 

Definition at line 128 of file bcbitmap.h.


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