📄 byteencodedimage.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:51:02 PDT 2002 --><TITLE>: Class ByteEncodedImage</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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/ByteEncodedImage.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"> PREV CLASS <A HREF="../../quicktime/util/EndianDescriptor.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="ByteEncodedImage.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><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.util</FONT><BR>Class ByteEncodedImage</H2><PRE>java.lang.Object | +--<A HREF="../../quicktime/util/QTByteObject.html">quicktime.util.QTByteObject</A> | +--<B>quicktime.util.ByteEncodedImage</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, <A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A>, <A HREF="../../quicktime/jdirect/PrimitivesLib.html">PrimitivesLib</A>, java.io.Serializable, <A HREF="../../quicktime/jdirect/SharedLibrary.html">SharedLibrary</A>, com.apple.jdirect.SharedLibrary</DD></DL><HR><DL><DT>public class <B>ByteEncodedImage</B><DT>extends <A HREF="../../quicktime/util/QTByteObject.html">QTByteObject</A><DT>implements <A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A>, java.lang.Cloneable</DL><P>ByteEncodedImages keep the encoded image data as an array of bytes.<P><DL><DT><B>See Also: </B><DD><A HREF="../../serialized-form.html#quicktime.util.ByteEncodedImage">Serialized Form</A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.util.EncodedImage"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.util.<A HREF="../../quicktime/util/EncodedImage.html">EncodedImage</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/util/EncodedImage.html#kRowBytesUnknown">kRowBytesUnknown</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_quicktime.jdirect.PrimitivesLib"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.jdirect.<A HREF="../../quicktime/jdirect/PrimitivesLib.html">PrimitivesLib</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/jdirect/PrimitivesLib.html#JDirect_MacOSX">JDirect_MacOSX</A>, <A HREF="../../quicktime/jdirect/PrimitivesLib.html#libraryInstance">libraryInstance</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#ByteEncodedImage(int)">ByteEncodedImage</A></B>(int size)</CODE><BR> Creates a new ByteEncodedImage of specified size.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#ByteEncodedImage(int, int)">ByteEncodedImage</A></B>(int size, int rowBytes)</CODE><BR> Creates a new ByteEncodedImage of specified size with the specified rowBytes</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#ByteEncodedImage(quicktime.util.RawEncodedImage)">ByteEncodedImage</A></B>(<A HREF="../../quicktime/util/RawEncodedImage.html">RawEncodedImage</A> ptr)</CODE><BR> Creates a ByteEncodedImage from raw data.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#clone()">clone</A></B>()</CODE><BR> Returns a copy of the current object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/util/ByteEncodedImage.html">ByteEncodedImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#fromByteArray(byte[])">fromByteArray</A></B>(byte[] ar)</CODE><BR> This will make a ByteEncodedImage from an array of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/util/ByteEncodedImage.html">ByteEncodedImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#fromByteArray(byte[], int)">fromByteArray</A></B>(byte[] ar, int rowBytes)</CODE><BR> This will make a ByteEncodedImage from an array of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#getByte(int)">getByte</A></B>(int offset)</CODE><BR> Returns the byte at the specified offset The offset is specified in bytes into the encoded image object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#getInt(int)">getInt</A></B>(int offset)</CODE><BR> Returns the int at the specified offset The offset is specified in bytes into the encoded image object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#getRowBytes()">getRowBytes</A></B>()</CODE><BR> Returns either kRowBytesUnknown or the number of bytes per row that the encoded image data is comprised of.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/ByteEncodedImage.html#getShort(int)">getShort</A></B>(int offset)</CODE><BR> Returns the short at the specified offset The offset is specified in bytes into the encoded image object.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.util.QTByteObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -