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

VDeviceX11 Class Reference

#include <vdevicex11.h>

Inheritance diagram for VDeviceX11:

VDeviceBase List of all members.

Public Member Functions

 VDeviceX11 (VideoDevice *device, Canvas *output)
 ~VDeviceX11 ()
int open_input ()
int close_all ()
int read_buffer (VFrame *frame)
int reset_parameters ()
void new_output_buffer (VFrame **output_frames, int colormodel)
int open_output ()
int start_playback ()
int stop_playback ()
int output_visible ()
int write_buffer (VFrame **outputs, EDL *edl)

Private Member Functions

int get_best_colormodel (int colormodel)
int get_best_colormodel (Asset *asset)

Private Attributes

BC_Bitmap * bitmap
VFrame * output_frame
int bitmap_type
int bitmap_w
int bitmap_h
ArrayList< int > render_strategies
Canvasoutput
int color_model
int color_model_selected
int in_x
int in_y
int in_w
int in_h
int out_x
int out_y
int out_w
int out_h
BC_Capture * capture_bitmap

Detailed Description

Definition at line 15 of file vdevicex11.h.


Constructor & Destructor Documentation

VDeviceX11::VDeviceX11 VideoDevice device,
Canvas output
 

Definition at line 20 of file vdevicex11.C.

References reset_parameters().

VDeviceX11::~VDeviceX11  ) 
 

Definition at line 27 of file vdevicex11.C.

References close_all().


Member Function Documentation

int VDeviceX11::close_all  )  [virtual]
 

Reimplemented from VDeviceBase.

Definition at line 87 of file vdevicex11.C.

References bitmap, BITMAP_PRIMARY, bitmap_type, Canvas::canvas, capture_bitmap, VDeviceBase::device, Canvas::draw_refresh(), VideoDevice::out_h, VideoDevice::out_w, output, output_frame, Canvas::refresh_frame, reset_parameters(), VideoDevice::single_frame, Canvas::stop_single(), and Canvas::stop_video().

Referenced by ~VDeviceX11().

int VDeviceX11::get_best_colormodel Asset asset  )  [private, virtual]
 

Reimplemented from VDeviceBase.

Definition at line 164 of file vdevicex11.C.

int VDeviceX11::get_best_colormodel int  colormodel  )  [private]
 

Definition at line 170 of file vdevicex11.C.

References Canvas::canvas, VDeviceBase::device, output, and VideoDevice::single_frame.

Referenced by new_output_buffer().

void VDeviceX11::new_output_buffer VFrame **  output_frames,
int  colormodel
[virtual]
 

Reimplemented from VDeviceBase.

Definition at line 211 of file vdevicex11.C.

References bitmap, BITMAP_PRIMARY, BITMAP_TEMP, bitmap_type, Canvas::canvas, color_model_selected, VDeviceBase::device, VideoOutConfig::driver, get_best_colormodel(), Canvas::h, MAX_CHANNELS, VideoDevice::out_config, VideoDevice::out_h, VideoDevice::out_w, output, output_frame, and Canvas::w.

int VDeviceX11::open_input  )  [virtual]
 

Reimplemented from VDeviceBase.

Definition at line 52 of file vdevicex11.C.

References capture_bitmap, VDeviceBase::device, VideoInConfig::h, VideoDevice::in_config, VideoInConfig::screencapture_display, and VideoInConfig::w.

int VDeviceX11::open_output  )  [virtual]
 

Reimplemented from VDeviceBase.

Definition at line 63 of file vdevicex11.C.

References Canvas::canvas, VDeviceBase::device, output, VideoDevice::single_frame, Canvas::start_single(), and Canvas::start_video().

int VDeviceX11::output_visible  )  [virtual]
 

Reimplemented from VDeviceBase.

Definition at line 78 of file vdevicex11.C.

References Canvas::canvas, and output.

int VDeviceX11::read_buffer VFrame *  frame  )  [virtual]
 

Reimplemented from VDeviceBase.

Definition at line 157 of file vdevicex11.C.

References capture_bitmap, VDeviceBase::device, VideoDevice::input_x, and VideoDevice::input_y.

int VDeviceX11::reset_parameters  ) 
 

Definition at line 32 of file vdevicex11.C.

References bitmap, bitmap_h, bitmap_w, capture_bitmap, color_model_selected, in_h, in_w, in_x, in_y, out_h, out_w, out_x, out_y, output, and output_frame.

Referenced by close_all(), and VDeviceX11().

int VDeviceX11::start_playback  )  [virtual]
 

Reimplemented from VDeviceBase.

Definition at line 402 of file vdevicex11.C.

References VDeviceBase::device, output, VideoDevice::single_frame, and Canvas::start_video().

int VDeviceX11::stop_playback  )  [virtual]
 

Reimplemented from VDeviceBase.

Definition at line 410 of file vdevicex11.C.

References VDeviceBase::device, output, VideoDevice::single_frame, and Canvas::stop_video().

int VDeviceX11::write_buffer VFrame **  outputs,
EDL edl
[virtual]
 

Reimplemented from VDeviceBase.

Definition at line 419 of file vdevicex11.C.

References bitmap, BITMAP_TEMP, bitmap_type, Canvas::canvas, VDeviceBase::device, Canvas::get_transfers(), in_h, in_w, in_x, in_y, VideoDevice::out_config, out_h, out_w, out_x, out_y, output, VideoDevice::single_frame, and VideoOutConfig::x11_use_fields.


Member Data Documentation

BC_Bitmap* VDeviceX11::bitmap [private]
 

Definition at line 41 of file vdevicex11.h.

Referenced by close_all(), new_output_buffer(), reset_parameters(), and write_buffer().

int VDeviceX11::bitmap_h [private]
 

Definition at line 44 of file vdevicex11.h.

Referenced by reset_parameters().

int VDeviceX11::bitmap_type [private]
 

Definition at line 43 of file vdevicex11.h.

Referenced by close_all(), new_output_buffer(), and write_buffer().

int VDeviceX11::bitmap_w [private]
 

Definition at line 44 of file vdevicex11.h.

Referenced by reset_parameters().

BC_Capture* VDeviceX11::capture_bitmap [private]
 

Definition at line 54 of file vdevicex11.h.

Referenced by close_all(), open_input(), read_buffer(), and reset_parameters().

int VDeviceX11::color_model [private]
 

Definition at line 48 of file vdevicex11.h.

int VDeviceX11::color_model_selected [private]
 

Definition at line 49 of file vdevicex11.h.

Referenced by new_output_buffer(), and reset_parameters().

int VDeviceX11::in_h [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

int VDeviceX11::in_w [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

int VDeviceX11::in_x [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

int VDeviceX11::in_y [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

int VDeviceX11::out_h [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

int VDeviceX11::out_w [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

int VDeviceX11::out_x [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

int VDeviceX11::out_y [private]
 

Definition at line 52 of file vdevicex11.h.

Referenced by reset_parameters(), and write_buffer().

Canvas* VDeviceX11::output [private]
 

Definition at line 47 of file vdevicex11.h.

Referenced by close_all(), get_best_colormodel(), new_output_buffer(), open_output(), output_visible(), reset_parameters(), start_playback(), stop_playback(), and write_buffer().

VFrame* VDeviceX11::output_frame [private]
 

Definition at line 42 of file vdevicex11.h.

Referenced by close_all(), new_output_buffer(), and reset_parameters().

ArrayList<int> VDeviceX11::render_strategies [private]
 

Definition at line 45 of file vdevicex11.h.


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