Class VisualRandomAccessEntry
4cc = ""rap ""
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).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget()shortgetType()inthashCode()booleanvoidparse(ByteBuffer byteBuffer) voidsetNumLeadingSamples(short numLeadingSamples) voidsetNumLeadingSamplesKnown(boolean numLeadingSamplesKnown) toString()Methods inherited from class org.mp4parser.boxes.samplegrouping.GroupEntry
size
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
VisualRandomAccessEntry
public VisualRandomAccessEntry()
-
-
Method Details
-
getType
- Specified by:
getTypein classGroupEntry
-
isNumLeadingSamplesKnown
public boolean isNumLeadingSamplesKnown() -
setNumLeadingSamplesKnown
public void setNumLeadingSamplesKnown(boolean numLeadingSamplesKnown) -
getNumLeadingSamples
public short getNumLeadingSamples() -
setNumLeadingSamples
public void setNumLeadingSamples(short numLeadingSamples) -
parse
- Specified by:
parsein classGroupEntry
-
get
- Specified by:
getin classGroupEntry
-
equals
-
hashCode
public int hashCode() -
toString
-