diff options
author | scop <scop> | 2005-04-18 19:17:40 +0000 |
---|---|---|
committer | scop <scop> | 2005-04-18 19:17:40 +0000 |
commit | 37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd (patch) | |
tree | 273ceb29e8631796f83b88e3a133dbab4ccbe2c7 /dxr3demuxdevice.h | |
parent | 4d4c6bb89da5b1cc3eff554412ea834337308cd5 (diff) | |
download | vdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.gz vdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.bz2 |
Add (X)Emacs indentation settings.
Diffstat (limited to 'dxr3demuxdevice.h')
-rw-r--r-- | dxr3demuxdevice.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/dxr3demuxdevice.h b/dxr3demuxdevice.h index fc299d3..abe18d8 100644 --- a/dxr3demuxdevice.h +++ b/dxr3demuxdevice.h @@ -39,50 +39,50 @@ const uint32_t PRE_BUFFER_LENGTH = 0; // extract video and audio class cDxr3DemuxDevice { -public: - cDxr3DemuxDevice(); - cDxr3DemuxDevice(cDxr3Interface& dxr3Device); - ~cDxr3DemuxDevice(); + public: + cDxr3DemuxDevice(); + cDxr3DemuxDevice(cDxr3Interface& dxr3Device); + ~cDxr3DemuxDevice(); -public: - void Stop(void); - void Resync(void); - void Clear(void); - void Init(void); - void SetTvMode(void); - void SetAudioOnlyMode(void); - void SetVideoOnlyMode(void); - void SetReplayMode(void); - void SetTrickMode(eDxr3TrickState trickState, int Speed = 1); + public: + void Stop(void); + void Resync(void); + void Clear(void); + void Init(void); + void SetTvMode(void); + void SetAudioOnlyMode(void); + void SetVideoOnlyMode(void); + void SetReplayMode(void); + void SetTrickMode(eDxr3TrickState trickState, int Speed = 1); - #if VDRVERSNUM < 10307 - cOsdBase* NewOsd(int x, int y); - #endif +#if VDRVERSNUM < 10307 + cOsdBase* NewOsd(int x, int y); +#endif - int DemuxPes(const uint8_t* buf, int length, bool bAc3Dts = false); - int DemuxAudioPes(const uint8_t* buf, int length); - void StillPicture(const uint8_t* buf, int length); + int DemuxPes(const uint8_t* buf, int length, bool bAc3Dts = false); + int DemuxAudioPes(const uint8_t* buf, int length); + void StillPicture(const uint8_t* buf, int length); - eDxr3DemuxMode GetDemuxMode(void) { return m_demuxMode;}; - eDxr3TrickState GetTrickState(void) { return m_trickState;}; - bool Poll(int TimeoutMs){ return m_aBuf.Poll(TimeoutMs) && m_vBuf.Poll(TimeoutMs); }; - // { return m_demuxMode == DXR3_DEMUX_AUDIO_ONLY_MODE ? m_aBuf.Poll(TimeoutMs) : m_aBuf.Poll(TimeoutMs); }; + eDxr3DemuxMode GetDemuxMode(void) { return m_demuxMode;}; + eDxr3TrickState GetTrickState(void) { return m_trickState;}; + bool Poll(int TimeoutMs){ return m_aBuf.Poll(TimeoutMs) && m_vBuf.Poll(TimeoutMs); }; + // { return m_demuxMode == DXR3_DEMUX_AUDIO_ONLY_MODE ? m_aBuf.Poll(TimeoutMs) : m_aBuf.Poll(TimeoutMs); }; -protected: - cDxr3Interface& m_dxr3Device; - cDxr3SyncBuffer m_aBuf; - cDxr3SyncBuffer m_vBuf; - eDxr3DemuxSynchState m_synchState; - eDxr3DemuxMode m_demuxMode; - eDxr3TrickState m_trickState; - cDxr3AudioDecoder m_aDecoder; - cDxr3AudioOutThread* m_pAudioThread; - cDxr3VideoOutThread* m_pVideoThread; - uint32_t m_stopScr; - int m_ReUseFrame; // how often a frame should be used + protected: + cDxr3Interface& m_dxr3Device; + cDxr3SyncBuffer m_aBuf; + cDxr3SyncBuffer m_vBuf; + eDxr3DemuxSynchState m_synchState; + eDxr3DemuxMode m_demuxMode; + eDxr3TrickState m_trickState; + cDxr3AudioDecoder m_aDecoder; + cDxr3AudioOutThread* m_pAudioThread; + cDxr3VideoOutThread* m_pVideoThread; + uint32_t m_stopScr; + int m_ReUseFrame; // how often a frame should be used -private: - cDxr3DemuxDevice(cDxr3DemuxDevice&); // no copy constructor + private: + cDxr3DemuxDevice(cDxr3DemuxDevice&); // no copy constructor }; #endif // __DXR3_DEMUX_DEVICE_H |