summaryrefslogtreecommitdiff
path: root/dxr3interface_spu_encoder.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-06-02 08:47:21 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-06-02 08:47:21 +0200
commita9a8b8e6b6d3f49cff1addebb73f2b54b17ff5cf (patch)
tree8fda0e002d834c8e9c14a7ebe89f0e43f7578779 /dxr3interface_spu_encoder.c
parente90ad159371e1f83e02ae10db326c2b2fbffdfbd (diff)
downloadvdr-plugin-dxr3-a9a8b8e6b6d3f49cff1addebb73f2b54b17ff5cf.tar.gz
vdr-plugin-dxr3-a9a8b8e6b6d3f49cff1addebb73f2b54b17ff5cf.tar.bz2
remove cSpuData class, as it is not needed
Diffstat (limited to 'dxr3interface_spu_encoder.c')
-rw-r--r--dxr3interface_spu_encoder.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/dxr3interface_spu_encoder.c b/dxr3interface_spu_encoder.c
index 8c085d7..d80a02d 100644
--- a/dxr3interface_spu_encoder.c
+++ b/dxr3interface_spu_encoder.c
@@ -203,46 +203,6 @@ namespace XineScaler
*/
#endif /* USE_XINE_SCALER */
-
-// ==================================
-// dec.
-cSpuData::~cSpuData()
-{
- Clear();
-}
-
-// ==================================
-// free buffer and set it to 0
-void cSpuData::Clear()
-{
- if (data)
- {
- free(data);
- count = malloc_size = 0;
- }
-}
-
-// ==================================
-// wirte a byte to spu buffer
-void cSpuData::WriteByte(uint8_t byte)
-{
- if (count >= malloc_size)
- {
- data = (u_char*) realloc(data, malloc_size += 2048);
- }
- data[count++] = byte;
-}
-
-// ==================================
-void cSpuData::WriteNibble(int *higher_nibble, uint8_t nibble)
-{
-}
-
-// ==================================
-void cSpuData::WriteRle(int *higher_nibble, int length, int color)
-{
-}
-
// ==================================
cSPUEncoder::cSPUEncoder()
{