r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / virtualvconsole.h
blob1acb592dd1c705d950d1c5255655c671954bf78e
1 #ifndef VRENDERTHREAD_H
2 #define VRENDERTHREAD_H
4 #include "guicast.h"
5 #include "virtualconsole.h"
6 #include "maxbuffers.h"
7 #include "vframe.inc"
8 #include "vrender.inc"
9 #include "vtrack.inc"
11 class VirtualVConsole : public VirtualConsole
13 public:
14 VirtualVConsole(RenderEngine *renderengine, VRender *vrender);
15 virtual ~VirtualVConsole();
17 // Create ptrs to input buffers
18 void new_input_buffer(int ring_buffer);
19 void delete_input_buffer(int ring_buffer);
20 int total_ring_buffers();
21 void get_playable_tracks();
22 VirtualNode* new_toplevel_node(Track *track, Module *module, int track_number);
24 int init_rendering(int duplicate);
27 int stop_rendering(int duplicate);
29 int process_buffer(int64_t input_position); // start of buffer in project if forward / end of buffer if reverse
31 int send_last_output_buffer();
33 int64_t absolute_frame; // absolute frame the buffer starts on
34 // Pointers to frames to read from disk. Single ring buffer
35 // (VFrame*)(Track*)
36 VFrame **buffer_in;
37 VRender *vrender;
50 #endif