⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datacodeccompressor.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="DataCodecCompressor(int)"><!-- --></A><H3>DataCodecCompressor</H3><PRE>public <B>DataCodecCompressor</B>(int&nbsp;subType)                    throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Opens the specified data codec compressor component, 'dcom', with the given subType.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#28411">QuickTime::OpenADefaultComponent</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>subType</CODE> - the compressor type that will be used to compress the data</DL></DD></DL><HR><A NAME="DataCodecCompressor(quicktime.std.comp.ComponentIdentifier)"><!-- --></A><H3>DataCodecCompressor</H3><PRE>public <B>DataCodecCompressor</B>(<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A>&nbsp;comp)                    throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Given a component identifier it opens the specified component. The component type must be 'dcom' or an exception will be thrown as it is not a DataCodecCompressor.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#10078">QuickTime::OpenAComponent</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>comp</CODE> - the component identifier to open</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="compress(quicktime.util.QTPointerRef, quicktime.util.QTPointerRef)"><!-- --></A><H3>compress</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/DataCodecInfo.html">DataCodecInfo</A> <B>compress</B>(<A HREF="../../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;srcData,                              <A HREF="../../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;dstData)                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Compress the specified data. Before calling the DataCodecCompress function, you should call the DataCodecGetCompressBufferSize function to obtain the maximum possible size of the compressed data that will be returned. You can then use this value as the value of the dstBufferSize parameter. Note that a buffer for compressed data that is the same size as the uncompressed data may not be large enough: in some cases, the size of the compressed data can be larger than the size of the decompressed data.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refDataCodec.6.htm#refDat7">QuickTime::DataCodecCompress</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>srcData</CODE> - Contains a pointer to the data to be compressed.<DD><CODE>dstData</CODE> - Contains a pointer to the buffer in which to store the compressed data.<DT><B>Returns:</B><DD>a DataCodecInfo that contains information about the compression.</DL></DD></DL><HR><A NAME="getCompressBufferSize(int)"><!-- --></A><H3>getCompressBufferSize</H3><PRE>public int <B>getCompressBufferSize</B>(int&nbsp;srcSize)                          throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the estimated maximum size of compressing the specified size bytes using this compressor. <BR><BR><b>QuickTime::DataCodecGetCompressBufferSize</b><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>srcSize</CODE> - the size of the buffer that will be compressed.<DT><B>Returns:</B><DD>the size of the buffer you should allocate to contain the specified srcSize data</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DataCodecCompressor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../quicktime/std/qtcomponents/CompressionDialog.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../quicktime/std/qtcomponents/DataCodecDecompressor.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>  &nbsp;&nbsp;<A HREF="DataCodecCompressor.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -