vdr  2.0.6
Classes | Macros | Variables
dvbsubtitle.c File Reference
#include "dvbsubtitle.h"
#include <inttypes.h>
#include "device.h"
#include "libsi/si.h"
Include dependency graph for dvbsubtitle.c:

Go to the source code of this file.

Classes

class  cSubtitleClut
 
class  cSubtitleObject
 
class  cSubtitleRegion
 
class  cDvbSubtitlePage
 
class  cDvbSubtitleAssembler
 
class  cDvbSubtitleBitmaps
 

Macros

#define __STDC_FORMAT_MACROS
 
#define PAGE_COMPOSITION_SEGMENT   0x10
 
#define REGION_COMPOSITION_SEGMENT   0x11
 
#define CLUT_DEFINITION_SEGMENT   0x12
 
#define OBJECT_DATA_SEGMENT   0x13
 
#define DISPLAY_DEFINITION_SEGMENT   0x14
 
#define DISPARITY_SIGNALING_SEGMENT   0x15
 
#define END_OF_DISPLAY_SET_SEGMENT   0x80
 
#define STUFFING_SEGMENT   0xFF
 
#define dbgconverter(a...)   if (DebugConverter) fprintf(stderr, a)
 
#define dbgsegments(a...)   if (DebugSegments) fprintf(stderr, a)
 
#define dbgpages(a...)   if (DebugPages) fprintf(stderr, a)
 
#define dbgregions(a...)   if (DebugRegions) fprintf(stderr, a)
 
#define dbgobjects(a...)   if (DebugObjects) fprintf(stderr, a)
 
#define dbgcluts(a...)   if (DebugCluts) fprintf(stderr, a)
 
#define LimitTo32Bit(n)   ((n) & 0x00000000FFFFFFFFL)
 
#define MAXDELTA   40000
 

Variables

static bool DebugConverter = false
 
static bool DebugSegments = false
 
static bool DebugPages = false
 
static bool DebugRegions = false
 
static bool DebugObjects = false
 
static bool DebugCluts = false
 

Macro Definition Documentation

#define __STDC_FORMAT_MACROS

Definition at line 14 of file dvbsubtitle.c.

#define CLUT_DEFINITION_SEGMENT   0x12

Definition at line 23 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define dbgcluts (   a...)    if (DebugCluts) fprintf(stderr, a)

Definition at line 43 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define dbgconverter (   a...)    if (DebugConverter) fprintf(stderr, a)
#define dbgobjects (   a...)    if (DebugObjects) fprintf(stderr, a)
#define dbgpages (   a...)    if (DebugPages) fprintf(stderr, a)
#define dbgregions (   a...)    if (DebugRegions) fprintf(stderr, a)
#define dbgsegments (   a...)    if (DebugSegments) fprintf(stderr, a)

Definition at line 39 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define DISPARITY_SIGNALING_SEGMENT   0x15

Definition at line 26 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define DISPLAY_DEFINITION_SEGMENT   0x14

Definition at line 25 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define END_OF_DISPLAY_SET_SEGMENT   0x80

Definition at line 27 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define LimitTo32Bit (   n)    ((n) & 0x00000000FFFFFFFFL)

Definition at line 916 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::Action().

#define MAXDELTA   40000

Definition at line 917 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::Action().

#define OBJECT_DATA_SEGMENT   0x13

Definition at line 24 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define PAGE_COMPOSITION_SEGMENT   0x10

Definition at line 21 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define REGION_COMPOSITION_SEGMENT   0x11

Definition at line 22 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

#define STUFFING_SEGMENT   0xFF

Definition at line 28 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

Variable Documentation

bool DebugCluts = false
static

Definition at line 36 of file dvbsubtitle.c.

bool DebugConverter = false
static

Definition at line 31 of file dvbsubtitle.c.

bool DebugObjects = false
static

Definition at line 35 of file dvbsubtitle.c.

bool DebugPages = false
static

Definition at line 33 of file dvbsubtitle.c.

bool DebugRegions = false
static

Definition at line 34 of file dvbsubtitle.c.

bool DebugSegments = false
static

Definition at line 32 of file dvbsubtitle.c.