diff options
author | Jochen Dolze <vdr@dolze.de> | 2011-01-29 15:58:36 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2011-01-29 15:58:36 +0100 |
commit | 70d113055698c6b73c8ed13af8a9e2f3b38ab1f0 (patch) | |
tree | d5264ada5b3a1366ca2404468dd57c6ea62a6349 /command/pes2es.h | |
parent | 9e964370ba635f57df44a96506fc4bf633004a86 (diff) | |
download | vdr-plugin-markad-70d113055698c6b73c8ed13af8a9e2f3b38ab1f0.tar.gz vdr-plugin-markad-70d113055698c6b73c8ed13af8a9e2f3b38ab1f0.tar.bz2 |
Rewrite of demux/marks recognition (still incomplete)
Diffstat (limited to 'command/pes2es.h')
-rw-r--r-- | command/pes2es.h | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/command/pes2es.h b/command/pes2es.h deleted file mode 100644 index bfeaaaa..0000000 --- a/command/pes2es.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * pes2es.h: A program for the Video Disk Recorder - * - * See the README file for copyright information and how to reach the author. - * - */ - -#ifndef __pes2es_h_ -#define __pes2es_h_ - -#ifndef uchar -typedef unsigned char uchar; -#endif - -#include "global.h" -#include "queue.h" - -struct PESHDR -{ - uchar Sync1; - uchar Sync2; - uchar Sync3; - uchar StreamID; - uchar LenH; - uchar LenL; -}; - -#pragma pack(1) -struct PESHDROPT -{ -unsigned OOC: - 1; -unsigned CY: - 1; -unsigned DAI: - 1; -unsigned PESP: - 1; -unsigned PESSC: - 2; -unsigned MarkerBits: - 2; -unsigned EXT: - 1; -unsigned CRC: - 1; -unsigned ACI: - 1; -unsigned TM: - 1; -unsigned RATE: - 1; -unsigned ESCR: - 1; -unsigned PTSDTS: - 2; -unsigned Length: - 8; -}; - -struct PESHDROPTPTS -{ -unsigned Marker1: - 1; -unsigned PTS32_30: - 3; -unsigned Fixed: - 4; -unsigned PTS29_15_H: - 8; -unsigned Marker2: - 1; -unsigned PTS29_15_L: - 7; -unsigned PTS14_0_H: - 8; -unsigned Marker3: - 1; -unsigned PTS14_0_L: - 7; -}; -#pragma pack() - -class cMarkAdPES2ES -{ -private: - cMarkAdPaketQueue *queue; - int type; -public: - cMarkAdPES2ES(const char *QueueName="PES2ES", int QueueSize=32768); - ~cMarkAdPES2ES(); - void Clear(); - void Process(MarkAdPid Pid, uchar *PESData, int PESSize, MarkAdPacket *ESPkt); -}; - -#endif |