#include <vdevice1394.h>
Inherits VDeviceBase.

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 |
| VFrame * | user_frame |
Definition at line 18 of file vdevice1394.h.
| VDevice1394::VDevice1394 | ( | VideoDevice * | device | ) |
Definition at line 26 of file vdevice1394.C.
References initialize().

| VDevice1394::~VDevice1394 | ( | ) |
Definition at line 32 of file vdevice1394.C.
References close_all().

| int VDevice1394::open_input | ( | ) | [virtual] |
Reimplemented from VDeviceBase.
Definition at line 46 of file vdevice1394.C.
References VideoDevice::adevice, VideoInConfig::capture_length, VDeviceBase::device, VideoInConfig::driver, AudioInConfig::driver, VideoInConfig::firewire_channel, VideoInConfig::firewire_path, VideoInConfig::firewire_port, AudioDevice::get_lowlevel_in(), VideoInConfig::h, VideoDevice::in_config, AudioDevice::in_config, Audio1394::input_iec, input_iec, Audio1394::input_thread, input_thread, VideoDevice::sharing, and VideoInConfig::w.

| int VDevice1394::open_output | ( | ) | [virtual] |
Reimplemented from VDeviceBase.
Definition at line 103 of file vdevice1394.C.
References VideoDevice::adevice, VDeviceBase::device, VideoOutConfig::driver, AudioOutConfig::driver, VideoOutConfig::dv1394_channel, VideoOutConfig::dv1394_path, VideoOutConfig::dv1394_port, VideoOutConfig::dv1394_syt, VideoOutConfig::firewire_channel, VideoOutConfig::firewire_path, VideoOutConfig::firewire_port, VideoOutConfig::firewire_syt, AudioDevice::get_lowlevel_out(), VideoDevice::out_config, AudioDevice::out_config, Audio1394::output_iec, output_iec, Audio1394::output_thread, output_thread, and VideoDevice::sharing.

| 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().

| int VDevice1394::read_buffer | ( | VFrame * | frame | ) | [virtual] |
Reimplemented from VDeviceBase.
Definition at line 200 of file vdevice1394.C.
References input_iec, and input_thread.
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.

| void VDevice1394::encrypt | ( | unsigned char * | output, | |
| unsigned char * | data, | |||
| int | data_size | |||
| ) |
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().
VFrame* VDevice1394::user_frame [private] |
Definition at line 42 of file vdevice1394.h.
Referenced by close_all(), initialize(), and new_output_buffer().
1.5.5