📄 csequence.html
字号:
</DL><HR><A NAME="getMaxCompressionSize(quicktime.qd.QDGraphics)"><!-- --></A><H3>getMaxCompressionSize</H3><PRE>public int <B>getMaxCompressionSize</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to determine the maximum size an image will be after compression for a given compression sequence. The size returned is in the number of bytes that the encoded image will require. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImageCompMgr.11.htm#refIma282">QuickTime::GetCSequenceMaxCompressionSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - a QDGraphics that contains the PixMap which is the source image compression data. This may NOT be null.<DT><B>Returns:</B><DD>the maximum size an image in this sequence will be after compression</DL></DD></DL><HR><A NAME="setQuality(int, int)"><!-- --></A><H3>setQuality</H3><PRE>public void <B>setQuality</B>(int spatialQuality, int temporalQuality) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to adjust the spatial or temporal quality for the current sequence. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.24.htm#iqImag138">QuickTime::SetCSequenceQuality</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spatialQuality</CODE> - the desired compressed image quality<DD><CODE>temporalQuality</CODE> - the desired sequence temporal quality</DL></DD></DL><HR><A NAME="setKeyFrameRate(int)"><!-- --></A><H3>setKeyFrameRate</H3><PRE>public void <B>setKeyFrameRate</B>(int keyFrameRate) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to adjust the key frame rate for the current sequence. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.24.htm#iqImag141">QuickTime::SetCSequenceKeyFrameRate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>keyFrameRate</CODE> - the maximum number of frames allowed between key frames</DL></DD></DL><HR><A NAME="getKeyFrameRate()"><!-- --></A><H3>getKeyFrameRate</H3><PRE>public int <B>getKeyFrameRate</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method lets you determine the current key frame rate of a sequence. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.24.htm#iqImag145">QuickTime::GetCSequenceKeyFrameRate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current key frame rate</DL></DD></DL><HR><A NAME="setFrameNumber(int)"><!-- --></A><H3>setFrameNumber</H3><PRE>public void <B>setFrameNumber</B>(int frameNumber) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method informs the compressor in use for this sequence that frames are being compressed out of order. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.24.htm#iqImag148">QuickTime::SetCSequenceFrameNumber</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>frameNumber</CODE> - the frame number of the frame that is being compressed out of sequence</DL></DD></DL><HR><A NAME="getFrameNumber()"><!-- --></A><H3>getFrameNumber</H3><PRE>public int <B>getFrameNumber</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method returns the current frame number of this sequence. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.24.htm#iqImag151">QuickTime::GetCSequenceFrameNumber</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current frame number</DL></DD></DL><HR><A NAME="setPrev(quicktime.qd.QDGraphics, quicktime.qd.QDRect)"><!-- --></A><H3>setPrev</H3><PRE>public void <B>setPrev</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> prev, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> prevRect) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows the application to set the pixel map and boundary rectangle used by the previous frame in temporal compression. Note - this may change the maxCompressionSize <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.24.htm#iqImag152">QuickTime::SetCSequencePrev</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>prev</CODE> - a QDGraphics that contains the PixMap defining the new previous image. This may NOT be null.<DD><CODE>prevRect</CODE> - a QDRect defining the portion of the previous image to use for temporal compression. May be to null</DL></DD></DL><HR><A NAME="prevBuffer()"><!-- --></A><H3>prevBuffer</H3><PRE>public <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> <B>prevBuffer</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method determines the location of the previous image buffer allocated by the compressor. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.24.htm#iqImag158">QuickTime::GetCSequencePrevBuffer</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDGraphics object which is the graphics world for the image buffer</DL></DD></DL><HR><A NAME="setDataRateParams(quicktime.std.image.DataRateParams)"><!-- --></A><H3>setDataRateParams</H3><PRE>public void <B>setDataRateParams</B>(<A HREF="../../../quicktime/std/image/DataRateParams.html">DataRateParams</A> params) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows the application to set data rate parameters, which communicate information to compressors that can constrain compressed data in a particular sequence to a specific data rate. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.25.htm#iqImag162">QuickTime::SetCSequenceDataRateParams</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>params</CODE> - a DataRateParams object<DT><B>See Also: </B><DD><A HREF="../../../quicktime/std/image/DataRateParams.html"><CODE>DataRateParams</CODE></A></DL></DD></DL><HR><A NAME="getDataRateParams()"><!-- --></A><H3>getDataRateParams</H3><PRE>public <A HREF="../../../quicktime/std/image/DataRateParams.html">DataRateParams</A> <B>getDataRateParams</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method obtains the data rate parameters previously set with the setCDataRateParams method. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.25.htm#iqImag165">QuickTime::GetCSequenceDataRateParams</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a DataRateParams object, this object will not contain useful information unless the setCDataRateParams method was previously called</DL></DD></DL><HR><A NAME="setPreferredPacketSize(int)"><!-- --></A><H3>setPreferredPacketSize</H3><PRE>public void <B>setPreferredPacketSize</B>(int preferredPacketSize) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the preferred packet size for a sequence. This was added in QuickTime 2.5 to support video conferencing applications. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImageCompMgr.15.htm#refIma333">QuickTime::SetCSequencePreferredPacketSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>preferredPacketSize</CODE> - the preferred packet size in bytes</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/CSequence.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/image/Compressor.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/image/Curve.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="CSequence.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 + -