public static class EditListBox.Entry extends Object
Constructor and Description |
---|
Entry(EditListBox editListBox,
ByteBuffer bb) |
Entry(EditListBox editListBox,
long segmentDuration,
long mediaTime,
double mediaRate)
Creates a new
Entry with all values set. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
void |
getContent(ByteBuffer bb) |
double |
getMediaRate()
The media rate specifies the relative rate at which to play the
media corresponding to a specific edit segment.
|
long |
getMediaTime()
The media time is an integer containing the starting time
within the media of a specific edit segment(in media time
scale units, in composition time)
|
long |
getSegmentDuration()
The segment duration is an integer that specifies the duration
of this edit segment in units of the timescale in the Movie
Header Box
|
int |
hashCode() |
void |
setMediaRate(double mediaRate)
The media rate specifies the relative rate at which to play the
media corresponding to a specific edit segment.
|
void |
setMediaTime(long mediaTime)
The media time is an integer containing the starting time
within the media of a specific edit segment(in media time
scale units, in composition time)
|
void |
setSegmentDuration(long segmentDuration)
The segment duration is an integer that specifies the duration
of this edit segment in units of the timescale in the Movie
Header Box
|
String |
toString() |
public Entry(EditListBox editListBox, long segmentDuration, long mediaTime, double mediaRate)
Entry
with all values set.editListBox
- parent EditListBox
segmentDuration
- duration in movie timescalemediaTime
- starting timemediaRate
- relative play ratepublic Entry(EditListBox editListBox, ByteBuffer bb)
public long getSegmentDuration()
public void setSegmentDuration(long segmentDuration)
segmentDuration
- new segment duration in movie timescalepublic long getMediaTime()
public void setMediaTime(long mediaTime)
mediaTime
- starting timepublic double getMediaRate()
public void setMediaRate(double mediaRate)
mediaRate
- new relative play ratepublic void getContent(ByteBuffer bb)
Copyright © 2017. All rights reserved.