#include <videodevice.h>

Definition at line 67 of file videodevice.h.
| VideoDevice::VideoDevice | ( | MWindow * | mwindow = 0 |
) |
Definition at line 107 of file videodevice.C.
References channel, channel_lock, MWindow::defaults, in_config, initialize(), out_config, picture, picture_lock, and sharing_lock.

| VideoDevice::~VideoDevice | ( | ) |
Definition at line 121 of file videodevice.C.
References channel, channel_lock, in_config, input_sources, out_config, picture, picture_lock, ArrayList< TYPE >::remove_all_objects(), and sharing_lock.

| int VideoDevice::close_all | ( | ) |
Definition at line 400 of file videodevice.C.
References capturing, VDeviceBase::close_all(), initialize(), input_base, input_sources, keepalive, output_base, r, ArrayList< TYPE >::remove_all_objects(), KeepaliveThread::stop(), and w.
Referenced by RecordEngine::close_input_devices(), Record::close_input_devices(), RenderEngine::close_output(), LiveVideo::render_stop(), PackageRenderer::stop_output(), LiveVideo::~LiveVideo(), and RecordMonitor::~RecordMonitor().

| int VideoDevice::open_input | ( | VideoInConfig * | config, | |
| int | input_x, | |||
| int | input_y, | |||
| float | input_z, | |||
| double | frame_rate | |||
| ) |
Definition at line 161 of file videodevice.C.
References capturing, VideoInConfig::driver, in_config, input_base, keepalive, new_device_base(), VDeviceBase::open_input(), r, and KeepaliveThread::start_keepalive().
Referenced by Record::open_input_devices(), and LiveVideo::process_buffer().

| VDeviceBase * VideoDevice::new_device_base | ( | ) |
Definition at line 228 of file videodevice.C.
References VideoInConfig::driver, in_config, and input_base.
Referenced by fix_asset(), and open_input().
| VDeviceBase * VideoDevice::get_output_base | ( | ) |
Definition at line 296 of file videodevice.C.
References output_base.
Referenced by VirtualVConsole::get_vdriver(), VModule::import_frame(), VAttachmentPoint::render(), and PluginServer::run_opengl().
| int VideoDevice::is_compressed | ( | int | driver, | |
| int | use_file, | |||
| int | use_fixed | |||
| ) | [static] |
Definition at line 301 of file videodevice.C.
Referenced by is_compressed(), RecordVideo::read_buffer(), RecordVideo::rewind_file(), RecordThread::run(), and Record::run().
| int VideoDevice::is_compressed | ( | int | use_file, | |
| int | use_fixed | |||
| ) |
Definition at line 311 of file videodevice.C.
References VideoInConfig::driver, in_config, and is_compressed().

| void VideoDevice::load_channeldb | ( | ChannelDB * | channeldb, | |
| VideoInConfig * | vconfig_in | |||
| ) | [static] |
Definition at line 285 of file videodevice.C.
References get_channeldb_path(), and ChannelDB::load().
Referenced by LiveVideo::load_defaults(), and Record::run().

| void VideoDevice::save_channeldb | ( | ChannelDB * | channeldb, | |
| VideoInConfig * | vconfig_in | |||
| ) | [static] |
Definition at line 290 of file videodevice.C.
References get_channeldb_path(), and ChannelDB::save().
Referenced by RecordChannelPicker::handle_channel_edit(), and Record::run().

| void VideoDevice::fix_asset | ( | Asset * | asset, | |
| int | driver | |||
| ) |
Definition at line 317 of file videodevice.C.
References VDeviceBase::fix_asset(), Asset::format, input_base, new_device_base(), QUICKTIME_DVSD, QUICKTIME_MJPA, and Asset::vcodec.
Referenced by Record::run().

