|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.helsinki.cs.ohtu.mpeg2.PESPacket
fi.helsinki.cs.ohtu.mpeg2.PaddingPESPacket
public final class PaddingPESPacket
Represents a PES packet containing padding pseudo-stream data.
Field Summary | |
---|---|
private int |
size
|
Constructor Summary | |
---|---|
PaddingPESPacket(int size)
Class constructor. |
Method Summary | |
---|---|
int |
getSize()
Gets the size of the padding data. |
protected void |
insertTemplateBytes()
Overload of the base class method, inserting the actual padding bytes when needed. |
void |
setSize(int size)
Sets the size of the padding data. |
Methods inherited from class fi.helsinki.cs.ohtu.mpeg2.PESPacket |
---|
addAboutToResetListener, getAboutToResetListeners, getPacketLength, getStream, getStreamID, getTotalLength, removeAboutToResetListener, reset, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int size
Constructor Detail |
---|
public PaddingPESPacket(int size)
size
- Initial size of the padding data. Will also exactly be the PES packet payload size. Must be in range
[1..65535].Method Detail |
---|
public int getSize()
public void setSize(int size)
size
- New size of the padding data. Will also exactly be the PES packet payload size. Must be in range
[1..65535].protected void insertTemplateBytes()
insertTemplateBytes
in class PESPacket
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |