📄 timecodedef.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size (the number of bytes) that are required for this class</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TimeCodeDef()"><!-- --></A><H3>TimeCodeDef</H3><PRE>public <B>TimeCodeDef</B>()</PRE><DL><DD>Creates a TimeCodeDef object which has no initial settings.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getFlags()"><!-- --></A><H3>getFlags</H3><PRE>public int <B>getFlags</B>()</PRE><DL><DD>Returns the current flag settings.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>flags</DL></DD></DL><HR><A NAME="setFlags(int)"><!-- --></A><H3>setFlags</H3><PRE>public void <B>setFlags</B>(int flags)</PRE><DL><DD>Sets the flags - dropFrame, etc<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flags</CODE> - new flag value</DL></DD></DL><HR><A NAME="getTimeScale()"><!-- --></A><H3>getTimeScale</H3><PRE>public int <B>getTimeScale</B>()</PRE><DL><DD>Returns the time scale in terms of the frameDuration. TimeScale / frameDuration = actual number of frames per second<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>time scale</DL></DD></DL><HR><A NAME="setTimeScale(int)"><!-- --></A><H3>setTimeScale</H3><PRE>public void <B>setTimeScale</B>(int timeScale)</PRE><DL><DD>Sets the time scale in terms of the frameDuration. TimeScale / frameDuration = actual number of frames per second<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>timeScale</CODE> - the new time scale value</DL></DD></DL><HR><A NAME="getFrameDuration()"><!-- --></A><H3>getFrameDuration</H3><PRE>public int <B>getFrameDuration</B>()</PRE><DL><DD>Returns the duration of each frame. TimeScale / frameDuration = actual number of frames per second<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current frame duration</DL></DD></DL><HR><A NAME="setFrameDuration(int)"><!-- --></A><H3>setFrameDuration</H3><PRE>public void <B>setFrameDuration</B>(int frameDuration)</PRE><DL><DD>Sets the duration of each frame. TimeScale / frameDuration = actual number of frames per second<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>frameDuration</CODE> - new frame duration value</DL></DD></DL><HR><A NAME="getFramesPerSecond()"><!-- --></A><H3>getFramesPerSecond</H3><PRE>public int <B>getFramesPerSecond</B>()</PRE><DL><DD>Returns the number of frames per second as the closest integral value. The actual frames per second are found by the following: TimeScale / frameDuration = actual number of frames per second<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the specified, integral, frames per second</DL></DD></DL><HR><A NAME="setFramesPerSecond(int)"><!-- --></A><H3>setFramesPerSecond</H3><PRE>public void <B>setFramesPerSecond</B>(int fps)</PRE><DL><DD>Sets the number of frames per second as the closest integral value. The actual frames per second are found by the following: TimeScale / frameDuration = actual number of frames per second<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fps</CODE> - the specified, integral, frames per second</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>String representation of class.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/util/QTByteObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../quicktime/util/QTByteObject.html">QTByteObject</A></CODE></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Makes a copy of a object.<DD><DL></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/TimeCodeDef.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/TemporalSettings.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.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="TimeCodeDef.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -