diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-06 16:13:04 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-06 16:13:04 +0200 |
commit | 8386564b1ad53a07b7490420950f4d8a9f5628b8 (patch) | |
tree | 126669323ae4459328c1ae818e9be528abae50c4 /dxr3interface_spu_encoder.c | |
parent | 3a4961f8a77f781f0101019c4eca8424d23953f7 (diff) | |
download | vdr-plugin-dxr3-8386564b1ad53a07b7490420950f4d8a9f5628b8.tar.gz vdr-plugin-dxr3-8386564b1ad53a07b7490420950f4d8a9f5628b8.tar.bz2 |
osd: use clearOsd() from cSpuEncoder instead of StopSpu from cSPUEncoder
this is the first step to marriage the osd part with the new spu encoder
Diffstat (limited to 'dxr3interface_spu_encoder.c')
-rw-r--r-- | dxr3interface_spu_encoder.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dxr3interface_spu_encoder.c b/dxr3interface_spu_encoder.c index d99d4b5..acf7c72 100644 --- a/dxr3interface_spu_encoder.c +++ b/dxr3interface_spu_encoder.c @@ -593,36 +593,6 @@ void cSPUEncoder::encode_do_control(int x, int y, encodedata* ed, pixbuf* pb) } // ================================== -// Stop spu display -void cSPUEncoder::StopSpu(void) -{ - uint8_t ed[10]; - /* packet size */ - ed[0] = 0; - ed[1] = 10; - - /* pointer to the SP_DCSQT */ - ed[2] = 0; - ed[3] = 4; - - /* SP_DCSQT */ - /* display duration... */ - ed[4] = 0x00; - ed[5] = 0x00; //duration before turn on command occurs (will not be used) - - /* pointer to next command block */ - ed[6] = 0; //since this is the last command block, this - ed[7] = 4;//points back to itself - - /* 0x02: stop displaying */ - ed[8] = 0x02; - - /* 0xFF: end sequence */ - ed[9] = 0xFF; - cDxr3Interface::instance()->WriteSpu(ed, 10); -} - -// ================================== // we _only_ write usefull data void cSPUEncoder::CalculateActiveOsdArea() { |