#include <linuxfirewiredevice.h>

Definition at line 15 of file linuxfirewiredevice.h.
Public Member Functions | |
| LinuxFirewireDevice (uint64_t guid, uint subunitid, uint speed, bool use_p2p, uint av_buffer_size_in_bytes=0) | |
| ~LinuxFirewireDevice () | |
| virtual bool | OpenPort (void) |
| virtual bool | ClosePort (void) |
| virtual bool | ResetBus (void) |
| virtual void | AddListener (TSDataListener *) |
| virtual void | RemoveListener (TSDataListener *) |
| virtual bool | IsPortOpen (void) const |
| void | SignalReset (uint generation) |
Static Public Member Functions | |
| static vector< AVCInfo > | GetSTBList (void) |
Static Public Attributes | |
| static const uint | kBroadcastChannel = 63 |
| static const uint | kConnectionP2P = 0 |
| static const uint | kConnectionBroadcast = 1 |
| static const uint | kMaxBufferedPackets = 2000 |
Private Member Functions | |
| bool | OpenNode (void) |
| bool | CloseNode (void) |
| bool | OpenAVStream (void) |
| bool | CloseAVStream (void) |
| bool | OpenP2PNode (void) |
| bool | CloseP2PNode (void) |
| bool | OpenBroadcastNode (void) |
| bool | CloseBroadcastNode (void) |
| bool | StartStreaming (void) |
| bool | StopStreaming (void) |
| void | RunPortHandler (void) |
| void | PrintDropped (uint dropped_packets) |
| bool | SetAVStreamBufferSize (uint size_in_bytes) |
| bool | SetAVStreamSpeed (uint speed) |
| bool | IsNodeOpen (void) const |
| bool | IsAVStreamOpen (void) const |
| bool | UpdateDeviceList (void) |
| void | UpdateDeviceListItem (uint64_t guid, void *pitem) |
| vector< AVCInfo > | GetSTBListPrivate (void) |
| virtual bool | SendAVCCommand (const vector< uint8_t > &cmd, vector< uint8_t > &result, int retry_cnt) |
| LinuxAVCInfo * | GetInfoPtr (void) |
| const LinuxAVCInfo * | GetInfoPtr (void) const |
| void | HandleBusReset (void) |
Private Attributes | |
| uint | m_bufsz |
| bool | m_db_reset_disabled |
| bool | m_use_p2p |
| LFDPriv * | m_priv |
Friends | |
| void * | linux_firewire_device_port_handler_thunk (void *param) |
| int | linux_firewire_device_tspacket_handler (unsigned char *tspacket, int len, uint dropped, void *callback_data) |
| LinuxFirewireDevice::LinuxFirewireDevice | ( | uint64_t | guid, | |
| uint | subunitid, | |||
| uint | speed, | |||
| bool | use_p2p, | |||
| uint | av_buffer_size_in_bytes = 0 | |||
| ) |
Definition at line 126 of file linuxfirewiredevice.cpp.
| LinuxFirewireDevice::~LinuxFirewireDevice | ( | ) |
Definition at line 142 of file linuxfirewiredevice.cpp.
| bool LinuxFirewireDevice::OpenPort | ( | void | ) | [virtual] |
| bool LinuxFirewireDevice::ClosePort | ( | void | ) | [virtual] |
Implements FirewireDevice.
Definition at line 299 of file linuxfirewiredevice.cpp.
Referenced by OpenPort(), and ~LinuxFirewireDevice().
| bool LinuxFirewireDevice::ResetBus | ( | void | ) | [virtual] |
Reimplemented from FirewireDevice.
Definition at line 781 of file linuxfirewiredevice.cpp.
Referenced by RunPortHandler().
| void LinuxFirewireDevice::AddListener | ( | TSDataListener * | listener | ) | [virtual] |
| void LinuxFirewireDevice::RemoveListener | ( | TSDataListener * | listener | ) | [virtual] |
| bool LinuxFirewireDevice::IsPortOpen | ( | void | ) | const [virtual] |
Implements FirewireDevice.
Definition at line 382 of file linuxfirewiredevice.cpp.
Referenced by ClosePort(), OpenAVStream(), OpenPort(), and ~LinuxFirewireDevice().
| void LinuxFirewireDevice::SignalReset | ( | uint | generation | ) |
Definition at line 158 of file linuxfirewiredevice.cpp.
| vector< AVCInfo > LinuxFirewireDevice::GetSTBList | ( | void | ) | [static] |
Reimplemented from FirewireDevice.
Definition at line 815 of file linuxfirewiredevice.cpp.
Referenced by FirewireDevice::GetSTBList().
| bool LinuxFirewireDevice::OpenNode | ( | void | ) | [private] |
Definition at line 395 of file linuxfirewiredevice.cpp.
Referenced by AddListener(), and OpenAVStream().
| bool LinuxFirewireDevice::CloseNode | ( | void | ) | [private] |
Definition at line 403 of file linuxfirewiredevice.cpp.
Referenced by ClosePort(), and RemoveListener().
| bool LinuxFirewireDevice::OpenAVStream | ( | void | ) | [private] |
Definition at line 532 of file linuxfirewiredevice.cpp.
Referenced by AddListener(), and StartStreaming().
| bool LinuxFirewireDevice::CloseAVStream | ( | void | ) | [private] |
Definition at line 570 of file linuxfirewiredevice.cpp.
Referenced by CloseP2PNode(), OpenBroadcastNode(), and RemoveListener().
| bool LinuxFirewireDevice::OpenP2PNode | ( | void | ) | [private] |
| bool LinuxFirewireDevice::CloseP2PNode | ( | void | ) | [private] |
| bool LinuxFirewireDevice::OpenBroadcastNode | ( | void | ) | [private] |
| bool LinuxFirewireDevice::CloseBroadcastNode | ( | void | ) | [private] |
| bool LinuxFirewireDevice::StartStreaming | ( | void | ) | [private] |
| bool LinuxFirewireDevice::StopStreaming | ( | void | ) | [private] |
Definition at line 704 of file linuxfirewiredevice.cpp.
Referenced by CloseAVStream(), and RemoveListener().
| void LinuxFirewireDevice::RunPortHandler | ( | void | ) | [private] |
Definition at line 596 of file linuxfirewiredevice.cpp.
Referenced by linux_firewire_device_port_handler_thunk().
| void LinuxFirewireDevice::PrintDropped | ( | uint | dropped_packets | ) | [private] |
Definition at line 802 of file linuxfirewiredevice.cpp.
Referenced by linux_firewire_device_tspacket_handler().
Definition at line 740 of file linuxfirewiredevice.cpp.
| bool LinuxFirewireDevice::IsNodeOpen | ( | void | ) | const [private] |
Definition at line 771 of file linuxfirewiredevice.cpp.
Referenced by ClosePort(), and OpenAVStream().
| bool LinuxFirewireDevice::IsAVStreamOpen | ( | void | ) | const [private] |
| bool LinuxFirewireDevice::UpdateDeviceList | ( | void | ) | [private] |
Definition at line 856 of file linuxfirewiredevice.cpp.
Referenced by LinuxFirewireDevice(), and SignalReset().
| void LinuxFirewireDevice::UpdateDeviceListItem | ( | uint64_t | guid, | |
| void * | pitem | |||
| ) | [private] |
| vector< AVCInfo > LinuxFirewireDevice::GetSTBListPrivate | ( | void | ) | [private] |
| bool LinuxFirewireDevice::SendAVCCommand | ( | const vector< uint8_t > & | cmd, | |
| vector< uint8_t > & | result, | |||
| int | retry_cnt | |||
| ) | [private, virtual] |
| LinuxAVCInfo * LinuxFirewireDevice::GetInfoPtr | ( | void | ) | [private] |
Definition at line 963 of file linuxfirewiredevice.cpp.
Referenced by CloseP2PNode(), ClosePort(), HandleBusReset(), IsPortOpen(), OpenAVStream(), OpenBroadcastNode(), OpenP2PNode(), OpenPort(), ResetBus(), RunPortHandler(), SendAVCCommand(), SignalReset(), and StopStreaming().
| const LinuxAVCInfo * LinuxFirewireDevice::GetInfoPtr | ( | void | ) | const [private] |
Definition at line 969 of file linuxfirewiredevice.cpp.
| void LinuxFirewireDevice::HandleBusReset | ( | void | ) | [private] |
| void* linux_firewire_device_port_handler_thunk | ( | void * | param | ) | [friend] |
Referenced by OpenPort().
| int linux_firewire_device_tspacket_handler | ( | unsigned char * | tspacket, | |
| int | len, | |||
| uint | dropped, | |||
| void * | callback_data | |||
| ) | [friend] |
Referenced by OpenAVStream().
const uint LinuxFirewireDevice::kBroadcastChannel = 63 [static] |
const uint LinuxFirewireDevice::kConnectionP2P = 0 [static] |
Definition at line 46 of file linuxfirewiredevice.h.
Referenced by FirewireChannel::FirewireChannel().
const uint LinuxFirewireDevice::kConnectionBroadcast = 1 [static] |
Definition at line 47 of file linuxfirewiredevice.h.
const uint LinuxFirewireDevice::kMaxBufferedPackets = 2000 [static] |
uint LinuxFirewireDevice::m_bufsz [private] |
Definition at line 89 of file linuxfirewiredevice.h.
Referenced by LinuxFirewireDevice(), and OpenAVStream().
bool LinuxFirewireDevice::m_db_reset_disabled [private] |
Definition at line 90 of file linuxfirewiredevice.h.
Referenced by LinuxFirewireDevice(), and ResetBus().
bool LinuxFirewireDevice::m_use_p2p [private] |
LFDPriv* LinuxFirewireDevice::m_priv [private] |
Definition at line 92 of file linuxfirewiredevice.h.
Referenced by CloseAVStream(), CloseBroadcastNode(), CloseNode(), CloseP2PNode(), ClosePort(), GetInfoPtr(), GetSTBListPrivate(), HandleBusReset(), IsAVStreamOpen(), IsNodeOpen(), OpenAVStream(), OpenBroadcastNode(), OpenP2PNode(), OpenPort(), RunPortHandler(), SetAVStreamBufferSize(), SetAVStreamSpeed(), SignalReset(), StartStreaming(), StopStreaming(), UpdateDeviceList(), UpdateDeviceListItem(), and ~LinuxFirewireDevice().
1.5.5