Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / virtualvconsole.h
blob1588c7bab9a3d65a134d58ee86930a0646428eb6
1 #ifndef VRENDERTHREAD_H
2 #define VRENDERTHREAD_H
4 #include "guicast.h"
5 #include "maxbuffers.h"
6 #include "vframe.inc"
7 #include "videodevice.inc"
8 #include "virtualconsole.h"
9 #include "vrender.inc"
10 #include "vtrack.inc"
12 class VirtualVConsole : public VirtualConsole
14 public:
15 VirtualVConsole(RenderEngine *renderengine, VRender *vrender);
16 virtual ~VirtualVConsole();
18 // Create ptrs to input buffers
20 * void new_input_buffer(int ring_buffer);
21 * void delete_input_buffer(int ring_buffer);
22 * int total_ring_buffers();
24 void get_playable_tracks();
25 VirtualNode* new_entry_node(Track *track,
26 Module *module,
27 int track_number);
29 VDeviceBase* get_vdriver();
31 // Composite a frame
32 // start_position - start of buffer in project if forward. end of buffer if reverse
33 int process_buffer(int64_t input_position);
35 // absolute frame the buffer starts on
36 int64_t absolute_frame;
38 VFrame *output_temp;
39 VRender *vrender;
40 // Calculated at the start of every process_buffer
41 int use_opengl;
54 #endif
56 // Local Variables:
57 // mode: C++
58 // c-file-style: "linux"
59 // End: