📄 timebase.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:50:30 PDT 2002 --><TITLE>: Uses of Class quicktime.std.clocks.TimeBase</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../quicktime/std/clocks/TimeBase.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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"> PREV NEXT</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></TABLE><!-- =========== END OF NAVBAR =========== --><HR><CENTER><H2><B>Uses of Class<br>quicktime.std.clocks.TimeBase</B></H2></CENTER><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Packages that use <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#quicktime.std.clocks"><B>quicktime.std.clocks</B></A></TD><TD> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#quicktime.std.image"><B>quicktime.std.image</B></A></TD><TD> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#quicktime.std.movies"><B>quicktime.std.movies</B></A></TD><TD> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#quicktime.std.music"><B>quicktime.std.music</B></A></TD><TD> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#quicktime.std.sg"><B>quicktime.std.sg</B></A></TD><TD> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#quicktime.streaming"><B>quicktime.streaming</B></A></TD><TD> </TD></TR></TABLE> <P><A NAME="quicktime.std.clocks"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> in <A HREF="../../../../quicktime/std/clocks/package-summary.html">quicktime.std.clocks</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../quicktime/std/clocks/package-summary.html">quicktime.std.clocks</A> that return <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>QTCallBack.</B><B><A HREF="../../../../quicktime/std/clocks/QTCallBack.html#getTimeBase()">getTimeBase</A></B>()</CODE><BR> Retrieve the time base of a callback event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromTimeRecord(quicktime.std.clocks.TimeRecord)">fromTimeRecord</A></B>(<A HREF="../../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> tr)</CODE><BR> Return the TimeBase that is associated with this record.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromQTCallBack(quicktime.std.clocks.QTCallBack)">fromQTCallBack</A></B>(<A HREF="../../../../quicktime/std/clocks/QTCallBack.html">QTCallBack</A> cb)</CODE><BR> Retrieve the time base of a callback event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromICMFrameTime(quicktime.std.image.ICMFrameTime)">fromICMFrameTime</A></B>(<A HREF="../../../../quicktime/std/image/ICMFrameTime.html">ICMFrameTime</A> ft)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromMovie(quicktime.std.movies.Movie)">fromMovie</A></B>(<A HREF="../../../../quicktime/std/movies/Movie.html">Movie</A> m)</CODE><BR> This method allows you to get movie's TimeBase.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromTunePlayer(quicktime.std.music.TunePlayer)">fromTunePlayer</A></B>(<A HREF="../../../../quicktime/std/music/TunePlayer.html">TunePlayer</A> tp)</CODE><BR> Returns the TunePlayer's current time Base.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromPresentation(quicktime.streaming.Presentation)">fromPresentation</A></B>(<A HREF="../../../../quicktime/streaming/Presentation.html">Presentation</A> p)</CODE><BR> Returns the Presentation's current time Base.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromSequenceGrabber(quicktime.std.sg.SequenceGrabber)">fromSequenceGrabber</A></B>(<A HREF="../../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A> sg)</CODE><BR> Returns the SequenceGrabber's current time Base.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#fromWallClock()">fromWallClock</A></B>()</CODE><BR> Returns the Time Base of the Wall Clock</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#getMasterTimeBase()">getMasterTimeBase</A></B>()</CODE><BR> This allows your application to determine the master time base that is assigned to a time base.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B>TimeRecord.</B><B><A HREF="../../../../quicktime/std/clocks/TimeRecord.html#getTimeBase()">getTimeBase</A></B>()</CODE><BR> Return the TimeBase that is associated with this record.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../quicktime/std/clocks/package-summary.html">quicktime.std.clocks</A> with parameters of type <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>TimeBase.</B><B><A HREF="../../../../quicktime/std/clocks/TimeBase.html#setMasterTimeBase(quicktime.std.clocks.TimeBase, quicktime.std.clocks.TimeRecord)">setMasterTimeBase</A></B>(<A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> master, <A HREF="../../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> slaveZero)</CODE><BR> This allows your application to assign a master time base to a time base.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>TimeRecord.</B><B><A HREF="../../../../quicktime/std/clocks/TimeRecord.html#convertTime(quicktime.std.clocks.TimeBase)">convertTime</A></B>(<A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> newBase)</CODE><BR> Convert a time from one time base into a time that is relative to another time base.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../../quicktime/std/clocks/package-summary.html">quicktime.std.clocks</A> with parameters of type <A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../quicktime/std/clocks/TimeJumpCallBack.html#TimeJumpCallBack(quicktime.std.clocks.TimeBase)">TimeJumpCallBack</A></B>(<A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> tb)</CODE><BR> This allows your application to obtain a new callback.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../quicktime/std/clocks/RateCallBack.html#RateCallBack(quicktime.std.clocks.TimeBase, float, int)">RateCallBack</A></B>(<A HREF="../../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> tb, float rate, int flags)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -