|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfi.helsinki.cs.ohtu.mpeg2.AVPacketizer
fi.helsinki.cs.ohtu.mpeg2.VideoStream.VideoPacketizer
private static class VideoStream.VideoPacketizer
Implements the packetizer for video streams.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fi.helsinki.cs.ohtu.mpeg2.AVPacketizer |
|---|
AVPacketizer.State |
| Field Summary | |
|---|---|
private boolean |
alignIFrames
|
| Constructor Summary | |
|---|---|
VideoStream.VideoPacketizer(StreamID sid,
int bufsize,
boolean alignIFrames)
Creates a new video packetizer. |
|
| Method Summary | |
|---|---|
protected boolean |
needPacketAlign(AccessUnit au)
Gets whether the given access unit needs to be packet aligned. |
| Methods inherited from class fi.helsinki.cs.ohtu.mpeg2.AVPacketizer |
|---|
close, flush, getBufferSize, getDesiredBuffering, getNextDts, getPayloadPrefixLength, getState, getStreamId, isMuxable, packetize, setPacketizerListener, setTimebaseOffset, write, writePayloadPrefix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final boolean alignIFrames
| Constructor Detail |
|---|
public VideoStream.VideoPacketizer(StreamID sid,
int bufsize,
boolean alignIFrames)
sid - the stream id for the packetized streambufsize - the size of the video decoder buffer,
in bytesalignIFrames - true if I-frames are to be
started at packet boundaries| Method Detail |
|---|
protected boolean needPacketAlign(AccessUnit au)
AVPacketizer
This packetizer uses this method to get hints when to start
a new packet. The default implementation returns true
when an access unit is marked as discontinuous.
needPacketAlign in class AVPacketizerau - the access unit for which packet alignment is checked
true if packet aligned is needed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||