Playback3D Class Reference

#include <playback3d.h>

Inherits BC_Synchronous.

Collaboration diagram for Playback3D:

Collaboration graph
[legend]

Public Member Functions

 Playback3D (MWindow *mwindow)
 ~Playback3D ()
BC_SynchronousCommandnew_command ()
void handle_command (BC_SynchronousCommand *command)
void write_buffer (Canvas *canvas, VFrame *frame, float in_x1, float in_y1, float in_x2, float in_y2, float out_x1, float out_y1, float out_x2, float out_y2, int is_cleared)
void copy_from (Canvas *canvas, VFrame *dst, VFrame *src, int want_texture=0)
void clear_output (Canvas *canvas, VFrame *output)
void do_fade (Canvas *canvas, VFrame *frame, float fade)
void do_mask (Canvas *canvas, VFrame *output, int64_t start_position_project, MaskAutos *keyframe_set, MaskAuto *keyframe, MaskAuto *default_auto)
void overlay (Canvas *canvas, 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, int interpolation_type, VFrame *output=0)
int run_plugin (Canvas *canvas, PluginClient *client)
void clear_input (Canvas *canvas, VFrame *frame)
void do_camera (Canvas *canvas, 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)

Private Member Functions

void init_frame (Playback3DCommand *command)
void write_buffer_sync (Playback3DCommand *command)
void draw_output (Playback3DCommand *command)
void clear_output_sync (Playback3DCommand *command)
void clear_input_sync (Playback3DCommand *command)
void overlay_sync (Playback3DCommand *command)
void enable_overlay_texture (Playback3DCommand *command)
void do_fade_sync (Playback3DCommand *command)
void do_mask_sync (Playback3DCommand *command)
void run_plugin_sync (Playback3DCommand *command)
void do_camera_sync (Playback3DCommand *command)
void copy_from_sync (Playback3DCommand *command)
void print_error (unsigned int object, int is_program)

Private Attributes

MWindowmwindow
BC_Texturetemp_texture
int canvas_w
int canvas_h

Detailed Description

Definition at line 195 of file playback3d.h.


Constructor & Destructor Documentation

Playback3D::Playback3D ( MWindow mwindow  ) 

Definition at line 252 of file playback3d.C.

References temp_texture.

Playback3D::~Playback3D (  ) 

Definition at line 259 of file playback3d.C.


Member Function Documentation

BC_SynchronousCommand * Playback3D::new_command (  )  [virtual]

Reimplemented from BC_Synchronous.

Definition at line 266 of file playback3d.C.

void Playback3D::handle_command ( BC_SynchronousCommand command  )  [virtual]

void Playback3D::write_buffer ( Canvas canvas,
VFrame frame,
float  in_x1,
float  in_y1,
float  in_x2,
float  in_y2,
float  out_x1,
float  out_y1,
float  out_x2,
float  out_y2,
int  is_cleared 
)

void Playback3D::copy_from ( Canvas canvas,
VFrame dst,
VFrame src,
int  want_texture = 0 
)

void Playback3D::clear_output ( Canvas canvas,
VFrame output 
)

void Playback3D::do_fade ( Canvas canvas,
VFrame frame,
float  fade 
)

void Playback3D::do_mask ( Canvas canvas,
VFrame output,
int64_t  start_position_project,
MaskAutos keyframe_set,
MaskAuto keyframe,
MaskAuto default_auto 
)

void Playback3D::overlay ( Canvas canvas,
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,
int  interpolation_type,
VFrame output = 0 
)

int Playback3D::run_plugin ( Canvas canvas,
PluginClient client 
)

void Playback3D::clear_input ( Canvas canvas,
VFrame frame 
)

void Playback3D::do_camera ( Canvas canvas,
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 Playback3D::init_frame ( Playback3DCommand command  )  [private]

Definition at line 647 of file playback3d.C.

References Playback3DCommand::canvas, canvas_h, canvas_w, Canvas::get_canvas(), BC_WindowBase::get_h(), and BC_WindowBase::get_w().

Referenced by clear_output_sync(), and draw_output().

Here is the call graph for this function:

void Playback3D::write_buffer_sync ( Playback3DCommand command  )  [private]

void Playback3D::draw_output ( Playback3DCommand command  )  [private]

void Playback3D::clear_output_sync ( Playback3DCommand command  )  [private]

void Playback3D::clear_input_sync ( Playback3DCommand command  )  [private]

void Playback3D::overlay_sync ( Playback3DCommand command  )  [private]

void Playback3D::enable_overlay_texture ( Playback3DCommand command  )  [private]

Definition at line 1017 of file playback3d.C.

References BC_Texture::bind(), canvas_h, canvas_w, VFrame::get_color_model(), Playback3DCommand::input, BC_Texture::new_texture(), and temp_texture.

Referenced by overlay_sync().

Here is the call graph for this function:

void Playback3D::do_fade_sync ( Playback3DCommand command  )  [private]

void Playback3D::do_mask_sync ( Playback3DCommand command  )  [private]

void Playback3D::run_plugin_sync ( Playback3DCommand command  )  [private]

void Playback3D::do_camera_sync ( Playback3DCommand command  )  [private]

void Playback3D::copy_from_sync ( Playback3DCommand command  )  [private]

void Playback3D::print_error ( unsigned int  object,
int  is_program 
) [private]


Field Documentation

Definition at line 292 of file playback3d.h.

Definition at line 294 of file playback3d.h.

Referenced by do_mask_sync(), enable_overlay_texture(), overlay_sync(), and Playback3D().

int Playback3D::canvas_w [private]

Definition at line 297 of file playback3d.h.

Referenced by draw_output(), enable_overlay_texture(), init_frame(), and overlay_sync().

int Playback3D::canvas_h [private]

Definition at line 298 of file playback3d.h.

Referenced by draw_output(), enable_overlay_texture(), init_frame(), and overlay_sync().


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

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