openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
subtitle.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <memory.h>
#include <time.h>
#include <asm/types.h>
#include <lib/dvb/idemux.h>
#include <lib/dvb/subtitle.h>
#include <lib/base/smartptr.h>
#include <lib/base/eerror.h>
#include <lib/gdi/gpixmap.h>
#include <lib/base/nconfig.h>

Functions

void bitstream_init (bitstream *bit, const void *buffer, int size)
 
int bitstream_get (bitstream *bit)
 
static int extract_pts (pts_t &pts, uint8_t *pkt)
 
 DEFINE_REF (eDVBSubtitleParser)
 

Variables

static int map_2_to_4_bit_table [4]
 
static int map_2_to_8_bit_table [4]
 
static int map_4_to_8_bit_table [16]
 

Function Documentation

◆ bitstream_get()

int bitstream_get ( bitstream bit)

◆ bitstream_init()

void bitstream_init ( bitstream bit,
const void *  buffer,
int  size 
)

◆ DEFINE_REF()

DEFINE_REF ( eDVBSubtitleParser  )

◆ extract_pts()

static int extract_pts ( pts_t pts,
uint8_t *  pkt 
)
static

Variable Documentation

◆ map_2_to_4_bit_table

int map_2_to_4_bit_table[4]
static

◆ map_2_to_8_bit_table

int map_2_to_8_bit_table[4]
static

◆ map_4_to_8_bit_table

int map_4_to_8_bit_table[16]
static