MythTV  master
Macros | Functions | Variables
dvbdescriptors.cpp File Reference
#include <iconv.h>
#include <unistd.h>
#include <algorithm>
#include <cerrno>
#include <QCoreApplication>
#include "dvbdescriptors.h"
#include "iso6937tables.h"
#include "freesat_huffman.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/programinfo.h"
Include dependency graph for dvbdescriptors.cpp:

Go to the source code of this file.

Macros

#define WINICONV_CONST
 

Functions

static QString decode_iso6937 (const unsigned char *buf, uint length)
 
static QString iconv_helper (int which, char *buf, size_t length)
 
static QString decode_text (const unsigned char *buf, uint length)
 
QString dvb_decode_text (const unsigned char *src, uint raw_length, const enc_override &encoding_override)
 
QString dvb_decode_short_name (const unsigned char *src, uint raw_length)
 

Variables

const std::array< const std::string, 14 > linkage_types
 

Macro Definition Documentation

◆ WINICONV_CONST

#define WINICONV_CONST

Definition at line 2 of file dvbdescriptors.cpp.

Function Documentation

◆ decode_iso6937()

static QString decode_iso6937 ( const unsigned char *  buf,
uint  length 
)
static

Definition at line 26 of file dvbdescriptors.cpp.

Referenced by decode_text().

◆ iconv_helper()

static QString iconv_helper ( int  which,
char *  buf,
size_t  length 
)
static

Definition at line 66 of file dvbdescriptors.cpp.

Referenced by decode_text().

◆ decode_text()

static QString decode_text ( const unsigned char *  buf,
uint  length 
)
static

Definition at line 199 of file dvbdescriptors.cpp.

Referenced by dvb_decode_short_name(), and dvb_decode_text().

◆ dvb_decode_text()

QString dvb_decode_text ( const unsigned char *  src,
uint  raw_length,
const enc_override encoding_override 
)

◆ dvb_decode_short_name()

QString dvb_decode_short_name ( const unsigned char *  src,
uint  raw_length 
)

Variable Documentation

◆ linkage_types

const std::array<const std::string,14> linkage_types
Initial value:
{
"Reserved(0x00)",
"Information Service",
"EPG Service",
"CA Replacement Service",
"TS Containing Complete Network/Bouquet SI",
"Service Replacement Service",
"Data Broadcast Service",
"RCS Map",
"Mobile Hand-Over",
"System Software Update Service",
"TS Containing SSU, BAT or NIT",
"IP/MAC Notification Service",
"TS Containing INT, BAT or NIT",
"Event Linkage",
}

Definition at line 298 of file dvbdescriptors.cpp.

Referenced by LinkageDescriptor::LinkageTypeString().