diff options
author | scop <scop> | 2005-04-17 16:41:17 +0000 |
---|---|---|
committer | scop <scop> | 2005-04-17 16:41:17 +0000 |
commit | 74d8232de848f462ad36a8c0f51c26ad400ee8ec (patch) | |
tree | fac415de30c23adc3f4522bc7b98051ab76c7ced /dxr3interface_spu_encoder.h | |
parent | 9216c55e163f619a33770119339ae0651cd1e417 (diff) | |
download | vdr-plugin-dxr3-74d8232de848f462ad36a8c0f51c26ad400ee8ec.tar.gz vdr-plugin-dxr3-74d8232de848f462ad36a8c0f51c26ad400ee8ec.tar.bz2 |
Sync with Luca's workspace.
Diffstat (limited to 'dxr3interface_spu_encoder.h')
-rw-r--r-- | dxr3interface_spu_encoder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dxr3interface_spu_encoder.h b/dxr3interface_spu_encoder.h index 300dbe6..a2a6b79 100644 --- a/dxr3interface_spu_encoder.h +++ b/dxr3interface_spu_encoder.h @@ -118,14 +118,15 @@ public: ~cSPUEncoder() {} int Cmd(OSD_Command cmd, int color = 0, int x0 = 0, int y0 = 0, int x1 = 0, int y1 = 0, const void *data = 0); - int Flush(void); + int Flush(cPalette *Palette); + void CopyBlockIntoOSD(int numWindow, int linewidth, int x0,int y0, int x1, int y1, const tIndex *data); void StopSpu(void); + void SetPalette(int numWindow, cPalette* commonPalette, cPalette* windowPalette); private: cSPUEncoder(cSPUEncoder&); // no copy constructor // helper functions - void CopyBlockIntoOSD(int linewidth, int x0,int y0, int x1, int y1, u_char *data); void EncodePixelbufRle(int x, int y, int w, int h, u_char *inbuf, int stride, encodedata *ed); #ifndef USE_XINE_SCALER void ScaleOSD(double fac, unsigned char* buf, unsigned char NumColors=4); |