com.coremedia.iso.boxes
Class EditListBox.Entry

java.lang.Object
  extended by com.coremedia.iso.boxes.EditListBox.Entry
Enclosing class:
EditListBox

public static class EditListBox.Entry
extends Object


Constructor Summary
EditListBox.Entry(EditListBox editListBox, ByteBuffer bb)
           
EditListBox.Entry(EditListBox editListBox, long segmentDuration, long mediaTime, double mediaRate)
          Creates a new Entry with all values set.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditListBox.Entry

public EditListBox.Entry(EditListBox editListBox,
                         long segmentDuration,
                         long mediaTime,
                         double mediaRate)
Creates a new Entry with all values set.

Parameters:
segmentDuration - duration in movie timescale
mediaTime - starting time
mediaRate - relative play rate

EditListBox.Entry

public EditListBox.Entry(EditListBox editListBox,
                         ByteBuffer bb)
Method Detail

getSegmentDuration

public 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

Returns:
segment duration in movie timescale

setSegmentDuration

public 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

Parameters:
segmentDuration - new segment duration in movie timescale

getMediaTime

public 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)

Returns:
starting time

setMediaTime

public 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)

Parameters:
mediaTime - starting time

getMediaRate

public double getMediaRate()
The media rate specifies the relative rate at which to play the media corresponding to a specific edit segment.

Returns:
relative play rate

setMediaRate

public void setMediaRate(double mediaRate)
The media rate specifies the relative rate at which to play the media corresponding to a specific edit segment.

Parameters:
mediaRate - new relative play rate

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getContent

public void getContent(ByteBuffer bb)
                throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.