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

📄 yuvformat.html

📁 JMF原版英文说明文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#clone()">clone</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a clone of this <CODE>YUVFormat</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#copy(javax.media.Format)">copy</A></B>(<A HREF="../../../javax/media/Format.html">Format</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies  the attributes from the specified <CODE>Format</CODE> into  this <CODE>YUVFormat</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares the specified <CODE>Format</CODE> with this <code>YUVFormat</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#getOffsetU()">getOffsetU</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the U offset--the position in the data where the U values begin.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#getOffsetV()">getOffsetV</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the V offset--the position in the data where the V values begin.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#getOffsetY()">getOffsetY</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Y offset--the position in the data where the Y values begin.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#getStrideUV()">getStrideUV</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the UV stride--the 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>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#getStrideY()">getStrideY</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Y stride--the 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>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#getYuvType()">getYuvType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the YUV data format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/media/Format.html">Format</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#intersects(javax.media.Format)">intersects</A></B>(<A HREF="../../../javax/media/Format.html">Format</A>&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds the attributes shared by two matching <CODE>Format</CODE> objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#matches(javax.media.Format)">matches</A></B>(<A HREF="../../../javax/media/Format.html">Format</A>&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether or not the specified <CODE>Format</CODE> <EM>matches</EM>  this <CODE>YUVFormat</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/media/Format.html">Format</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#relax()">relax</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generate a format that's less restrictive than this format but contains the basic attributes that will make this resulting format  useful for format matching.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/YUVFormat.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a <CODE>String</CODE> representation of the attributes of this  <CODE>YUVFormat</CODE>.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.media.format.VideoFormat"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods 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#getFrameRate()">getFrameRate</A>, <A HREF="../../../javax/media/format/VideoFormat.html#getMaxDataLength()">getMaxDataLength</A>, <A HREF="../../../javax/media/format/VideoFormat.html#getSize()">getSize</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.media.Format"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods 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#getDataType()">getDataType</A>, <A HREF="../../../javax/media/Format.html#getEncoding()">getEncoding</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="YUV_411"><!-- --></A><H3>YUV_411</H3><PRE>public static final int <B>YUV_411</B></PRE><DL><DD>YUV Planar 4:1:1 type.</DL><HR><A NAME="YUV_420"><!-- --></A><H3>YUV_420</H3><PRE>public static final int <B>YUV_420</B></PRE><DL><DD>YUV Planar 4:2:0 type.</DL><HR><A NAME="YUV_422"><!-- --></A><H3>YUV_422</H3><PRE>public static final int <B>YUV_422</B></PRE><DL><DD>YUV Planar 4:2:2 type.</DL><HR><A NAME="YUV_111"><!-- --></A><H3>YUV_111</H3><PRE>public static final int <B>YUV_111</B></PRE><DL><DD>YUV Planar 1:1:1 type.</DL><HR><A NAME="YUV_YVU9"><!-- --></A><H3>YUV_YVU9</H3><PRE>public static final int <B>YUV_YVU9</B></PRE><DL><DD>YUV Planar YVU9 type. Contains a Y value for  every pixel and U and V values for every 4x4 block of pixels.</DL><HR><A NAME="YUV_YUYV"><!-- --></A><H3>YUV_YUYV</H3><PRE>public static final int <B>YUV_YUYV</B></PRE><DL><DD>YUV 4:2:2 interleaved format. The components are ordered as specified by the offsetY, offsetU and offsetV attributes. For example, if the ordering is Y, V, Y and U,  the offsets would be offsetY=0;offsetU=3;offsetV=1. The position of the second Y is implied. Y pixel stride is assumed to be 2 and the U and V pixel strides are assumed to be 4.</DL><HR><A NAME="YUV_SIGNED"><!-- --></A><H3>YUV_SIGNED</H3><PRE>public static final int <B>YUV_SIGNED</B></PRE><DL><DD>When added to the yuvType, specifies that the chrominance values are signed.</DL><HR><A NAME="yuvType"><!-- --></A><H3>yuvType</H3><PRE>protected int <B>yuvType</B></PRE><DL><DD>The YUV format type</DL><HR><A NAME="strideY"><!-- --></A><H3>strideY</H3><PRE>protected int <B>strideY</B></PRE><DL><DD>Length of a row of Y values. Would be >= width of the frame.</DL><HR><A NAME="strideUV"><!-- --></A><H3>strideUV</H3><PRE>protected int <B>strideUV</B></PRE><DL><DD>Length of a row of U or V values.</DL><HR><A NAME="offsetY"><!-- --></A><H3>offsetY</H3><PRE>protected int <B>offsetY</B></PRE><DL><DD>When the YUV data is in planar format, specifies the offset into  the data for the Y plane. This value is ignored in the interleaved  formats.</DL><HR><A NAME="offsetU"><!-- --></A><H3>offsetU</H3><PRE>protected int <B>offsetU</B></PRE><DL><DD>When the YUV data is in planar format, specifies the offset into the data for the U plane. This value is ignored in the interleaved formats.</DL><HR><A NAME="offsetV"><!-- --></A><H3>offsetV</H3><PRE>protected int <B>offsetV</B></PRE><DL><DD>When the YUV data is in planar format, specifies the offset into the data for the V plane. This value is ignored in the interleaved formats.</DL><!-- ========= 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="YUVFormat()"><!-- --></A><H3>YUVFormat</H3><PRE>

⌨️ 快捷键说明

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