📄 timebase.html
字号:
<DT><B>Parameters:</B><DD><CODE>tr</CODE> - The time object that contains the start time value</DL></DD></DL><HR><A NAME="getStopTime()"><!-- --></A><H3>getStopTime</H3><PRE>public int <B>getStopTime</B>()</PRE><DL><DD>This allows you to determine the stop time of a time base in the preferred time scale of the TimeBase <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1209">QuickTime::GetTimeBaseStopTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The time value that contains the stop time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="getStopTime(int)"><!-- --></A><H3>getStopTime</H3><PRE>public int <B>getStopTime</B>(int scale)</PRE><DL><DD>This allows you to determine the stop time of a time base in the default scale of the time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1209">QuickTime::GetTimeBaseStopTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - Specifies the time scale in which to return the stop time<DT><B>Returns:</B><DD>The time value that contains the stop time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="getTRStopTime()"><!-- --></A><H3>getTRStopTime</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> <B>getTRStopTime</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This allows you to determine the stop time of a time base in the default scale of the time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1209">QuickTime::GetTimeBaseStopTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The time value that contains the stop time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="getTRStopTime(int)"><!-- --></A><H3>getTRStopTime</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> <B>getTRStopTime</B>(int scale) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This allows you to determine the stop time of a time base in the default scale of the time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1209">QuickTime::GetTimeBaseStopTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The time value that contains the stop time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="setStopTime(quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>setStopTime</H3><PRE>public void <B>setStopTime</B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> tr)</PRE><DL><DD>This allows you to set the stop time of a time base and defines the time base's the maximum time value. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1205">QuickTime::SetTimeBaseStopTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tr</CODE> - The time structure that contains the stop time value</DL></DD></DL><HR><A NAME="getFlags()"><!-- --></A><H3>getFlags</H3><PRE>public int <B>getFlags</B>()</PRE><DL><DD>This allows your application to obtain the contents of the control flags of a time base. Flags defined are loopTimeBase or palindromeLoopTimeBase, cf quicktime.std.movies package. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1216">QuickTime::GetTimeBaseFlags</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the control flags.</DL></DD></DL><HR><A NAME="setFlags(int)"><!-- --></A><H3>setFlags</H3><PRE>public void <B>setFlags</B>(int timeBaseFlags)</PRE><DL><DD>This allows your application to set the contents of the control flags of a time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1213">QuickTime::SetTimeBaseFlags</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>timeBaseFlags</CODE> - Specifies the control flags for the time base.</DL></DD></DL><HR><A NAME="getStatus(quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>getStatus</H3><PRE>public int <B>getStatus</B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> unpinnedTime)</PRE><DL><DD>This allows your application to retrieve status information from a time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1220">QuickTime::GetTimeBaseStatus</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>unpinnedTime</CODE> - The time structure that will receive the current time of the time base<DT><B>Returns:</B><DD>The flags that indicate whether the returned time value is outside the range of values specified by the start and stop times of the time base</DL></DD></DL><HR><A NAME="setZero(quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>setZero</H3><PRE>public void <B>setZero</B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> zero)</PRE><DL><DD>This allows your application to change the offset from a time base to either its master time base or its clock component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4d.htm#iqMovi1172">QuickTime::SetTimeBaseZero</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>zero</CODE> - The time structure that corresponds to a 0 time value for the slave time scale</DL></DD></DL><HR><A NAME="setMasterTimeBase(quicktime.std.clocks.TimeBase, quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>setMasterTimeBase</H3><PRE>public void <B>setMasterTimeBase</B>(<A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> master, <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> slaveZero)</PRE><DL><DD>This allows your application to assign a master time base to a time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4d.htm#iqMovi1165">QuickTime::SetTimeBaseMasterTimeBase</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>master</CODE> - Specifies the master time base to be assigned to this slaved time base<DD><CODE>slaveZero</CODE> - Specifies the time, in the master time base time scale, that corresponds to a 0 time value for this slaved time base</DL></DD></DL><HR><A NAME="getMasterTimeBase()"><!-- --></A><H3>getMasterTimeBase</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>getMasterTimeBase</B>()</PRE><DL><DD>This allows your application to determine the master time base that is assigned to a time base. If the TimeBase is slaved to a clock this will return null. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4d.htm#iqMovi1168">QuickTime::GetTimeBaseMasterTimeBase</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The master time base assigned to this time base or null<DT><B>See Also: </B><DD><CODE>getMasterClock</CODE></DL></DD></DL><HR><A NAME="setMasterClock(quicktime.std.clocks.Clock, quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>setMasterClock</H3><PRE>public void <B>setMasterClock</B>(<A HREF="../../../quicktime/std/clocks/Clock.html">Clock</A> clockMeister, <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> slaveZero)</PRE><DL><DD>Specifies the clock component that is assigned to a time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4d.htm#iqMovi1157">QuickTime::SetTimeBaseMasterClock</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clockMeister</CODE> - The specified clock.<DD><CODE>slaveZero</CODE> - The specified time record used in offsetting the time value of the time base and specified clock.<DT><B>Returns:</B><DD>A clock component instance.</DL></DD></DL><HR><A NAME="getMasterClock()"><!-- --></A><H3>getMasterClock</H3><PRE>public <A HREF="../../../quicktime/std/clocks/Clock.html">Clock</A> <B>getMasterClock</B>()</PRE><DL><DD>Determines the clock component that is assigned to a time base. If this call returns null then the TimeBase is not slaved to a clock, but is slaved to another TimeBase. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4d.htm#iqMovi1161">QuickTime::GetTimeBaseMasterClock</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tb</CODE> - The specified time base.<DT><B>Returns:</B><DD>A clock component instance or null<DT><B>See Also: </B><DD><CODE>getMasterTimeBase</CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Print information about this TimeBase object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/QTObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../quicktime/QTObject.html">QTObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representing this TimeBase object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TimeBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/std/clocks/RateCallBack.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/clocks/TimeCallBack.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="TimeBase.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -