C# 클래스 MediaPortal.Player.Teletext.TeletextReceiver

파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
IntToBool ( int i ) : bool
assert ( bool ok, string msg ) : void

메소드 상세

DecodePTS() 공개 메소드

public DecodePTS ( byte header_PTS, byte PTS_DTS_flag ) : System.UInt64
header_PTS byte
PTS_DTS_flag byte
리턴 System.UInt64

OnEvent() 공개 메소드

public OnEvent ( int eventCode, System.UInt64 eventValue ) : void
eventCode int
eventValue System.UInt64
리턴 void

OnPesPacket() 공개 메소드

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
리턴 void

OnServiceInfo() 공개 메소드

public OnServiceInfo ( int page, byte type, byte langb1, byte langb2, byte langb3 ) : void
page int
type byte
langb1 byte
langb2 byte
langb3 byte
리턴 void

OnTSPacket() 공개 메소드

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
리턴 void

TeletextReceiver() 공개 메소드

public TeletextReceiver ( ITeletextSource source, IDVBTeletextDecoder ttxtDecoder ) : System
source ITeletextSource
ttxtDecoder IDVBTeletextDecoder
리턴 System