public class MPEGUtil extends Object
Constructor and Description |
---|
MPEGUtil() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
gotoMarker(ByteBuffer buf,
int n,
int mmin,
int mmax)
Finds next Nth MPEG bitstream marker 0x000001xx and returns the data that
preceeds it as a ByteBuffer slice
Segment byte order is always little endian
|
static ByteBuffer |
gotoNextMarker(ByteBuffer buf)
Finds next MPEG bitstream marker 0x000001xx and returns the data that
preceeds it as a ByteBuffer slice
Segment byte order is always little endian
|
static ByteBuffer |
nextSegment(ByteBuffer buf)
Returns next segment between two MPEG marker
i.e.
|
public static final ByteBuffer gotoNextMarker(ByteBuffer buf)
buf
- public static final ByteBuffer gotoMarker(ByteBuffer buf, int n, int mmin, int mmax)
buf
- public static final ByteBuffer nextSegment(ByteBuffer buf)
buf
- Copyright © 2019. All rights reserved.