Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
DVDOverlayCodecTX3G.cpp File Reference
#include "DVDOverlayCodecTX3G.h"
#include "DVDOverlayText.h"
#include "DVDStreamInfo.h"
#include "DVDCodecs/DVDCodecs.h"
#include "cores/VideoPlayer/Interface/Addon/DemuxPacket.h"
#include "ServiceBroker.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
#include "utils/log.h"
#include "utils/StringUtils.h"
#include "utils/auto_buffer.h"
#include "utils/RegExp.h"
#include "system.h"
#include <cstddef>

Classes

struct  StyleRecord
 

Macros

#define LEN_CHECK(x)   do { if((end - pos) < static_cast<std::ptrdiff_t>(x)) return OC_ERROR; } while(0)
 
#define READ_U8()   *pos; pos += 1;
 
#define READ_U16()   (pos[0] << 8) | pos[1]; pos += 2;
 
#define READ_U32()   (pos[0] << 24) | (pos[1] << 16) | (pos[2] << 8) | pos[3]; pos += 4;
 
#define READ_ARRAY(n)   pos; pos += n;
 
#define SKIP_ARRAY(n)   pos += n;
 
#define FOURCC(str)
 

Enumerations

enum  FaceStyleFlag { BOLD = 0x1, ITALIC = 0x2, UNDERLINE = 0x4 }
 

Macro Definition Documentation

§ FOURCC

#define FOURCC (   str)
Value:
((((uint32_t) str[0]) << 24) | \
(((uint32_t) str[1]) << 16) | \
(((uint32_t) str[2]) << 8) | \
(((uint32_t) str[3]) << 0))

§ LEN_CHECK

#define LEN_CHECK (   x)    do { if((end - pos) < static_cast<std::ptrdiff_t>(x)) return OC_ERROR; } while(0)

§ READ_ARRAY

#define READ_ARRAY (   n)    pos; pos += n;

§ READ_U16

#define READ_U16 ( )    (pos[0] << 8) | pos[1]; pos += 2;

§ READ_U32

#define READ_U32 ( )    (pos[0] << 24) | (pos[1] << 16) | (pos[2] << 8) | pos[3]; pos += 4;

§ READ_U8

#define READ_U8 ( )    *pos; pos += 1;

§ SKIP_ARRAY

#define SKIP_ARRAY (   n)    pos += n;

Enumeration Type Documentation

§ FaceStyleFlag

Enumerator
BOLD 
ITALIC 
UNDERLINE