Package org.mp4parser.muxer.tracks
Class AbstractH26XTrack.LookAhead
- java.lang.Object
-
- org.mp4parser.muxer.tracks.AbstractH26XTrack.LookAhead
-
- Enclosing class:
- AbstractH26XTrack
public static class AbstractH26XTrack.LookAhead extends Object
-
-
Constructor Summary
Constructors Constructor Description LookAhead(DataSource dataSource)
-
Method Summary
Modifier and Type Method Description voiddiscardByte()voiddiscardNext3AndMarkStart()voidfillBuffer()ByteBuffergetNal()booleannextThreeEquals000or001orEof(boolean tripleZeroIsEndOfSequence)booleannextThreeEquals001()
-
-
-
Constructor Detail
-
LookAhead
public LookAhead(DataSource dataSource) throws IOException
- Throws:
IOException
-
-
Method Detail
-
fillBuffer
public void fillBuffer() throws IOException- Throws:
IOException
-
nextThreeEquals001
public boolean nextThreeEquals001() throws IOException- Throws:
IOException
-
nextThreeEquals000or001orEof
public boolean nextThreeEquals000or001orEof(boolean tripleZeroIsEndOfSequence) throws IOException- Throws:
IOException
-
discardByte
public void discardByte()
-
discardNext3AndMarkStart
public void discardNext3AndMarkStart()
-
getNal
public ByteBuffer getNal()
-
-