📄 timecoder.html
字号:
<DT><B>Parameters:</B><DD><CODE>tcrec</CODE> - The time code value structure to convert.<DD><CODE>tcdef</CODE> - The time code definition object used for the conversion.<DT><B>Returns:</B><DD>The frame number.</DL></DD></DL><HR><A NAME="toTimeCode(int, quicktime.std.qtcomponents.TimeCodeDef)"><!-- --></A><H3>toTimeCode</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.html">TimeCodeTime</A> <B>toTimeCode</B>(int frameNumber, <A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A> tcdef) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Converts a frame number into a time value using specified definitions. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3616">QuickTime::TCFrameNumberToTimeCode()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>frameNumber</CODE> - The frame number to convert.<DD><CODE>tcdef</CODE> - The time code definition object used for the conversion.<DT><B>Returns:</B><DD>The time code value structure.</DL></DD></DL><HR><A NAME="getSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)"><!-- --></A><H3>getSourceRef</H3><PRE>public <A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A> <B>getSourceRef</B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B> <I>since QTJava 5.0</I><P><DD>Allows you to retrieve the source information from the time code media sample. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3648">QuickTime::TCGetSourceRef()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tcd</CODE> - the description that describes the time code reference to be changed<DT><B>Returns:</B><DD>the source information that is found in the sample reference</DL></DD></DL><HR><A NAME="getUserDataSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)"><!-- --></A><H3>getUserDataSourceRef</H3><PRE>public <A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>getUserDataSourceRef</B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows you to retrieve the source information from the time code media sample. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3648">QuickTime::TCGetSourceRef()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tcd</CODE> - the description that describes the time code reference to be changed<DT><B>Returns:</B><DD>the UserData that is found in the sample reference<DT><B>See Also: </B><DD><A HREF="../../../quicktime/std/movies/media/UserData.html#fromTimeCoderSource(quicktime.std.qtcomponents.TimeCoder, quicktime.std.qtcomponents.TimeCodeDescription)"><CODE>UserData.fromTimeCoderSource(quicktime.std.qtcomponents.TimeCoder, quicktime.std.qtcomponents.TimeCodeDescription)</CODE></A></DL></DD></DL><HR><A NAME="setSourceRef(quicktime.std.qtcomponents.TimeCodeDescription, quicktime.util.QTHandleRef)"><!-- --></A><H3>setSourceRef</H3><PRE>public void <B>setSourceRef</B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd, <A HREF="../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> sref) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to change the source information in the media sample. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3638">QuickTime::TCSetSourceRef()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tcd</CODE> - the description that describes the time code reference to be changed<DD><CODE>sref</CODE> - the source information that is placed in the sample reference</DL></DD></DL><HR><A NAME="setUserDataSourceRef(quicktime.std.qtcomponents.TimeCodeDescription, quicktime.std.movies.media.UserData)"><!-- --></A><H3>setUserDataSourceRef</H3><PRE>public void <B>setUserDataSourceRef</B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd, <A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A> udata) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to change the source information in the media sample. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3638">QuickTime::TCSetSourceRef()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tcd</CODE> - the description that describes the time code reference to be changed<DD><CODE>udata</CODE> - the userdata source that is placed in the sample reference</DL></DD></DL><HR><A NAME="setFlags(int, int)"><!-- --></A><H3>setFlags</H3><PRE>public void <B>setFlags</B>(int flags, int flagsMask) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to change the flags that affect how QT handles the timecode information. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3658">QuickTime::TCSetTimeCodeFlags()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flags</CODE> - specifies the new flag value<DD><CODE>flagsMask</CODE> - specifies which of the flag values are to change.</DL></DD></DL><HR><A NAME="getFlags()"><!-- --></A><H3>getFlags</H3><PRE>public int <B>getFlags</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to retrieve the timecode control flags. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3668">QuickTime::TCGetTimeCodeFlags()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the timecode control flags</DL></DD></DL><HR><A NAME="setDisplayOptions(quicktime.std.qtcomponents.TCTextOptions)"><!-- --></A><H3>setDisplayOptions</H3><PRE>public void <B>setDisplayOptions</B>(<A HREF="../../../quicktime/std/qtcomponents/TCTextOptions.html">TCTextOptions</A> textOptions) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the current display options for text by the TimeCoder. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3677">QuickTime::TCSetDisplayOptions()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>textOptions</CODE> - text display options</DL></DD></DL><HR><A NAME="getDisplayOptions()"><!-- --></A><H3>getDisplayOptions</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/TCTextOptions.html">TCTextOptions</A> <B>getDisplayOptions</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the current display options for text by the TimeCoder. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3693">QuickTime::TCGetDisplayOptions()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>text display options</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/TimeCoder.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/qtcomponents/TimeCodeInfo.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.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="TimeCoder.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -