public class MPEG2MPTS.MPEG2MPTSBuffer.MPEG2Packet
extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static byte |
ADAPTATION_CONTROL_ADAPATION_ONLY |
The Constant ADAPTATION_CONTROL_ADAPATION_ONLY.
|
static byte |
ADAPTATION_CONTROL_BOTH |
The Constant ADAPTATION_CONTROL_BOTH.
|
static byte |
ADAPTATION_CONTROL_PAYLOAD_ONLY |
The Constant ADAPTATION_CONTROL_PAYLOAD_ONLY.
|
static byte |
ADAPTATION_FIELD_PRESENT_MASK |
The Constant ADAPTATION_FIELD_PRESENT_MASK.
|
byte |
adaptationFieldControl |
The adaptation field control.
|
byte |
continuityCounter |
The continuity counter.
|
static byte |
PAYLOAD_PRESENT_MASK |
The Constant PAYLOAD_PRESENT_MASK.
|
int |
PID |
The pid.
|
boolean |
PUSI |
The pusi.
|
boolean |
transportError |
The transport error.
|
boolean |
transportPriorty |
The transport priorty.
|
byte |
transportScrambling |
The transport scrambling.
|
| Constructor | Description |
|---|---|
MPEG2Packet() |
| Modifier and Type | Method | Description |
|---|---|---|
AdaptationField |
adaptationFieldRead() |
Adaptation field read.
|
void |
clear() |
Clear.
|
String |
dumpPacket(String contextStr) |
Dump packet.
|
boolean |
LoadPacketData() |
Load packet data.
|
int |
payloadAvailable() |
Payload available.
|
void |
payloadMark() |
Payload mark.
|
int |
payloadRead() |
Payload read.
|
boolean |
payloadRead(byte[] bytes,
int offset,
int length) |
Payload read.
|
PacketFragment |
payloadReadFragment(int length) |
|
int |
payloadReadInt(int count,
int mask) |
Payload read int.
|
void |
payloadReset() |
Payload reset.
|
boolean |
payloadSkip(int count) |
Payload skip.
|
String |
toString() |
|
String |
toString(int count) |
To string.
|
String |
toString(int count,
String contextStr) |
|
String |
toString(String contextStr) |
public static final byte ADAPTATION_CONTROL_ADAPATION_ONLY
public static final byte ADAPTATION_CONTROL_BOTH
public static final byte ADAPTATION_CONTROL_PAYLOAD_ONLY
public static final byte ADAPTATION_FIELD_PRESENT_MASK
public byte adaptationFieldControl
public byte continuityCounter
public static final byte PAYLOAD_PRESENT_MASK
public int PID
public boolean PUSI
public boolean transportError
public boolean transportPriorty
public byte transportScrambling
public AdaptationField adaptationFieldRead()
public void clear()
public String dumpPacket(String contextStr)
public boolean LoadPacketData()
throws IllegalArgumentException
IllegalArgumentException - the illegal argument exceptionpublic int payloadAvailable()
public void payloadMark()
public int payloadRead()
public boolean payloadRead(byte[] bytes,
int offset,
int length)
bytes - the bytesoffset - the offsetlength - the lengthpublic PacketFragment payloadReadFragment(int length)
public int payloadReadInt(int count,
int mask)
count - the countmask - the maskpublic void payloadReset()
public boolean payloadSkip(int count)
count - the countpublic String toString()
toString in class Objectpublic String toString(int count)
count - the countpublic String toString(int count,
String contextStr)
public String toString(String contextStr)