vdr-plugin-streamdev/remux/tsremux.h

26 lines
592 B
C
Raw Normal View History

2004-12-30 23:43:55 +01:00
#ifndef VDR_STREAMDEV_TSREMUX_H
#define VDR_STREAMDEV_TSREMUX_H
#include "libdvbmpeg/transform.h"
#include <vdr/remux.h>
// Picture types:
#define NO_PICTURE 0
#define I_FRAME 1
#define P_FRAME 2
#define B_FRAME 3
namespace Streamdev {
2005-01-25 15:14:43 +01:00
2004-12-30 23:43:55 +01:00
class cTSRemux {
public:
static void SetBrokenLink(uchar *Data, int Length);
2005-02-11 17:44:14 +01:00
static int GetPid(const uchar *Data);
static int GetPacketLength(const uchar *Data, int Count, int Offset);
2005-02-11 17:44:14 +01:00
static int ScanVideoPacket(const uchar *Data, int Count, int Offset, uchar &PictureType);
2004-12-30 23:43:55 +01:00
};
} // namespace Streamdev
2004-12-30 23:43:55 +01:00
#endif // VDR_STREAMDEV_TSREMUX_H