|
| | DarwinFirewireDevice (const DarwinFirewireDevice &)=delete |
| |
| DarwinFirewireDevice & | operator= (const DarwinFirewireDevice &)=delete |
| |
| void | StartController (void) |
| |
| void | StopController (void) |
| |
| bool | OpenAVStream (void) |
| |
| bool | CloseAVStream (void) |
| |
| bool | IsAVStreamOpen (void) const |
| |
| bool | StartStreaming (void) |
| |
| bool | StopStreaming (void) |
| |
| bool | SendAVCCommand (const std::vector< uint8_t > &cmd, std::vector< uint8_t > &result, int) override |
| |
| void | HandleBusReset (void) |
| |
| bool | UpdatePlugRegisterPrivate (uint plug_number, int fw_chan, int new_speed, bool add_plug, bool remove_plug) |
| |
| bool | UpdatePlugRegister (uint plug_number, int fw_chan, int speed, bool add_plug, bool remove_plug, uint retry_cnt=4) |
| |
| void | RunController (void) |
| |
| void | BroadcastToListeners (const unsigned char *data, uint dataSize) override |
| |
| void | UpdateDeviceListItem (uint64_t guid, void *item) |
| |
| void | ProcessNoDataMessage (void) |
| |
| void | ProcessStreamingMessage (uint32_t msg, uint32_t param1, uint32_t param2) |
| |
| DarwinAVCInfo * | GetInfoPtr (void) |
| |
| const DarwinAVCInfo * | GetInfoPtr (void) const |
| |
| int | GetMaxSpeed (void) |
| |
| bool | IsSTBStreaming (uint *fw_channel=nullptr) |
| |
| std::vector< AVCInfo > | GetSTBListPrivate (void) |
| |
|
| enum | PowerState : std::uint8_t { kAVCPowerOn
, kAVCPowerOff
, kAVCPowerUnknown
, kAVCPowerQueryFailed
} |
| |
| enum | IEEE1394Command : std::uint8_t {
kAVCControlCommand = 0x00
, kAVCStatusInquiryCommand = 0x01
, kAVCSpecificInquiryCommand = 0x02
, kAVCNotifyCommand = 0x03
,
kAVCGeneralInquiryCommand = 0x04
, kAVCNotImplementedStatus = 0x08
, kAVCAcceptedStatus = 0x09
, kAVCRejectedStatus = 0x0a
,
kAVCInTransitionStatus = 0x0b
, kAVCImplementedStatus = 0x0c
, kAVCChangedStatus = 0x0d
, kAVCInterimStatus = 0x0f
,
kAVCResponseImplemented = 0x0c
} |
| |
| enum | IEEE1394UnitAddress : std::uint8_t {
kAVCSubunitId0 = 0x00
, kAVCSubunitId1 = 0x01
, kAVCSubunitId2 = 0x02
, kAVCSubunitId3 = 0x03
,
kAVCSubunitId4 = 0x04
, kAVCSubunitIdExtended = 0x05
, kAVCSubunitIdIgnore = 0x07
, kAVCSubunitTypeVideoMonitor = (0x00 << 3)
,
kAVCSubunitTypeAudio = (0x01 << 3)
, kAVCSubunitTypePrinter = (0x02 << 3)
, kAVCSubunitTypeDiscRecorder = (0x03 << 3)
, kAVCSubunitTypeTapeRecorder = (0x04 << 3)
,
kAVCSubunitTypeTuner = (0x05 << 3)
, kAVCSubunitTypeCA = (0x06 << 3)
, kAVCSubunitTypeVideoCamera = (0x07 << 3)
, kAVCSubunitTypePanel = (0x09 << 3)
,
kAVCSubunitTypeBulletinBoard = (0x0a << 3)
, kAVCSubunitTypeCameraStorage = (0x0b << 3)
, kAVCSubunitTypeMusic = (0x0c << 3)
, kAVCSubunitTypeVendorUnique = (0x1c << 3)
,
kAVCSubunitTypeExtended = (0x1e << 3)
, kAVCSubunitTypeUnit = (0x1f << 3)
} |
| |
| enum | IEEE1394Opcode : std::uint8_t {
kAVCUnitPlugInfoOpcode = 0x02
, kAVCUnitDigitalOutputOpcode = 0x10
, kAVCUnitDigitalInputOpcode = 0x11
, kAVCUnitChannelUsageOpcode = 0x12
,
kAVCUnitOutputPlugSignalFormatOpcode = 0x18
, kAVCUnitInputPlugSignalFormatOpcode = 0x19
, kAVCUnitConnectAVOpcode = 0x20
, kAVCUnitDisconnectAVOpcode = 0x21
,
kAVCUnitConnectionsOpcode = 0x22
, kAVCUnitConnectOpcode = 0x24
, kAVCUnitDisconnectOpcode = 0x25
, kAVCUnitUnitInfoOpcode = 0x30
,
kAVCUnitSubunitInfoOpcode = 0x31
, kAVCUnitSignalSourceOpcode = 0x1a
, kAVCUnitPowerOpcode = 0xb2
, kAVCCommonOpenDescriptorOpcode = 0x08
,
kAVCCommonReadDescriptorOpcode = 0x09
, kAVCCommonWriteDescriptorOpcode = 0x0A
, kAVCCommonSearchDescriptorOpcode = 0x0B
, kAVCCommonObjectNumberSelectOpcode = 0x0D
,
kAVCCommonPowerOpcode = 0xB2
, kAVCCommonReserveOpcode = 0x01
, kAVCCommonPlugInfoOpcode = 0x02
, kAVCCommonVendorDependentOpcode = 0x00
,
kAVCPanelPassThrough = 0x7c
} |
| |
| enum | IEEE1394UnitPowerParam0 : std::uint8_t { kAVCPowerStateOn = 0x70
, kAVCPowerStateOff = 0x60
, kAVCPowerStateQuery = 0x7f
} |
| |
| enum | IEEE1394PanelPassThroughParam0 : std::uint8_t {
kAVCPanelKeySelect = 0x00
, kAVCPanelKeyUp = 0x01
, kAVCPanelKeyDown = 0x02
, kAVCPanelKeyLeft = 0x03
,
kAVCPanelKeyRight = 0x04
, kAVCPanelKeyRightUp = 0x05
, kAVCPanelKeyRightDown = 0x06
, kAVCPanelKeyLeftUp = 0x07
,
kAVCPanelKeyLeftDown = 0x08
, kAVCPanelKeyRootMenu = 0x09
, kAVCPanelKeySetupMenu = 0x0A
, kAVCPanelKeyContentsMenu = 0x0B
,
kAVCPanelKeyFavoriteMenu = 0x0C
, kAVCPanelKeyExit = 0x0D
, kAVCPanelKey0 = 0x20
, kAVCPanelKey1 = 0x21
,
kAVCPanelKey2 = 0x22
, kAVCPanelKey3 = 0x23
, kAVCPanelKey4 = 0x24
, kAVCPanelKey5 = 0x25
,
kAVCPanelKey6 = 0x26
, kAVCPanelKey7 = 0x27
, kAVCPanelKey8 = 0x28
, kAVCPanelKey9 = 0x29
,
kAVCPanelKeyDot = 0x2A
, kAVCPanelKeyEnter = 0x2B
, kAVCPanelKeyClear = 0x2C
, kAVCPanelKeyChannelUp = 0x30
,
kAVCPanelKeyChannelDown = 0x31
, kAVCPanelKeyPreviousChannel = 0x32
, kAVCPanelKeySoundSelect = 0x33
, kAVCPanelKeyInputSelect = 0x34
,
kAVCPanelKeyDisplayInfo = 0x35
, kAVCPanelKeyHelp = 0x36
, kAVCPanelKeyPageUp = 0x37
, kAVCPanelKeyPageDown = 0x38
,
kAVCPanelKeyPower = 0x40
, kAVCPanelKeyVolumeUp = 0x41
, kAVCPanelKeyVolumeDown = 0x42
, kAVCPanelKeyMute = 0x43
,
kAVCPanelKeyPlay = 0x44
, kAVCPanelKeyStop = 0x45
, kAVCPanelKeyPause = 0x46
, kAVCPanelKeyRecord = 0x47
,
kAVCPanelKeyRewind = 0x48
, kAVCPanelKeyFastForward = 0x49
, kAVCPanelKeyEject = 0x4a
, kAVCPanelKeyForward = 0x4b
,
kAVCPanelKeyBackward = 0x4c
, kAVCPanelKeyAngle = 0x50
, kAVCPanelKeySubPicture = 0x51
, kAVCPanelKeyTuneFunction = 0x67
,
kAVCPanelKeyPress = 0x00
, kAVCPanelKeyRelease = 0x80
} |
| |
| | FirewireDevice (uint64_t guid, uint subunitid, uint speed) |
| |
| virtual bool | SendAVCCommand (const std::vector< uint8_t > &cmd, std::vector< uint8_t > &result, int retry_cnt)=0 |
| |
| void | SetLastChannel (uint channel) |
| |
| void | ProcessPATPacket (const TSPacket &tspacket) |
| |
| virtual void | BroadcastToListeners (const unsigned char *data, uint dataSize) |
| |
| uint64_t | m_guid |
| |
| uint | m_subunitid |
| |
| uint | m_speed |
| |
| uint | m_lastChannel {0} |
| |
| uint | m_lastCrc {0} |
| |
| bool | m_bufferCleared {true} |
| |
| uint | m_openPortCnt {0} |
| |
| std::vector< TSDataListener * > | m_listeners |
| |
| QMutex | m_lock |
| |
| static QMap< uint64_t, QString > | s_idToModel |
| | Vendor ID + Model ID to FirewireDevice STB model string. More...
|
| |
| static QMutex | s_staticLock |
| |
Definition at line 10 of file darwinfirewiredevice.h.