| char * VideoDevice::drivertostr | ( | int | driver | ) | [static] |
Definition at line 349 of file videodevice.C.
| int VideoDevice::get_best_colormodel | ( | Asset * | asset | ) |
Definition at line 392 of file videodevice.C.
References BC_RGB888, VDeviceBase::get_best_colormodel(), and input_base.
Referenced by RecordVideo::get_capture_frame(), RecordMonitorThread::init_output_format(), Record::open_input_devices(), LiveVideo::process_buffer(), RecordVideo::rewind_file(), and RecordThread::run().

| int VideoDevice::set_adevice | ( | AudioDevice * | adevice | ) |
Definition at line 440 of file videodevice.C.
Referenced by RecordEngine::open_input_devices(), Record::open_input_devices(), and RenderEngine::open_output().
| int VideoDevice::get_failed | ( | ) |
Definition at line 465 of file videodevice.C.
References KeepaliveThread::get_failed(), and keepalive.
Referenced by RecordVideo::stop_recording().

| int VideoDevice::interrupt_crash | ( | ) |
Definition at line 473 of file videodevice.C.
References input_base, and VDeviceBase::interrupt_crash().
Referenced by LiveVideo::render_stop(), RecordVideo::stop_recording(), and LiveVideo::~LiveVideo().

| int VideoDevice::set_translation | ( | int | input_x, | |
| int | input_y | |||
| ) |
| int VideoDevice::set_channel | ( | Channel * | channel | ) |
Definition at line 492 of file videodevice.C.
References channel_changed, channel_lock, Channel::copy_settings(), input_base, Mutex::lock(), output_base, VDeviceBase::set_channel(), and Mutex::unlock().
Referenced by RecordEngine::change_channel(), RenderEngine::open_output(), LiveVideo::process_buffer(), and Record::set_channel().

| void VideoDevice::set_quality | ( | int | quality | ) |
Definition at line 506 of file videodevice.C.
Referenced by Record::open_input_devices(), and RenderEngine::open_output().
| int VideoDevice::set_field_order | ( | int | odd_field_first | ) |
Definition at line 486 of file videodevice.C.
Referenced by Record::open_input_devices(), and RecordVideo::run().
| int VideoDevice::set_latency_counter | ( | int | value | ) |
| int VideoDevice::set_picture | ( | PictureConfig * | picture | ) |
Definition at line 516 of file videodevice.C.
References PictureConfig::copy_settings(), input_base, Mutex::lock(), picture_changed, picture_lock, VDeviceBase::set_picture(), and Mutex::unlock().
Referenced by LiveVideo::process_buffer(), RecordEngine::set_video_picture(), and Record::set_video_picture().

| int VideoDevice::capture_frame | ( | int | frame_number | ) |
| int VideoDevice::read_buffer | ( | VFrame * | frame | ) |
Definition at line 599 of file videodevice.C.
References KeepaliveThread::capturing, capturing, input_base, keepalive, VDeviceBase::read_buffer(), and KeepaliveThread::reset_keepalive().
Referenced by LiveVideo::process_buffer(), and RecordVideo::read_buffer().

| int VideoDevice::has_signal | ( | ) |
Definition at line 592 of file videodevice.C.
References VDeviceBase::has_signal(), and input_base.
Referenced by Record::has_signal().

| int VideoDevice::frame_to_vframe | ( | VFrame * | frame, | |
| unsigned char * | input | |||
| ) |
| int VideoDevice::initialize | ( | ) |
Definition at line 133 of file videodevice.C.
References adevice, capturing, channel_changed, cpus, done_sharing, frame_resized, input_base, input_x, input_y, input_z, interrupt, irate, is_playing_back, is_recording, keepalive, orate, out_h, out_w, output_base, output_format, picture_changed, quality, r, Mutex::reset(), sharing, sharing_lock, single_frame, swap_bytes, and w.
Referenced by close_all(), and VideoDevice().

Definition at line 447 of file videodevice.C.
References input_sources.
Referenced by RecordEngine::get_video_inputs(), and Record::get_video_inputs().
| Channel * VideoDevice::new_input_source | ( | char * | device_name | ) |
Definition at line 452 of file videodevice.C.
References ArrayList< TYPE >::append(), Channel::device_name, input_sources, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

