|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.std.comp.ComponentIdentifier | +--quicktime.std.comp.Component | +--quicktime.std.movies.media.MediaHandler | +--quicktime.std.movies.media.VisualMediaHandler | +--quicktime.std.qtcomponents.TimeCoder
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Method Summary | |
static TimeCoder |
fromMedia(TimeCodeMedia m)
This method allows you to obtain a reference to a media handler component. |
TimeCodeInfo |
getAtTime(int mediaTime)
Determines the time code from the time code handler. |
TimeCodeInfo |
getCurrent()
Determines the time code from the time code handler at the current time value. |
TCTextOptions |
getDisplayOptions()
Returns the current display options for text by the TimeCoder. |
int |
getFlags()
Allows you to retrieve the timecode control flags. |
QTHandle |
getSourceRef(TimeCodeDescription tcd)
Allows you to retrieve the source information from the time code media sample. |
void |
setDisplayOptions(TCTextOptions textOptions)
Sets the current display options for text by the TimeCoder. |
void |
setFlags(int flags,
int flagsMask)
Allows you to change the flags that affect how QT handles the timecode information. |
void |
setSourceRef(TimeCodeDescription tcd,
QTHandleRef sref)
Allows you to change the source information in the media sample. |
java.lang.String |
timeCodeToString(TimeCodeDef tcdef,
int counter)
Converts a time value into a string (HH:MM:SS:FF) - if the timecode uses a drop frame technique the separators are semi-colons (HH;MM;SS;FF). |
java.lang.String |
timeCodeToString(TimeCodeDef tcdef,
TimeCodeTime tct)
Converts a time value into a string (HH:MM:SS:FF) - if the timecode uses a drop frame technique the separators are semi-colons (HH;MM;SS;FF). |
int |
toFrameNumber(TimeCodeTime tcrec,
TimeCodeDef tcdef)
Converts a time value into a frame number using specified definitions. |
TimeCodeTime |
toTimeCode(int frameNumber,
TimeCodeDef tcdef)
Converts a frame number into a time value using specified definitions. |
Methods inherited from class quicktime.std.movies.media.VisualMediaHandler |
getGraphicsMode, getTrackOpaque, hitTestForTargetRefCon, hitTestTargetRefCon, setGraphicsMode |
Methods inherited from class quicktime.std.comp.Component |
count |
Methods inherited from class quicktime.std.comp.ComponentIdentifier |
find, find, getInfo, toString |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static TimeCoder fromMedia(TimeCodeMedia m) throws StdQTException
quicktime.std.movies.media.TimeCodeMedia#getTimeCodeMediaHandler
,
quicktime.std.movies.media.Media#getMediaHandler
public TimeCodeInfo getCurrent() throws QTException
public TimeCodeInfo getAtTime(int mediaTime) throws QTException
mediaTime
- The time value of the media at which to retrieve the time code information.public java.lang.String timeCodeToString(TimeCodeDef tcdef, TimeCodeTime tct) throws StdQTException
tcdef
- the time code definition structure used for the conversiontct
- the time code time structure used for the conversionpublic java.lang.String timeCodeToString(TimeCodeDef tcdef, int counter) throws StdQTException
tcdef
- the time code definition structure used for the conversioncounter
- the time code counter valuepublic int toFrameNumber(TimeCodeTime tcrec, TimeCodeDef tcdef) throws StdQTException
tcrec
- The time code value structure to convert.tcdef
- The time code definition object used for the conversion.public TimeCodeTime toTimeCode(int frameNumber, TimeCodeDef tcdef) throws StdQTException
frameNumber
- The frame number to convert.tcdef
- The time code definition object used for the conversion.public QTHandle getSourceRef(TimeCodeDescription tcd) throws QTException
tcd
- the description that describes the time code reference to be changedpublic void setSourceRef(TimeCodeDescription tcd, QTHandleRef sref) throws StdQTException
tcd
- the description that describes the time code reference to be changedsref
- the source information that is placed in the sample referencepublic void setFlags(int flags, int flagsMask) throws StdQTException
flags
- specifies the new flag valueflagsMask
- specifies which of the flag values are to change.public int getFlags() throws StdQTException
public void setDisplayOptions(TCTextOptions textOptions) throws StdQTException
textOptions
- text display optionspublic TCTextOptions getDisplayOptions() throws StdQTException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |