#include <sys/select.h>
#include <unistd.h>
#include <fcntl.h>
#include <libraw1394/raw1394.h>
#include <libraw1394/csr.h>
#include <libiec61883/iec61883.h>
#include <libavc1394/avc1394.h>
#include <libavc1394/rom1394.h>
#include <netinet/in.h>
#include <algorithm>
#include <chrono>
#include <map>
#include <thread>
#include <QDateTime>
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythlogging.h"
#include "firewirerecorder.h"
#include "linuxavcinfo.h"
#include "linuxfirewiredevice.h"
Go to the source code of this file.
|
#define | LOC QString("LFireDev(%1): ").arg(guid_to_string(m_guid)) |
| LinuxFirewireDevice Copyright (c) 2005 by Jim Westfall Copyright (c) 2006 by Daniel Kristjansson SA3250HD support Copyright (c) 2005 by Matt Porter SA4200HD/Alternate 3250 support Copyright (c) 2006 by Chris Ingrassia Distributed as part of MythTV under GPL v2 and later. More...
|
|
◆ LOC
LinuxFirewireDevice Copyright (c) 2005 by Jim Westfall Copyright (c) 2006 by Daniel Kristjansson SA3250HD support Copyright (c) 2005 by Matt Porter SA4200HD/Alternate 3250 support Copyright (c) 2006 by Chris Ingrassia Distributed as part of MythTV under GPL v2 and later.
Definition at line 41 of file linuxfirewiredevice.cpp.
◆ handle_to_lfd_t
◆ add_handle()
◆ remove_handle()
static void remove_handle |
( |
raw1394handle_t |
handle | ) |
|
|
static |
◆ linux_firewire_device_tspacket_handler()
int linux_firewire_device_tspacket_handler |
( |
unsigned char * |
tspacket, |
|
|
int |
len, |
|
|
uint |
dropped, |
|
|
void * |
callback_data |
|
) |
| |
◆ linux_firewire_device_port_handler_thunk()
void* linux_firewire_device_port_handler_thunk |
( |
void * |
param | ) |
|
◆ has_data()
static bool has_data |
( |
int |
fd, |
|
|
std::chrono::milliseconds |
msec |
|
) |
| |
|
static |
◆ speed_to_string()
static QString speed_to_string |
( |
uint |
speed | ) |
|
|
static |
◆ linux_firewire_device_bus_reset_handler()
static int linux_firewire_device_bus_reset_handler |
( |
raw1394handle_t |
handle, |
|
|
uint |
generation |
|
) |
| |
|
static |
◆ kNoDataTimeout
constexpr std::chrono::milliseconds kNoDataTimeout { 50ms } |
|
staticconstexpr |
◆ kResetTimeout
constexpr std::chrono::milliseconds kResetTimeout { 1s } |
|
staticconstexpr |