📄 csequencetomemory.html
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="CSequenceToMemory(int)"><!-- --></A><H3>CSequenceToMemory</H3><PRE>public <B>CSequenceToMemory</B>(int numFrames)</PRE><DL><DD>Create an instance of this class in order to compress a sequence of frames and store them in memory. You must call begin before you use any other methods<DD><DL><DT><B>Parameters:</B><DD><CODE>numFrames</CODE> - the number of Frames that the compression will hold<DT><B>See Also: </B><DD><CODE>quicktime.std.image.CSequence.begin</CODE></DL></DD></DL><HR><A NAME="CSequenceToMemory(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.std.image.CodecComponent, int, int, int, quicktime.qd.ColorTable, int)"><!-- --></A><H3>CSequenceToMemory</H3><PRE>public <B>CSequenceToMemory</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int depth, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec, int spatialQuality, int temporalQuality, int keyFrameRate, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> cTab, int flags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create an instance of this class in order to compress a sequence of frames and store them in memory.<DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - a QDGraphics containing the PixMap object containing the source data to be compressed<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the image to compress<DD><CODE>depth</CODE> - the depth of the color or 0 for the current device's depth<DD><CODE>cType</CODE> - the compressor type<DD><CODE>codec</CODE> - the compressor identifier<DD><CODE>spatialQuality</CODE> - the desired compressed image quality<DD><CODE>temporalQuality</CODE> - the desired sequence temporal quality<DD><CODE>keyFrameRate</CODE> - the maximum number of frames allowed between key frames<DD><CODE>cTab</CODE> - the ColorTable or null that is used in the compression<DD><CODE>flags</CODE> - flags providing further control information</DL></DD></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="begin(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.std.image.CodecComponent, int, int, int, quicktime.qd.ColorTable, int)"><!-- --></A><H3>begin</H3><PRE>public void <B>begin</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int colorDepth, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec, int spatialQuality, int temporalQuality, int keyFrameRate, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> clut, int flags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Signals the beginning of the process of compressing a sequence of frames.<DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - a QDGraphics containing the PixMap object containing the source data to be compressed<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the image to compress<DD><CODE>colorDepth</CODE> - the depth at which the sequence is likely to be viewed<DD><CODE>cType</CODE> - the compressor type<DD><CODE>codec</CODE> - the compressor identifier<DD><CODE>spatialQuality</CODE> - the desired compressed image quality<DD><CODE>temporalQuality</CODE> - the desired sequence temporal quality<DD><CODE>keyFrameRate</CODE> - the maximum number of frames allowed between key frames<DD><CODE>clut</CODE> - a custum color lookup table<DD><CODE>flags</CODE> - flags providing further control information</DL></DD></DL><HR><A NAME="compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int)"><!-- --></A><H3>compressFrame</H3><PRE>public int <B>compressFrame</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Your application calls this method to compress one of a sequence of frames. The similarity value is directly returned by this method. <br> <em>Note: See the QTImage class and Inside Mac QuickTime documentation for more information on valid flag values.</em> <br><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - a QDGraphics containing the PixMap that contains the image to be compressed<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the image to compress<DD><CODE>flags</CODE> - flags providing further control information<DT><B>Returns:</B><DD>the similarity value</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>getDescription</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method should return an ImageDescription that describes the image data that the class contains.<DD><DL><DT><B>Returns:</B><DD>the ImageDescription of an Image</DL></DD></DL><HR><A NAME="getSequence()"><!-- --></A><H3>getSequence</H3><PRE>public <A HREF="../../../quicktime/std/image/CSequence.html">CSequence</A> <B>getSequence</B>()</PRE><DL><DD>Returns the CSequence object - this may return null if you haven't called created the sequence.<DD><DL><DT><B>Returns:</B><DD>the sequence</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/CSequenceToMemory.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/app/image/CompositableEffect.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/image/DSequenceFromMemory.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="CSequenceToMemory.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 + -