summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-06-05 08:49:39 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-06-05 08:49:39 +0200
commit258901012adff5929c9488fe621101d7aa3e42e7 (patch)
tree5e74bc1cb9539d044a27ba82454675a4e4a39f9c
parenteecd8d6b5fc35cd39b53f6c2642ccbc388d47044 (diff)
downloadvdr-plugin-dxr3-258901012adff5929c9488fe621101d7aa3e42e7.tar.gz
vdr-plugin-dxr3-258901012adff5929c9488fe621101d7aa3e42e7.tar.bz2
update emacs code style part
-rw-r--r--dxr3.c3
-rw-r--r--dxr3.h3
-rw-r--r--dxr3audiodecoder.c3
-rw-r--r--dxr3audiodecoder.h3
-rw-r--r--dxr3blackframe.c3
-rw-r--r--dxr3colormanager.c3
-rw-r--r--dxr3colormanager.h3
-rw-r--r--dxr3configdata.c3
-rw-r--r--dxr3configdata.h3
-rw-r--r--dxr3demuxdevice.c3
-rw-r--r--dxr3demuxdevice.h3
-rw-r--r--dxr3device.c3
-rw-r--r--dxr3device.h3
-rw-r--r--dxr3generaldefines.h3
-rw-r--r--dxr3interface.c3
-rw-r--r--dxr3interface.h3
-rw-r--r--dxr3interface_spu_encoder.c3
-rw-r--r--dxr3interface_spu_encoder.h3
-rw-r--r--dxr3multichannelaudio.c3
-rw-r--r--dxr3multichannelaudio.h9
-rw-r--r--dxr3osd.c3
-rw-r--r--dxr3osd.h3
-rw-r--r--dxr3output-audio.c3
-rw-r--r--dxr3output-video.c3
-rw-r--r--dxr3output.c3
-rw-r--r--dxr3output.h3
-rw-r--r--dxr3pesframe.c3
-rw-r--r--dxr3pesframe.h3
-rw-r--r--dxr3singleton.h3
-rw-r--r--dxr3spudecoder.c3
-rw-r--r--dxr3spudecoder.h3
-rw-r--r--dxr3syncbuffer.c3
-rw-r--r--dxr3syncbuffer.h3
-rw-r--r--dxr3sysclock.c17
-rw-r--r--dxr3sysclock.h3
-rw-r--r--dxr3tools.h3
36 files changed, 82 insertions, 46 deletions
diff --git a/dxr3.c b/dxr3.c
index 3da4f79..1247906 100644
--- a/dxr3.c
+++ b/dxr3.c
@@ -301,5 +301,6 @@ VDRPLUGINCREATOR(cPluginDxr3); // Don't touch this!
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3.h b/dxr3.h
index 4526e09..b572a30 100644
--- a/dxr3.h
+++ b/dxr3.h
@@ -84,5 +84,6 @@ public:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3audiodecoder.c b/dxr3audiodecoder.c
index 7892777..9a04b1d 100644
--- a/dxr3audiodecoder.c
+++ b/dxr3audiodecoder.c
@@ -306,5 +306,6 @@ bool cDxr3AudioDecoder::HeadCheck(unsigned long head)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3audiodecoder.h b/dxr3audiodecoder.h
index d8c7c59..71f94fd 100644
--- a/dxr3audiodecoder.h
+++ b/dxr3audiodecoder.h
@@ -79,5 +79,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3blackframe.c b/dxr3blackframe.c
index ceccb08..7566dea 100644
--- a/dxr3blackframe.c
+++ b/dxr3blackframe.c
@@ -1290,5 +1290,6 @@ int blackframeLength = sizeof(blackframe);
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3colormanager.c b/dxr3colormanager.c
index 5d994ac..42d9945 100644
--- a/dxr3colormanager.c
+++ b/dxr3colormanager.c
@@ -379,5 +379,6 @@ bool xSection::HasColor(unsigned int color, unsigned char &ColorIndex)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3colormanager.h b/dxr3colormanager.h
index 65a62ac..6ea81ae 100644
--- a/dxr3colormanager.h
+++ b/dxr3colormanager.h
@@ -120,5 +120,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3configdata.c b/dxr3configdata.c
index f3b682d..89c2d1b 100644
--- a/dxr3configdata.c
+++ b/dxr3configdata.c
@@ -42,5 +42,6 @@ cDxr3ConfigData::cDxr3ConfigData()
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3configdata.h b/dxr3configdata.h
index e397fad..af1c54d 100644
--- a/dxr3configdata.h
+++ b/dxr3configdata.h
@@ -91,5 +91,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3demuxdevice.c b/dxr3demuxdevice.c
index 3ed890c..b0fd4e3 100644
--- a/dxr3demuxdevice.c
+++ b/dxr3demuxdevice.c
@@ -520,5 +520,6 @@ int cDxr3DemuxDevice::DemuxAudioPes(const uint8_t* buf, int length)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3demuxdevice.h b/dxr3demuxdevice.h
index b6f6355..492a782 100644
--- a/dxr3demuxdevice.h
+++ b/dxr3demuxdevice.h
@@ -79,5 +79,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3device.c b/dxr3device.c
index b1c45b5..241f92e 100644
--- a/dxr3device.c
+++ b/dxr3device.c
@@ -239,5 +239,6 @@ cSpuDecoder *cDxr3Device::GetSpuDecoder()
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3device.h b/dxr3device.h
index 5f085e7..d9bca5e 100644
--- a/dxr3device.h
+++ b/dxr3device.h
@@ -89,5 +89,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3generaldefines.h b/dxr3generaldefines.h
index 28cfa9f..1ba1333 100644
--- a/dxr3generaldefines.h
+++ b/dxr3generaldefines.h
@@ -50,5 +50,6 @@ enum eDxr3TrickState {
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3interface.c b/dxr3interface.c
index 0338b17..ffbd89c 100644
--- a/dxr3interface.c
+++ b/dxr3interface.c
@@ -813,5 +813,6 @@ cMutex* cDxr3Interface::m_pMutex = new cMutex;
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3interface.h b/dxr3interface.h
index 06b2f5e..66a380f 100644
--- a/dxr3interface.h
+++ b/dxr3interface.h
@@ -195,5 +195,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3interface_spu_encoder.c b/dxr3interface_spu_encoder.c
index d80a02d..fdc4bf3 100644
--- a/dxr3interface_spu_encoder.c
+++ b/dxr3interface_spu_encoder.c
@@ -644,5 +644,6 @@ void cSPUEncoder::CalculateActiveOsdArea()
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3interface_spu_encoder.h b/dxr3interface_spu_encoder.h
index d226d14..177a75e 100644
--- a/dxr3interface_spu_encoder.h
+++ b/dxr3interface_spu_encoder.h
@@ -121,5 +121,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3multichannelaudio.c b/dxr3multichannelaudio.c
index d8cbf69..b12332f 100644
--- a/dxr3multichannelaudio.c
+++ b/dxr3multichannelaudio.c
@@ -783,5 +783,6 @@ void cMultichannelAudio::Encapsulate(uchar *b, int length)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3multichannelaudio.h b/dxr3multichannelaudio.h
index c9ac9c7..9e80a19 100644
--- a/dxr3multichannelaudio.h
+++ b/dxr3multichannelaudio.h
@@ -8,9 +8,9 @@ class cAudioEncapsulator;
class cRingBufferFrame;
// ==================================
-// Based on AC3overDVB Patch maintained
-// by Stefan Huelswitt
-class cMultichannelAudio : public cMutex
+// Based on AC3overDVB Patch maintained
+// by Stefan Huelswitt
+class cMultichannelAudio : public cMutex
{
private:
cAudioEncapsulator *encapsulator;
@@ -40,5 +40,6 @@ public:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3osd.c b/dxr3osd.c
index 821ee3c..f3f42cf 100644
--- a/dxr3osd.c
+++ b/dxr3osd.c
@@ -310,5 +310,6 @@ void cDxr3Osd::Flush()
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3osd.h b/dxr3osd.h
index 1ef1d9d..dce01d6 100644
--- a/dxr3osd.h
+++ b/dxr3osd.h
@@ -39,5 +39,6 @@ public:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3output-audio.c b/dxr3output-audio.c
index a7d6b10..f540687 100644
--- a/dxr3output-audio.c
+++ b/dxr3output-audio.c
@@ -144,5 +144,6 @@ void cDxr3AudioOutThread::PlayFrame(cDxr3PesFrame *frame)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3output-video.c b/dxr3output-video.c
index 7493f95..07b9790 100644
--- a/dxr3output-video.c
+++ b/dxr3output-video.c
@@ -99,5 +99,6 @@ void cDxr3VideoOutThread::Action()
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3output.c b/dxr3output.c
index 6e83368..32fc178 100644
--- a/dxr3output.c
+++ b/dxr3output.c
@@ -36,5 +36,6 @@ cDxr3OutputThread::cDxr3OutputThread(cDxr3SyncBuffer& buffer) :
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3output.h b/dxr3output.h
index 083893e..e6ba792 100644
--- a/dxr3output.h
+++ b/dxr3output.h
@@ -80,5 +80,6 @@ protected:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3pesframe.c b/dxr3pesframe.c
index 1ab30df..639d43d 100644
--- a/dxr3pesframe.c
+++ b/dxr3pesframe.c
@@ -121,5 +121,6 @@ uint32_t cDxr3PesFrame::m_staticAspectRatio = EM8300_ASPECTRATIO_4_3;
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3pesframe.h b/dxr3pesframe.h
index bead78b..5c561a3 100644
--- a/dxr3pesframe.h
+++ b/dxr3pesframe.h
@@ -142,5 +142,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3singleton.h b/dxr3singleton.h
index b53ac79..56663f1 100644
--- a/dxr3singleton.h
+++ b/dxr3singleton.h
@@ -66,5 +66,6 @@ cMutex Singleton<T>::m;
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3spudecoder.c b/dxr3spudecoder.c
index a197800..132658c 100644
--- a/dxr3spudecoder.c
+++ b/dxr3spudecoder.c
@@ -628,5 +628,6 @@ int cDxr3SpuDecoder::setTime(uint32_t pts)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3spudecoder.h b/dxr3spudecoder.h
index 70adf57..0191527 100644
--- a/dxr3spudecoder.h
+++ b/dxr3spudecoder.h
@@ -182,5 +182,6 @@ inline uint32_t cDxr3SpuPalette::getColor(uint8_t idx, uint8_t trans) const
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c
index ffdb0d2..de0c202 100644
--- a/dxr3syncbuffer.c
+++ b/dxr3syncbuffer.c
@@ -331,5 +331,6 @@ void cDxr3SyncBuffer::ReceiverStopped(void)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3syncbuffer.h b/dxr3syncbuffer.h
index 2c95a5c..a34a9b1 100644
--- a/dxr3syncbuffer.h
+++ b/dxr3syncbuffer.h
@@ -146,5 +146,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3sysclock.c b/dxr3sysclock.c
index b9db9b1..1e581e3 100644
--- a/dxr3sysclock.c
+++ b/dxr3sysclock.c
@@ -23,10 +23,10 @@
#include "dxr3sysclock.h"
// ==================================
-void cDxr3SysClock::SetSysClock(uint32_t scr)
+void cDxr3SysClock::SetSysClock(uint32_t scr)
{
uint32_t sc;
-
+
mutex.Lock();
ioctl(m_fdcontrol, EM8300_IOCTL_SCR_GET, &sc);
m_offset = scr - sc;
@@ -34,11 +34,11 @@ void cDxr3SysClock::SetSysClock(uint32_t scr)
}
// ==================================
-uint32_t cDxr3SysClock::GetSysClock(void)
+uint32_t cDxr3SysClock::GetSysClock(void)
{
uint32_t sc;
uint32_t retval;
-
+
mutex.Lock();
ioctl(m_fdcontrol, EM8300_IOCTL_SCR_GET, &sc);
retval = sc + m_offset;
@@ -48,10 +48,10 @@ uint32_t cDxr3SysClock::GetSysClock(void)
}
// ==================================
-void cDxr3SysClock::SetPts(uint32_t pts)
+void cDxr3SysClock::SetPts(uint32_t pts)
{
uint32_t newPts = 0;
-
+
mutex.Lock();
newPts = pts - m_offset;
ioctl(m_fdvideo, EM8300_IOCTL_VIDEO_SETPTS, &newPts);
@@ -59,7 +59,7 @@ void cDxr3SysClock::SetPts(uint32_t pts)
}
// ==================================
-void cDxr3SysClock::SetSpuPts(uint32_t pts)
+void cDxr3SysClock::SetSpuPts(uint32_t pts)
{
uint32_t newPts = 0;
@@ -73,5 +73,6 @@ void cDxr3SysClock::SetSpuPts(uint32_t pts)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3sysclock.h b/dxr3sysclock.h
index f9fc3e5..12d4946 100644
--- a/dxr3sysclock.h
+++ b/dxr3sysclock.h
@@ -58,5 +58,6 @@ private:
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End:
diff --git a/dxr3tools.h b/dxr3tools.h
index a4818d5..588217d 100644
--- a/dxr3tools.h
+++ b/dxr3tools.h
@@ -106,5 +106,6 @@ namespace Tools
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End: