VDeviceX11 Class Reference

#include <vdevicex11.h>

Inherits VDeviceBase.

Collaboration diagram for VDeviceX11:

Collaboration graph
[legend]

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, int colormodel)
int open_output ()
int start_playback ()
int stop_playback ()
int output_visible ()
int write_buffer (VFrame *result, EDL *edl)
int get_best_colormodel (Asset *asset)
void clear_output ()
void do_camera (VFrame *output, VFrame *input, float in_x1, float in_y1, float in_x2, float in_y2, float out_x1, float out_y1, float out_x2, float out_y2)
void clear_input (VFrame *frame)
void do_fade (VFrame *output_temp, float fade)
void do_mask (VFrame *output_temp, int64_t start_position_project, MaskAutos *keyframe_set, MaskAuto *keyframe, MaskAuto *default_auto)
void overlay (VFrame *output_frame, VFrame *input, float in_x1, float in_y1, float in_x2, float in_y2, float out_x1, float out_y1, float out_x2, float out_y2, float alpha, int mode, EDL *edl)
void run_plugin (PluginClient *client)
void copy_frame (VFrame *dst, VFrame *src)

Private Member Functions

int get_best_colormodel (int colormodel)

Private Attributes

BC_Bitmapbitmap
VFrameoutput_frame
int bitmap_type
int bitmap_w
int bitmap_h
ArrayList< int > render_strategies
Canvasoutput
int window_id
int texture_w
int texture_h
int color_model
int color_model_selected
float output_x1
float output_y1
float output_x2
float output_y2
float canvas_x1
float canvas_y1
float canvas_x2
float canvas_y2
BC_Capturecapture_bitmap
int is_cleared

Detailed Description

Definition at line 18 of file vdevicex11.h.


Constructor & Destructor Documentation

VDeviceX11::VDeviceX11 ( VideoDevice device,
Canvas output 
)

Definition at line 23 of file vdevicex11.C.

References reset_parameters().

Here is the call graph for this function:

VDeviceX11::~VDeviceX11 (  ) 

Definition at line 30 of file vdevicex11.C.

References close_all().

Here is the call graph for this function:


Member Function Documentation

int VDeviceX11::open_input (  )  [virtual]

int VDeviceX11::close_all (  )  [virtual]

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

Reimplemented from VDeviceBase.

Definition at line 219 of file vdevicex11.C.

References capture_bitmap, BC_Capture::capture_frame(), VDeviceBase::device, VideoDevice::input_x, and VideoDevice::input_y.

Here is the call graph for this function:

int VDeviceX11::reset_parameters (  ) 

void VDeviceX11::new_output_buffer ( VFrame **  output,
int  colormodel 
) [virtual]

int VDeviceX11::open_output (  )  [virtual]

