|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.media.quicktime.QuickTimeWriter.Edit
public static class QuickTimeWriter.Edit
An Edit define the portions of the media that are to be used to
build up a track for a movie. The edits themselves are stored in an edit
list table, which consists of time offset and duration values for each
segment.
In the absence of an edit list, the presentation of the track starts immediately. An empty edit is used to offset the start time of a track.
| Field Summary | |
|---|---|
int |
mediaRate
A 32-bit fixed-point number (16.16) that specifies the relative rate at which to play the media corresponding to this edit segment. |
int |
mediaTime
A 32-bit integer containing the start time within the media of this edit segment (in media time scale units). |
int |
trackDuration
A 32-bit integer that specifies the duration of this edit segment in units of the movie's time scale. |
| Constructor Summary | |
|---|---|
QuickTimeWriter.Edit(int trackDuration,
int mediaTime,
double mediaRate)
Creates an edit. |
|
QuickTimeWriter.Edit(int trackDuration,
int mediaTime,
int mediaRate)
Creates an edit. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int trackDuration
public int mediaTime
public int mediaRate
| Constructor Detail |
|---|
public QuickTimeWriter.Edit(int trackDuration,
int mediaTime,
double mediaRate)
trackDuration - Duration of this edit in the movie's time scale.mediaTime - Start time of this edit in the media's time scale.
Specify -1 for an empty edit. The last edit in
a track should never be an empty edit.mediaRate - The relative rate at which to play this edit.
public QuickTimeWriter.Edit(int trackDuration,
int mediaTime,
int mediaRate)
Use this constructor only if you want to compute the fixed point media rate by yourself.
trackDuration - Duration of this edit in the movie's time scale.mediaTime - Start time of this edit in the media's time scale.
Specify -1 for an empty edit. The last edit in
a track should never be an empty edit.mediaRate - The relative rate at which to play this edit given
as a 16.16 fixed point value.
|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||