C# Class MediaPortal.Player.Teletext.TeletextReceiver

Afficher le fichier Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Méthodes publiques

Méthode Description
DecodePTS ( byte header_PTS, byte PTS_DTS_flag ) : System.UInt64
OnEvent ( int eventCode, System.UInt64 eventValue ) : void
OnPesPacket ( int streamid, byte header, int headerlen, byte data, int datalen, bool isStart, System.UInt64 presentTime ) : void

Decodes a PES packet containing a teletext packet

OnServiceInfo ( int page, byte type, byte langb1, byte langb2, byte langb3 ) : void
OnTSPacket ( IntPtr pbuf, int len ) : void

Called from TsReader when a Ts packet containing teletext data is received

TeletextReceiver ( ITeletextSource source, IDVBTeletextDecoder ttxtDecoder ) : System

Private Methods

Méthode Description
IntToBool ( int i ) : bool
assert ( bool ok, string msg ) : void

Method Details

DecodePTS() public méthode

public DecodePTS ( byte header_PTS, byte PTS_DTS_flag ) : System.UInt64
header_PTS byte
PTS_DTS_flag byte
Résultat System.UInt64

OnEvent() public méthode

public OnEvent ( int eventCode, System.UInt64 eventValue ) : void
eventCode int
eventValue System.UInt64
Résultat void

OnPesPacket() public méthode

Decodes a PES packet containing a teletext packet
public OnPesPacket ( int streamid, byte header, int headerlen, byte data, int datalen, bool isStart, System.UInt64 presentTime ) : void
streamid int
header byte
headerlen int
data byte
datalen int
isStart bool
presentTime System.UInt64
Résultat void

OnServiceInfo() public méthode

public OnServiceInfo ( int page, byte type, byte langb1, byte langb2, byte langb3 ) : void
page int
type byte
langb1 byte
langb2 byte
langb3 byte
Résultat void

OnTSPacket() public méthode

Called from TsReader when a Ts packet containing teletext data is received
public OnTSPacket ( IntPtr pbuf, int len ) : void
pbuf System.IntPtr Pointer to a byte buffer of length len
len int Length of buffer pointed to by buf
Résultat void

TeletextReceiver() public méthode

public TeletextReceiver ( ITeletextSource source, IDVBTeletextDecoder ttxtDecoder ) : System
source ITeletextSource
ttxtDecoder IDVBTeletextDecoder
Résultat System