summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-09-22 10:43:42 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-09-22 10:43:42 +0200
commit2c7e9b338de9ac735e0342ea73208385a2659c75 (patch)
treec14895f81f0390ac0a3f3a3ab6d61cf8560452f0
parentb2b3a3f6689cff4dbf719138d824045f32041d6d (diff)
downloadvdr-plugin-dxr3-2c7e9b338de9ac735e0342ea73208385a2659c75.tar.gz
vdr-plugin-dxr3-2c7e9b338de9ac735e0342ea73208385a2659c75.tar.bz2
rename methods of cSpuRegion
-rw-r--r--spuencoder.c2
-rw-r--r--spuregion.c4
-rw-r--r--spuregion.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/spuencoder.c b/spuencoder.c
index 811422f..973e241 100644
--- a/spuencoder.c
+++ b/spuencoder.c
@@ -94,7 +94,7 @@ void cSpuEncoder::encode(cBitmap *bmap, int top, int left)
cSpuRegion *reg = new cSpuRegion();
for (int i = 0; i < numColors; i++) {
- reg->addColIndex(bitmap->Index(colors[i]));
+ reg->addIndex(bitmap->Index(colors[i]));
}
regions.push_back(reg);
diff --git a/spuregion.c b/spuregion.c
index 973b787..da36a64 100644
--- a/spuregion.c
+++ b/spuregion.c
@@ -48,7 +48,7 @@ sSection *cSpuRegion::section(uint8_t num)
return &sections[num];
}
-bool cSpuRegion::addColIndex(tIndex idx)
+bool cSpuRegion::addIndex(tIndex idx)
{
sSection *sec = &sections[usedSections];
@@ -61,7 +61,7 @@ bool cSpuRegion::addColIndex(tIndex idx)
return true;
}
-bool cSpuRegion::containsColIndex(tIndex idx)
+bool cSpuRegion::containsIndex(tIndex idx)
{
sSection *sec = &sections[usedSections];
diff --git a/spuregion.h b/spuregion.h
index 8fa0e3d..e22d7f6 100644
--- a/spuregion.h
+++ b/spuregion.h
@@ -50,8 +50,8 @@ public:
uint8_t openSections();
sSection *section(uint8_t num);
- bool addColIndex(tIndex idx);
- bool containsColIndex(tIndex idx);
+ bool addIndex(tIndex idx);
+ bool containsIndex(tIndex idx);
private:
uint8_t usedSections;