diff options
Diffstat (limited to 'dxr3osd_subpicture.h')
-rw-r--r-- | dxr3osd_subpicture.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dxr3osd_subpicture.h b/dxr3osd_subpicture.h new file mode 100644 index 0000000..6806c90 --- /dev/null +++ b/dxr3osd_subpicture.h @@ -0,0 +1,29 @@ +#ifndef _DXR3OSD_SUBPICTURE_H_ +#define _DXR3OSD_SUBPICTURE_H_ + +#include "dxr3vdrincludes.h" +#include "dxr3interface_spu_encoder.h" + +#if VDRVERSNUM >= 10307 + +// ================================== +// osd interface for => vdr1,3,7 +class cDxr3SubpictureOsd : public cOsd +{ +private: + cSPUEncoder* Spu; + bool shown; + +public: + cDxr3SubpictureOsd(int Left, int Top/*, int SpuDev*/); + ~cDxr3SubpictureOsd(); + + eOsdError CanHandleAreas(const tArea *Areas, int NumAreas); + void SaveRegion(int x1, int y1, int x2, int y2); + void RestoreRegion(void); + + void Flush(); +}; + +#endif /*VDRVERSNUM*/ +#endif /*_DXR3OSD_SUBPICTURE_H_*/ |