MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
Data Structures | |
class | File |
A simple wrapper class that will open a file and allow easy reading/writing of DTSC data from/to it. More... | |
class | Fragment |
Basic class for storage of data associated with fragments. More... | |
class | Ivec |
Basic class supporting initialization Vectors. More... | |
class | Key |
Basic class for storage of data associated with keyframes. More... | |
struct | livePos |
A simple structure used for ordering byte seek positions. More... | |
class | Meta |
Class for storage of meta data. More... | |
class | Packet |
DTSC::Packets can currently be three types: DTSC_HEAD packets are the "DTSC" header string, followed by 4 bytes len and packed content. More... | |
class | Part |
Basic class for storage of data associated with single DTSC packets, a.k.a. parts. More... | |
class | Scan |
This class allows scanning through raw binary format DTSC data. More... | |
struct | seekPos |
A simple structure used for ordering byte seek positions. More... | |
class | Track |
Class for storage of track data. More... | |
Enumerations | |
enum | datatype { AUDIO, VIDEO, META, PAUSEMARK, MODIFIEDHEADER, INVALID, AUDIO, VIDEO, META, PAUSEMARK, MODIFIEDHEADER, INVALID } |
This enum holds all possible datatypes for DTSC packets. More... | |
enum | datatype { AUDIO, VIDEO, META, PAUSEMARK, MODIFIEDHEADER, INVALID, AUDIO, VIDEO, META, PAUSEMARK, MODIFIEDHEADER, INVALID } |
This enum holds all possible datatypes for DTSC packets. More... | |
enum | packType { DTSC_INVALID, DTSC_HEAD, DTSC_V1, DTSC_V2, DTSC_INVALID, DTSC_HEAD, DTSC_V1, DTSC_V2 } |
enum | packType { DTSC_INVALID, DTSC_HEAD, DTSC_V1, DTSC_V2, DTSC_INVALID, DTSC_HEAD, DTSC_V1, DTSC_V2 } |
Functions | |
char * | convertInt (int input) |
Converts an integer to a char*. More... | |
char * | convertLongLong (long long int input) |
Converts a long long to a char*. More... | |
char * | convertShort (short input) |
Converts a short to a char*. More... | |
static char | hex2c (char c) |
static char * | skipDTSC (char *p, char *max) |
Helper function for skipping over whole DTSC parts. More... | |
static std::string | string_escape (const std::string val) |
static void | writePointer (char *&p, const char *src, unsigned int len) |
Writes a pointer to the specified destination. More... | |
static void | writePointer (char *&p, const std::string &src) |
Writes a pointer to the specified destination. More... | |
Variables | |
char | Magic_Header [] = "DTSC" |
The magic bytes for a DTSC header. More... | |
char | Magic_Packet [] = "DTPD" |
The magic bytes for a DTSC packet. More... | |
char | Magic_Packet2 [] = "DTP2" |
The magic bytes for a DTSC packet version 2. More... | |
enum DTSC::datatype |
This enum holds all possible datatypes for DTSC packets.
enum DTSC::datatype |
This enum holds all possible datatypes for DTSC packets.
enum DTSC::packType |
enum DTSC::packType |
char* DTSC::convertInt | ( | int | input | ) |
Converts an integer to a char*.
char* DTSC::convertLongLong | ( | long long int | input | ) |
Converts a long long to a char*.
char* DTSC::convertShort | ( | short | input | ) |
Converts a short to a char*.
|
inlinestatic |
|
static |
Helper function for skipping over whole DTSC parts.
|
static |
|
static |
Writes a pointer to the specified destination.
Does a memcpy and increases the destination pointer accordingly
|
static |
Writes a pointer to the specified destination.
Does a memcpy and increases the destination pointer accordingly
char DTSC::Magic_Header = "DTSC" |
The magic bytes for a DTSC header.
char DTSC::Magic_Packet = "DTPD" |
The magic bytes for a DTSC packet.
char DTSC::Magic_Packet2 = "DTP2" |
The magic bytes for a DTSC packet version 2.