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

📄 rgbformat.html

📁 JMF原版英文说明文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!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 Sat May 20 18:57:53 PDT 2000 --><TITLE>: Class  RGBFormat</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 ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT ID="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="../../../javax/media/format/JPEGFormat.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/format/VideoFormat.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="RGBFormat.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">javax.media.format</FONT><BR>Class  RGBFormat</H2><PRE>java.lang.Object  |  +--<A HREF="../../../javax/media/Format.html">javax.media.Format</A>        |        +--<A HREF="../../../javax/media/format/VideoFormat.html">javax.media.format.VideoFormat</A>              |              +--<B>javax.media.format.RGBFormat</B></PRE><HR><DL><DT>public class <B>RGBFormat</B><DT>extends <A HREF="../../../javax/media/format/VideoFormat.html">VideoFormat</A></DL><P>Describes uncompressed RGB data. The data is in interleaved form. RGB components can be packed into a short or an int. If the pixel components are packed, then the <CODE>redMask</CODE>, <CODE>greenMask</CODE> and <CODE>blueMask</CODE> fields  specify the bit masks, otherwise they specify the order of arrangement of the components. For example: <UL> <LI>32-bit packed RGB stored as 32-bit integers would have the following masks: redMask = 0x00FF0000, greenMask = 0x0000FF00, blueMask = 0x000000FF. </LI> <LI>24-bit RGB stored as bytes would have the following masks:  redMask = 1, greenMask = 2, blueMask = 3 and pixelStride = 3.</LI> </UL><P><DL><DT><B>Since: </B><DD>JMF 2.0</DD><DT><B>See Also: </B><DD><A HREF="../../../serialized-form.html#javax.media.format.RGBFormat">Serialized Form</A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#BIG_ENDIAN">BIG_ENDIAN</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#bitsPerPixel">bitsPerPixel</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bits required to represent a pixel, including all three color components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#blueMask">blueMask</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mask value for the Blue component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#endian">endian</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Endian ordering of the data where applicable</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#flipped">flipped</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether or not the lines in the video frame are flipped vertically  (upside down).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#greenMask">greenMask</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mask value for the Green component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#lineStride">lineStride</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Increment value of the array index from the first pixel on line n to the first pixel on line n+1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#LITTLE_ENDIAN">LITTLE_ENDIAN</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#pixelStride">pixelStride</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Increment value of the array index from one pixel to the next.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#redMask">redMask</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mask value for the Red component.</TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_javax.media.format.VideoFormat"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class javax.media.format.<A HREF="../../../javax/media/format/VideoFormat.html">VideoFormat</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/format/VideoFormat.html#CINEPAK">CINEPAK</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#frameRate">frameRate</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#H261">H261</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#H261_RTP">H261_RTP</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#H263">H263</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#H263_RTP">H263_RTP</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#INDEO32">INDEO32</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#INDEO41">INDEO41</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#INDEO50">INDEO50</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#IRGB">IRGB</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#JPEG">JPEG</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#JPEG_RTP">JPEG_RTP</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#maxDataLength">maxDataLength</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#MJPEGA">MJPEGA</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#MJPEGB">MJPEGB</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#MJPG">MJPG</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#MPEG">MPEG</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#MPEG_RTP">MPEG_RTP</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#RGB">RGB</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#RLE">RLE</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#RPZA">RPZA</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#size">size</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#SMC">SMC</A>,  <A HREF="../../../javax/media/format/VideoFormat.html#YUV">YUV</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_javax.media.Format"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class javax.media.<A HREF="../../../javax/media/Format.html">Format</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/Format.html#byteArray">byteArray</A>,  <A HREF="../../../javax/media/Format.html#clz">clz</A>,  <A HREF="../../../javax/media/Format.html#dataType">dataType</A>,  <A HREF="../../../javax/media/Format.html#encoding">encoding</A>,  <A HREF="../../../javax/media/Format.html#FALSE">FALSE</A>,  <A HREF="../../../javax/media/Format.html#formatArray">formatArray</A>,  <A HREF="../../../javax/media/Format.html#intArray">intArray</A>,  <A HREF="../../../javax/media/Format.html#NOT_SPECIFIED">NOT_SPECIFIED</A>,  <A HREF="../../../javax/media/Format.html#shortArray">shortArray</A>,  <A HREF="../../../javax/media/Format.html#TRUE">TRUE</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== 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="../../../javax/media/format/RGBFormat.html#RGBFormat()">RGBFormat</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a default <CODE>RGBFormat</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#RGBFormat(java.awt.Dimension, int, java.lang.Class, float, int, int, int, int)">RGBFormat</A></B>(java.awt.Dimension&nbsp;size,          int&nbsp;maxDataLength,          java.lang.Class&nbsp;dataType,          float&nbsp;frameRate,          int&nbsp;bitsPerPixel,          int&nbsp;red,          int&nbsp;green,          int&nbsp;blue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an <CODE>RGBFormat</CODE> object with the specified properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/RGBFormat.html#RGBFormat(java.awt.Dimension, int, java.lang.Class, float, int, int, int, int, int, int, int, int)">RGBFormat</A></B>(java.awt.Dimension&nbsp;size,          int&nbsp;maxDataLength,          java.lang.Class&nbsp;dataType,          float&nbsp;frameRate,          int&nbsp;bitsPerPixel,          int&nbsp;red,          int&nbsp;green,          int&nbsp;blue,          int&nbsp;pixelStride,          int&nbsp;lineStride,          int&nbsp;flipped,          int&nbsp;endian)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an <CODE>RGBFormat</CODE> object with the specified properties.</TD></TR></TABLE>&nbsp;<!-- ========== 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>&nbsp;java.lang.Object</CODE></FONT></TD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -