summaryrefslogtreecommitdiff
path: root/spuencoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'spuencoder.h')
-rw-r--r--spuencoder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/spuencoder.h b/spuencoder.h
index 7ef0b10..149ee5c 100644
--- a/spuencoder.h
+++ b/spuencoder.h
@@ -29,7 +29,7 @@
#include <stdint.h>
#include <vdr/osd.h>
-#include <queue>
+#include <vector>
#include "dxr3singleton.h"
#include "spuregion.h"
@@ -58,7 +58,7 @@ private:
int32_t written; // how much data are written
sRle rleData; // storage for encoded data
- std::queue<cSpuRegion *> regions;
+ std::vector<cSpuRegion *> regions;
int numColors; // len of tColor array of current bitmap
const tColor* colors; // pointer to tColor array from current bitmap
@@ -67,6 +67,7 @@ private:
void writeNibble(uint8_t val);
void writeColorAndAlpha(sSection &sec, bool withCMD);
+ void writeRegionInformation();
void generateColorPalette();
void generateSpuData(bool topAndBottom) throw (char const* );