📄 yuvformat.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 Sat May 20 18:57:53 PDT 2000 --><TITLE>: Class YUVFormat</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT ID="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="../../../javax/media/format/VideoFormat.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="YUVFormat.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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">javax.media.format</FONT><BR>Class YUVFormat</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.YUVFormat</B></PRE><HR><DL><DT>public class <B>YUVFormat</B><DT>extends <A HREF="../../../javax/media/format/VideoFormat.html">VideoFormat</A></DL><P>Describes YUV image data.<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.YUVFormat">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>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#offsetU">offsetU</A></B></CODE><BR> When the YUV data is in planar format, specifies the offset into the data for the U plane.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#offsetV">offsetV</A></B></CODE><BR> When the YUV data is in planar format, specifies the offset into the data for the V plane.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#offsetY">offsetY</A></B></CODE><BR> When the YUV data is in planar format, specifies the offset into the data for the Y plane.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#strideUV">strideUV</A></B></CODE><BR> Length of a row of U or V values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#strideY">strideY</A></B></CODE><BR> Length of a row of Y values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUV_111">YUV_111</A></B></CODE><BR> YUV Planar 1:1:1 type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUV_411">YUV_411</A></B></CODE><BR> YUV Planar 4:1:1 type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUV_420">YUV_420</A></B></CODE><BR> YUV Planar 4:2:0 type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUV_422">YUV_422</A></B></CODE><BR> YUV Planar 4:2:2 type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUV_SIGNED">YUV_SIGNED</A></B></CODE><BR> When added to the yuvType, specifies that the chrominance values are signed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUV_YUYV">YUV_YUYV</A></B></CODE><BR> YUV 4:2:2 interleaved format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUV_YVU9">YUV_YVU9</A></B></CODE><BR> YUV Planar YVU9 type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#yuvType">yuvType</A></B></CODE><BR> The YUV format type</TD></TR></TABLE> <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> <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> <!-- ======== 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/YUVFormat.html#YUVFormat()">YUVFormat</A></B>()</CODE><BR> Constructs a <CODE>YUVFormat</CODE> object that represents all YUV formats.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUVFormat(java.awt.Dimension, int, java.lang.Class, float, int, int, int, int, int, int)">YUVFormat</A></B>(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate, int yuvType, int strideY, int strideUV, int offsetY, int offsetU, int offsetV)</CODE><BR> Constructs a <CODE>YUVFormat</CODE> with the specified properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#YUVFormat(int)">YUVFormat</A></B>(int yuvType)</CODE><BR> Constructs a <CODE>YUVFormat</CODE> object for a specific <CODE>yuvType</CODE>.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -