📄 rawencodedimage.html
字号:
<PRE>public static <A HREF="../../quicktime/util/RawEncodedImage.html">RawEncodedImage</A> <B>fromPixMap</B>(<A HREF="../../quicktime/qd/PixMap.html">PixMap</A> pm)</PRE><DL><DD>Returns the actual Pixel data itself. This can then be passed around in ICM calls that deal with pixel data. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/MACWIN/imOffGraphWorlds.f.htm#pgfId=738">QuickTime::GetPixBaseAddr()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pm</CODE> - the PixMap<DT><B>Returns:</B><DD>the pixels<DT><B>See Also: </B><DD><A HREF="../../quicktime/qd/PixMap.html#getPixelData()"><CODE>PixMap.getPixelData()</CODE></A></DL></DD></DL><HR><A NAME="fromSprite(quicktime.std.anim.Sprite)"><!-- --></A><H3>fromSprite</H3><PRE>public static <A HREF="../../quicktime/util/RawEncodedImage.html">RawEncodedImage</A> <B>fromSprite</B>(<A HREF="../../quicktime/std/anim/Sprite.html">Sprite</A> s) throws <A HREF="../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method gets the image data property of this sprite. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSpriteToolboxAPI.a.htm#26871">QuickTime::GetSpriteProperty ()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the image data.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/anim/Sprite.html#getImageData()"><CODE>Sprite.getImageData()</CODE></A></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><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTPointer.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTPointer.html">QTPointer</A></CODE></DL></DD></DL><HR><A NAME="getByte(int)"><!-- --></A><H3>getByte</H3><PRE>public byte <B>getByte</B>(int offset)</PRE><DL><DD>Returns the byte at the specified offset<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../quicktime/util/EncodedImage.html#getByte(int)">getByte</A></CODE> in interface <CODE><A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset is specified in bytes into the encoded image object.<DT><B>Returns:</B><DD>a byte</DL></DD></DL><HR><A NAME="setByte(int, byte)"><!-- --></A><H3>setByte</H3><PRE>public void <B>setByte</B>(int offset, byte value)</PRE><DL><DD>Sets the byte at the specified offset<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset is specified in bytes into the encoded image object.<DD><CODE>value</CODE> - the new value.</DL></DD></DL><HR><A NAME="getShort(int)"><!-- --></A><H3>getShort</H3><PRE>public short <B>getShort</B>(int offset)</PRE><DL><DD>Returns the short at the specified offset<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../quicktime/util/EncodedImage.html#getShort(int)">getShort</A></CODE> in interface <CODE><A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset is specified in bytes into the encoded image object.<DT><B>Returns:</B><DD>a short</DL></DD></DL><HR><A NAME="setShort(int, short)"><!-- --></A><H3>setShort</H3><PRE>public void <B>setShort</B>(int offset, short value)</PRE><DL><DD>Sets the short at the specified offset<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset is specified in bytes into the encoded image object.<DD><CODE>value</CODE> - the new value.</DL></DD></DL><HR><A NAME="getInt(int)"><!-- --></A><H3>getInt</H3><PRE>public int <B>getInt</B>(int offset)</PRE><DL><DD>Returns the int at the specified offset<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../quicktime/util/EncodedImage.html#getInt(int)">getInt</A></CODE> in interface <CODE><A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset is specified in bytes into the encoded image object.<DT><B>Returns:</B><DD>an int</DL></DD></DL><HR><A NAME="setInt(int, int)"><!-- --></A><H3>setInt</H3><PRE>public void <B>setInt</B>(int offset, int value)</PRE><DL><DD>Sets the int at the specified offset<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset is specified in bytes into the encoded image object.<DD><CODE>value</CODE> - the new value.</DL></DD></DL><HR><A NAME="setInts(int, int[])"><!-- --></A><H3>setInts</H3><PRE>public void <B>setInts</B>(int offset, int[] value)</PRE><DL><DD>Sets an array of ints at the specified offset<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - The offset is specified in bytes into the encoded image object.<DD><CODE>value</CODE> - an array of ints</DL></DD></DL><HR><A NAME="getRowBytes()"><!-- --></A><H3>getRowBytes</H3><PRE>public int <B>getRowBytes</B>()</PRE><DL><DD>Returns either kRowBytesUnknown or the number of bytes per row that the encoded image data is comprised of. This number will at least be as big as width*pixelSize, and maybe larger.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../quicktime/util/EncodedImage.html#getRowBytes()">getRowBytes</A></CODE> in interface <CODE><A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an int</DL></DD></DL><HR><A NAME="setRowBytes(int)"><!-- --></A><H3>setRowBytes</H3><PRE>public void <B>setRowBytes</B>(int rowBytes)</PRE><DL><DD>Sets the row bytes of the encoded image data<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rowBytes</CODE> - the rowBytes of the encoded image 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> </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/RawEncodedImage.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/util/QTVector.html"><B>PREV CLASS</B></A> <A HREF="../../quicktime/util/StringHandle.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="RawEncodedImage.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 + -