VDevice1394 Class Reference

#include <vdevice1394.h>

Inherits VDeviceBase.

Collaboration diagram for VDevice1394:

Collaboration graph
[legend]

Public Member Functions

 VDevice1394 (VideoDevice *device)
 ~VDevice1394 ()
int open_input ()
int open_output ()
int close_all ()
int read_buffer (VFrame *frame)
int write_buffer (VFrame *frame, EDL *edl)
int initialize ()
int can_copy_from (Asset *asset, int output_w, int output_h)
void new_output_buffer (VFrame **output, int colormodel)
void encrypt (unsigned char *output, unsigned char *data, int data_size)

Private Attributes

Device1394Input * input_thread
Device1394Output * output_thread
IEC61883Input * input_iec
IEC61883Output * output_iec
VFrameuser_frame

Detailed Description

Definition at line 18 of file vdevice1394.h.


Constructor & Destructor Documentation

VDevice1394::VDevice1394 ( VideoDevice device  ) 

Definition at line 26 of file vdevice1394.C.

References initialize().

Here is the call graph for this function:

VDevice1394::~VDevice1394 (  ) 

Definition at line 32 of file vdevice1394.C.

References close_all().

Here is the call graph for this function:


Member Function Documentation

int VDevice1394::open_input (  )  [virtual]

int VDevice1394::open_output (  )  [virtual]

int VDevice1394::close_all (  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 161 of file vdevice1394.C.

References VDeviceBase::device, initialize(), input_iec, input_thread, output_iec, output_thread, VideoDevice::sharing, and user_frame.

Referenced by ~VDevice1394().

Here is the call graph for this function:

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

Reimplemented from VDeviceBase.

Definition at line 200 of file vdevice1394.C.

References input_iec, and input_thread.

int VDevice1394::write_buffer ( VFrame frame,
EDL edl 
) [virtual]

Reimplemented from VDeviceBase.

Definition at line 247 of file vdevice1394.C.

References output_iec, and output_thread.

int VDevice1394::initialize (  ) 

Definition at line 37 of file vdevice1394.C.

References input_iec, input_thread, output_iec, output_thread, and user_frame.

Referenced by close_all(), and VDevice1394().

int VDevice1394::can_copy_from ( Asset asset,
int  output_w,
int  output_h 
)

Definition at line 258 of file vdevice1394.C.

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

Reimplemented from VDeviceBase.

Definition at line 215 of file vdevice1394.C.

References BC_COMPRESSED, VDeviceBase::device, VFrame::get_color_model(), VideoDevice::out_h, VideoDevice::out_w, VFrame::set_shm_offset(), and user_frame.

Here is the call graph for this function:

void VDevice1394::encrypt ( unsigned char *  output,
unsigned char *  data,
int  data_size 
)


Field Documentation

Device1394Input* VDevice1394::input_thread [private]

Definition at line 38 of file vdevice1394.h.

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

Device1394Output* VDevice1394::output_thread [private]

Definition at line 39 of file vdevice1394.h.

Referenced by close_all(), initialize(), open_output(), and write_buffer().

IEC61883Input* VDevice1394::input_iec [private]

Definition at line 40 of file vdevice1394.h.

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

IEC61883Output* VDevice1394::output_iec [private]

Definition at line 41 of file vdevice1394.h.

Referenced by close_all(), initialize(), open_output(), and write_buffer().

Definition at line 42 of file vdevice1394.h.

Referenced by close_all(), initialize(), and new_output_buffer().


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

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