qtpointer.html

来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 437 行 · 第 1/2 页

HTML
437
字号
<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="QTPointer(int, boolean)"><!-- --></A><H3>QTPointer</H3><PRE>public <B>QTPointer</B>(int&nbsp;size,                 boolean&nbsp;clear)          throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allocate a pointer for general use.<DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the size of the pointer to create.<DD><CODE>clear</CODE> - clear the pointer upon creation.</DL></DD></DL><HR><A NAME="QTPointer(byte[])"><!-- --></A><H3>QTPointer</H3><PRE>public <B>QTPointer</B>(byte[]&nbsp;byteArray)          throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Construct a pointer from input data.<DD><DL><DT><B>Parameters:</B><DD><CODE>byteArray</CODE> - the input data.</DL></DD></DL><HR><A NAME="QTPointer(quicktime.util.QTHandleRef, int, int)"><!-- --></A><H3>QTPointer</H3><PRE>public <B>QTPointer</B>(<A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A>&nbsp;hdl,                 int&nbsp;offset,                 int&nbsp;size)          throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This constructor is used to create a QTPointer object from a Handle. The contents of the handle will be copied into the pointer. This will copy size bytes from the handle + offset. It will bounds check the size to be not greater than the size of the handle.<DD><DL><DT><B>Parameters:</B><DD><CODE>hdl</CODE> - the handle to copy.<DD><CODE>offset</CODE> - you can specify an offset within the handle from which to copy the data<DD><CODE>size</CODE> - the amount of bytes to copy</DL></DD></DL><HR><A NAME="QTPointer(quicktime.util.QTPointerRef, quicktime.util.QTPointerRef)"><!-- --></A><H3>QTPointer</H3><PRE>public <B>QTPointer</B>(<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;firstPtr,                 <A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;secondPtr)          throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Construct a pointer from the concatenation of the two supplied pointers. The First pointer will appear first in the concatentated result.<DD><DL><DT><B>Parameters:</B><DD><CODE>firstPtr</CODE> - the first Pointer<DD><CODE>secondPtr</CODE> - the second Pointer</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="fromGraphicsExporter(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>fromGraphicsExporter</H3><PRE>public static <A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A> <B>fromGraphicsExporter</B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;ge)                                         throws <A HREF="../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>The buffer that contains the sound data. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.22.htm#33270">QuickTime::GraphicsExportGetInputPtr</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the QTPointer buffer<DT><B>See Also: </B><DD><CODE>quicktime.std.image.GraphicsExporter.getInputPtr</CODE></DL></DD></DL><HR><A NAME="fromSCData(quicktime.sound.SoundComponentData)"><!-- --></A><H3>fromSCData</H3><PRE>public static <A HREF="../../quicktime/util/QTPointer.html">QTPointer</A> <B>fromSCData</B>(<A HREF="../../quicktime/sound/SoundComponentData.html">SoundComponentData</A>&nbsp;scd)</PRE><DL><DD>The buffer that contains the sound data.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the QTPointer buffer<DT><B>See Also: </B><DD><A HREF="../../quicktime/sound/SoundComponentData.html#getBuffer()"><CODE>SoundComponentData.getBuffer()</CODE></A></DL></DD></DL><HR><A NAME="fromEncodedImage(quicktime.util.EncodedImage)"><!-- --></A><H3>fromEncodedImage</H3><PRE>public static <A HREF="../../quicktime/util/QTPointer.html">QTPointer</A> <B>fromEncodedImage</B>(<A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;image)                                  throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns EncodedImage data as a QTPointer. This will copy the data if the source is an int or byte encoded image, but will return the same object if it is a RawEncodedImage.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - the encoded image data<DT><B>Returns:</B><DD>the encoded image data as a Pointer</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Returns a copy of this object<DD><DL></DL></DD></DL><HR><A NAME="setSize(int)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(int&nbsp;newSize)             throws <A HREF="../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>This method will resize the memory that a pointer points to. This operation can fail if memory cannot increase its size	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/MACWIN/imMemoryManager.16.htm#pgfId=1300">QuickTime::SetPtrSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newSize</CODE> - the new size</DL></DD></DL><HR><A NAME="concatenate(quicktime.util.QTPointerRef)"><!-- --></A><H3>concatenate</H3><PRE>public void <B>concatenate</B>(<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;ptr)                 throws <A HREF="../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>Concatenates the supplied pointer to this pointer. This operation will failif unable to resize the pointer.<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>&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/QTPointer.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/util/QTHandleRef.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../quicktime/util/QTPointerRef.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="QTPointer.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 + =
减小字号Ctrl + -
显示快捷键?