| BC_Bitmap * VideoDevice::get_bitmap | ( | ) |
Definition at line 726 of file videodevice.C.
References VDeviceBase::get_bitmap(), and output_base.

| int VideoDevice::set_cloexec_flag | ( | int | desc, | |
| int | value | |||
| ) |
Definition at line 732 of file videodevice.C.
| int VideoDevice::open_output | ( | VideoOutConfig * | config, | |
| float | rate, | |||
| int | out_w, | |||
| int | out_h, | |||
| Canvas * | output, | |||
| int | single_frame | |||
| ) |
Definition at line 625 of file videodevice.C.
References VideoOutConfig::driver, VDeviceBase::open_output(), orate, out_config, output_base, and w.
Referenced by PackageRenderer::create_engine(), and RenderEngine::open_output().

| void VideoDevice::set_cpus | ( | int | cpus | ) |
| int VideoDevice::start_playback | ( | ) |
Definition at line 678 of file videodevice.C.
References interrupt, is_playing_back, output_base, and VDeviceBase::start_playback().
Referenced by PackageRenderer::create_engine(), and RenderEngine::start_video().

| int VideoDevice::interrupt_playback | ( | ) |
Definition at line 708 of file videodevice.C.
References interrupt.
Referenced by RenderEngine::interrupt_playback().
| void VideoDevice::new_output_buffer | ( | VFrame ** | output, | |
| int | colormodel | |||
| ) |
Definition at line 701 of file videodevice.C.
References VDeviceBase::new_output_buffer(), and output_base.
Referenced by PackageRenderer::do_video(), RecordMonitorThread::new_output_frame(), and VRender::process_buffer().

| int VideoDevice::wait_for_startup | ( | ) |
| int VideoDevice::wait_for_completion | ( | ) |
| int VideoDevice::output_visible | ( | ) |
Definition at line 721 of file videodevice.C.
References output_base, and VDeviceBase::output_visible().
Referenced by PackageRenderer::do_video().

| int VideoDevice::stop_playback | ( | ) |
Definition at line 688 of file videodevice.C.
References interrupt, is_playing_back, output_base, and VDeviceBase::stop_playback().
Referenced by PackageRenderer::stop_output().

| void VideoDevice::goose_input | ( | ) |
Definition at line 696 of file videodevice.C.
References VDeviceBase::goose_input(), and input_base.

| long VideoDevice::current_position | ( | ) |
Definition at line 714 of file videodevice.C.
References output_base, and VDeviceBase::write_buffer().
Referenced by PackageRenderer::do_video(), VRender::flash_output(), and RecordMonitorThread::show_output_frame().

| int VideoDevice::update_translation | ( | ) |
Definition at line 529 of file videodevice.C.
References capture_h, capture_in_frame_x1, capture_in_frame_x2, capture_in_frame_y1, capture_in_frame_y2, capture_w, VideoInConfig::driver, frame_in_capture_x1, frame_in_capture_x2, frame_in_capture_y1, frame_in_capture_y2, frame_resized, VideoInConfig::h, in_config, input_x, input_y, input_z, new_input_x, new_input_y, new_input_z, and VideoInConfig::w.
Definition at line 173 of file videodevice.h.
Referenced by initialize(), interrupt_playback(), VRender::run(), start_playback(), and stop_playback().
Definition at line 176 of file videodevice.h.
Referenced by initialize(), start_playback(), and stop_playback().
Definition at line 178 of file videodevice.h.
Referenced by initialize(), VDevice1394::open_input(), and VDevice1394::open_output().
Definition at line 180 of file videodevice.h.
Referenced by VDevice1394::close_all(), initialize(), VDevice1394::open_input(), and VDevice1394::open_output().
Definition at line 183 of file videodevice.h.
Referenced by initialize(), VideoDevice(), and ~VideoDevice().
| float VideoDevice::orate |
| float VideoDevice::irate |