vdr 2.6.7
dvbsubtitle.h
Go to the documentation of this file.
1/*
2 * dvbsubtitle.h: DVB subtitles
3 *
4 * See the main source file 'vdr.c' for copyright information and
5 * how to reach the author.
6 *
7 * Original author: Marco Schluessler <marco@lordzodiac.de>
8 *
9 * $Id: dvbsubtitle.h 4.1 2015/04/28 09:25:57 kls Exp $
10 */
11
12#ifndef __DVBSUBTITLE_H
13#define __DVBSUBTITLE_H
14
15#include "osd.h"
16#include "thread.h"
17#include "tools.h"
18
20class cDvbSubtitleAssembler; // for legacy PES recordings
22
24private:
25 static int setupLevel;
28 bool frozen;
38 double osdFactorX;
39 double osdFactorY;
42 cDvbSubtitlePage *GetPageById(int PageId, bool New = false);
43 void SetOsdData(void);
44 bool AssertOsd(void);
45 int ExtractSegment(const uchar *Data, int Length, int64_t Pts);
46 int ExtractPgsSegment(const uchar *Data, int Length, int64_t Pts);
47 void FinishPage(cDvbSubtitlePage *Page);
48public:
50 virtual ~cDvbSubtitleConverter();
51 virtual void Action(void);
52 void Reset(void);
53 void Freeze(bool Status) { frozen = Status; }
54 int ConvertFragments(const uchar *Data, int Length); // for legacy PES recordings
55 int Convert(const uchar *Data, int Length);
56 static void SetupChanged(void);
57 };
58
59#endif //__DVBSUBTITLE_H
int Convert(const uchar *Data, int Length)
void Freeze(bool Status)
Definition dvbsubtitle.h:53
cList< cDvbSubtitleBitmaps > * bitmaps
Definition dvbsubtitle.h:41
void FinishPage(cDvbSubtitlePage *Page)
virtual void Action(void)
A derived cThread class must implement the code it wants to execute as a separate thread in this func...
int ExtractPgsSegment(const uchar *Data, int Length, int64_t Pts)
int ExtractSegment(const uchar *Data, int Length, int64_t Pts)
cDvbSubtitleAssembler * dvbSubtitleAssembler
Definition dvbsubtitle.h:26
cList< cDvbSubtitlePage > * pages
Definition dvbsubtitle.h:40
cDvbSubtitlePage * GetPageById(int PageId, bool New=false)
virtual ~cDvbSubtitleConverter()
static void SetupChanged(void)
int ConvertFragments(const uchar *Data, int Length)
Definition tools.h:644
The cOsd class is the interface to the "On Screen Display".
Definition osd.h:753
unsigned char uchar
Definition tools.h:31