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).
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
VisualRandomAccessEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.nio.ByteBuffer |
get() |
short |
getNumLeadingSamples() |
java.lang.String |
getType() |
int |
hashCode() |
boolean |
isNumLeadingSamplesKnown() |
void |
parse(java.nio.ByteBuffer byteBuffer) |
void |
setNumLeadingSamples(short numLeadingSamples) |
void |
setNumLeadingSamplesKnown(boolean numLeadingSamplesKnown) |
java.lang.String |
toString() |
sizepublic static final java.lang.String TYPE
public java.lang.String getType()
getType in class GroupEntrypublic boolean isNumLeadingSamplesKnown()
public void setNumLeadingSamplesKnown(boolean numLeadingSamplesKnown)
public short getNumLeadingSamples()
public void setNumLeadingSamples(short numLeadingSamples)
public void parse(java.nio.ByteBuffer byteBuffer)
parse in class GroupEntrypublic java.nio.ByteBuffer get()
get in class GroupEntrypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020. All rights reserved.