r1009: Move the dependencies to newer package names
[cinelerra_cv/mob.git] / cinelerra / vdevice1394.h
blob4213845f439da4dcc8ec61f82bee34db980bb986
1 #ifndef VDEVICE1394_H
2 #define VDEVICE1394_H
4 #include "device1394input.inc"
5 #include "device1394output.inc"
6 #include "guicast.h"
7 #include "iec61883input.inc"
8 #include "iec61883output.inc"
9 #include "libdv.h"
10 #include "quicktime.h"
11 #include "sema.h"
12 #include "vdevicebase.h"
18 class VDevice1394 : public VDeviceBase
20 public:
21 VDevice1394(VideoDevice *device);
22 ~VDevice1394();
24 int open_input();
25 int open_output();
26 int close_all();
27 int read_buffer(VFrame *frame);
28 int write_buffer(VFrame *frame, EDL *edl);
29 // Called by the audio device to share a buffer
30 // int get_shared_data(unsigned char *data, long size);
31 int initialize();
32 int can_copy_from(Asset *asset, int output_w, int output_h);
33 // int stop_sharing();
34 void new_output_buffer(VFrame **output, int colormodel);
35 void encrypt(unsigned char *output, unsigned char *data, int data_size);
37 private:
38 Device1394Input *input_thread;
39 Device1394Output *output_thread;
40 IEC61883Input *input_iec;
41 IEC61883Output *output_iec;
42 VFrame *user_frame;
45 #endif