public class VisualRandomAccessEntry extends GroupEntry
For some coding systems a sync sample is specified to be a random access point after which all samples in decoding order can be correctly decoded. However, it may be possible to encode an “open” random access point, after which all samples in output order can be correctly decoded, but some samples following the random access point in decoding order and preceding the random access point in output order need not be correctly decodable. For example, an intra picture starting an open group of pictures can be followed in decoding order by (bi-)predicted pictures that however precede the intra picture in output order; though they possibly cannot be correctly decoded if the decoding starts from the intra picture, they are not needed.
Such "open" random-access samples can be marked by being a member of this group. Samples marked by this group must be random access points, and may also be sync points (i.e. it is not required that samples marked by the sync sample table be excluded).
Constructor and Description |
---|
VisualRandomAccessEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ByteBuffer |
get() |
short |
getNumLeadingSamples() |
String |
getType() |
int |
hashCode() |
boolean |
isNumLeadingSamplesKnown() |
void |
parse(ByteBuffer byteBuffer) |
void |
setNumLeadingSamples(short numLeadingSamples) |
void |
setNumLeadingSamplesKnown(boolean numLeadingSamplesKnown) |
String |
toString() |
size
public static final String TYPE
public String getType()
getType
in class GroupEntry
public boolean isNumLeadingSamplesKnown()
public void setNumLeadingSamplesKnown(boolean numLeadingSamplesKnown)
public short getNumLeadingSamples()
public void setNumLeadingSamples(short numLeadingSamples)
public void parse(ByteBuffer byteBuffer)
parse
in class GroupEntry
public ByteBuffer get()
get
in class GroupEntry
Copyright © 2017. All rights reserved.