MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Data Structures | Namespaces | Macros | Enumerations | Variables
dtsc.h File Reference
#include <vector>
#include <iostream>
#include <stdint.h>
#include <string>
#include <deque>
#include <set>
#include <stdio.h>
#include "json.h"
#include "socket.h"
#include "timing.h"

Go to the source code of this file.

Data Structures

class  DTSC::File
 A simple wrapper class that will open a file and allow easy reading/writing of DTSC data from/to it. More...
 
class  DTSC::Fragment
 Basic class for storage of data associated with fragments. More...
 
class  DTSC::Ivec
 Basic class supporting initialization Vectors. More...
 
class  DTSC::Key
 Basic class for storage of data associated with keyframes. More...
 
struct  DTSC::livePos
 A simple structure used for ordering byte seek positions. More...
 
class  DTSC::Meta
 Class for storage of meta data. More...
 
class  DTSC::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  DTSC::Part
 Basic class for storage of data associated with single DTSC packets, a.k.a. parts. More...
 
class  DTSC::Scan
 This class allows scanning through raw binary format DTSC data. More...
 
struct  DTSC::seekPos
 A simple structure used for ordering byte seek positions. More...
 
class  DTSC::Track
 Class for storage of track data. More...
 

Namespaces

 DTSC
 

Macros

#define DTSC_ARR   0x0A
 
#define DTSC_CON   0xFF
 
#define DTSC_INT   0x01
 
#define DTSC_OBJ   0xE0
 
#define DTSC_STR   0x02
 
#define PACKED_FRAGMENT_SIZE   11
 
#define PACKED_KEY_SIZE   16
 

Enumerations

enum  DTSC::datatype {
  DTSC::AUDIO, DTSC::VIDEO, DTSC::META, DTSC::PAUSEMARK,
  DTSC::MODIFIEDHEADER, DTSC::INVALID, DTSC::AUDIO, DTSC::VIDEO,
  DTSC::META, DTSC::PAUSEMARK, DTSC::MODIFIEDHEADER, DTSC::INVALID
}
 This enum holds all possible datatypes for DTSC packets. More...
 
enum  DTSC::packType {
  DTSC::DTSC_INVALID, DTSC::DTSC_HEAD, DTSC::DTSC_V1, DTSC::DTSC_V2,
  DTSC::DTSC_INVALID, DTSC::DTSC_HEAD, DTSC::DTSC_V1, DTSC::DTSC_V2
}
 

Variables

char DTSC::Magic_Header [] = "DTSC"
 The magic bytes for a DTSC header. More...
 
char DTSC::Magic_Packet [] = "DTPD"
 The magic bytes for a DTSC packet. More...
 
char DTSC::Magic_Packet2 [] = "DTP2"
 The magic bytes for a DTSC packet version 2. More...
 

Macro Definition Documentation

#define DTSC_ARR   0x0A
#define DTSC_CON   0xFF
#define DTSC_INT   0x01
#define DTSC_OBJ   0xE0
#define DTSC_STR   0x02
#define PACKED_FRAGMENT_SIZE   11
#define PACKED_KEY_SIZE   16