int VDeviceX11::start_playback (  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 504 of file vdevicex11.C.

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

Here is the call graph for this function:

int VDeviceX11::stop_playback (  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 512 of file vdevicex11.C.

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

Here is the call graph for this function:

int VDeviceX11::output_visible (  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 88 of file vdevicex11.C.

References Canvas::get_canvas(), BC_WindowBase::get_hidden(), Canvas::lock_canvas(), output, and Canvas::unlock_canvas().

Here is the call graph for this function:

int VDeviceX11::write_buffer ( VFrame result,
EDL edl 
) [virtual]

int VDeviceX11::get_best_colormodel ( Asset asset  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 226 of file vdevicex11.C.

References BC_RGB888.

Referenced by new_output_buffer().

void VDeviceX11::clear_output (  ) 

Definition at line 698 of file vdevicex11.C.

References Playback3D::clear_output(), Canvas::get_canvas(), BC_WindowBase::get_video_on(), is_cleared, Canvas::mwindow, output, output_frame, and MWindow::playback_3d.

Here is the call graph for this function:

void VDeviceX11::do_camera ( VFrame output,
VFrame input,
float  in_x1,
float  in_y1,
float  in_x2,
float  in_y2,
float  out_x1,
float  out_y1,
float  out_x2,
float  out_y2 
)

Definition at line 713 of file vdevicex11.C.

Referenced by VModule::import_frame().

void VDeviceX11::clear_input ( VFrame frame  ) 

Definition at line 708 of file vdevicex11.C.

References Playback3D::clear_input(), Canvas::mwindow, output, and MWindow::playback_3d.

Referenced by VModule::import_frame().

Here is the call graph for this function:

void VDeviceX11::do_fade ( VFrame output_temp,
float  fade 
)

Definition at line 738 of file vdevicex11.C.

References Playback3D::do_fade(), Canvas::mwindow, output, and MWindow::playback_3d.

Here is the call graph for this function:

void VDeviceX11::do_mask ( VFrame output_temp,
int64_t  start_position_project,
MaskAutos keyframe_set,
MaskAuto keyframe,
MaskAuto default_auto 
)

Definition at line 743 of file vdevicex11.C.

References Playback3D::do_mask(), Canvas::mwindow, output, and MWindow::playback_3d.

Here is the call graph for this function:

void VDeviceX11::overlay ( VFrame output_frame,
VFrame input,
float  in_x1,
float  in_y1,
float  in_x2,
float  in_y2,
float  out_x1,
float  out_y1,
float  out_x2,
float  out_y2,
float  alpha,
int  mode,
EDL edl 
)

void VDeviceX11::run_plugin ( PluginClient client  ) 

Definition at line 899 of file vdevicex11.C.

References Canvas::mwindow, output, MWindow::playback_3d, and Playback3D::run_plugin().

Here is the call graph for this function:

void VDeviceX11::copy_frame ( VFrame dst,
VFrame src 
)

Definition at line 904 of file vdevicex11.C.

References Playback3D::copy_from(), Canvas::mwindow, output, and MWindow::playback_3d.

Referenced by VAttachmentPoint::render().

Here is the call graph for this function:

int VDeviceX11::get_best_colormodel ( int  colormodel  )  [private]


Field Documentation

Definition at line 114 of file vdevicex11.h.

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

int VDeviceX11::bitmap_type [private]

Definition at line 118 of file vdevicex11.h.

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

int VDeviceX11::bitmap_w [private]

Definition at line 120 of file vdevicex11.h.

Referenced by reset_parameters().

int VDeviceX11::bitmap_h [private]

Definition at line 120 of file vdevicex11.h.

Referenced by reset_parameters().

Definition at line 121 of file vdevicex11.h.

int VDeviceX11::window_id [private]

Definition at line 126 of file vdevicex11.h.

Referenced by new_output_buffer(), and reset_parameters().

int VDeviceX11::texture_w [private]

Definition at line 127 of file vdevicex11.h.

int VDeviceX11::texture_h [private]

Definition at line 128 of file vdevicex11.h.

int VDeviceX11::color_model [private]

Definition at line 129 of file vdevicex11.h.

Definition at line 130 of file vdevicex11.h.

Referenced by new_output_buffer(), and reset_parameters().

float VDeviceX11::output_x1 [private]

Definition at line 135 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

float VDeviceX11::output_y1 [private]

Definition at line 135 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

float VDeviceX11::output_x2 [private]

Definition at line 135 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

float VDeviceX11::output_y2 [private]

Definition at line 135 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

float VDeviceX11::canvas_x1 [private]

Definition at line 136 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

float VDeviceX11::canvas_y1 [private]

Definition at line 136 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

float VDeviceX11::canvas_x2 [private]

Definition at line 136 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

float VDeviceX11::canvas_y2 [private]

Definition at line 136 of file vdevicex11.h.

Referenced by overlay(), reset_parameters(), and write_buffer().

Definition at line 138 of file vdevicex11.h.

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

int VDeviceX11::is_cleared [private]

Definition at line 140 of file vdevicex11.h.

Referenced by clear_output(), reset_parameters(), and write_buffer().


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

Generated on Mon Apr 28 14:48:40 2008 for Cinelerra by  doxygen 1.5.5