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

📄 videoformat.html

📁 JMF原版英文说明文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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/VideoFormat.html#VideoFormat(java.lang.String)">VideoFormat</A></B>(java.lang.String&nbsp;encoding)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <CODE>VideoFormat</CODE> with the specified encoding type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#VideoFormat(java.lang.String, java.awt.Dimension, int, java.lang.Class, float)">VideoFormat</A></B>(java.lang.String&nbsp;encoding,            java.awt.Dimension&nbsp;size,            int&nbsp;maxDataLength,            java.lang.Class&nbsp;dataType,            float&nbsp;frameRate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <CODE>VideoFormat</CODE> with  the specified attributes.</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><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#clone()">clone</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a clone of this <code>VideoFormat</code> by copying each field to  the clone.</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/VideoFormat.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>VideoFormat</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/VideoFormat.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>VideoFormat</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#getFrameRate()">getFrameRate</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the frame rate associated with this <code>VideoFormat</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/VideoFormat.html#getMaxDataLength()">getMaxDataLength</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the length of the largest data chunk associated with this <code>VideoFormat</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.awt.Dimension</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#getSize()">getSize</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the dimensions of a video frame in this <code>VideoFormat</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/VideoFormat.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/VideoFormat.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>VideoFormat</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/VideoFormat.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/VideoFormat.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>VideoFormat</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="size"><!-- --></A><H3>size</H3><PRE>protected java.awt.Dimension <B>size</B></PRE><DL></DL><HR><A NAME="maxDataLength"><!-- --></A><H3>maxDataLength</H3><PRE>protected int <B>maxDataLength</B></PRE><DL></DL><HR><A NAME="frameRate"><!-- --></A><H3>frameRate</H3><PRE>protected float <B>frameRate</B></PRE><DL></DL><HR><A NAME="CINEPAK"><!-- --></A><H3>CINEPAK</H3><PRE>public static final java.lang.String <B>CINEPAK</B></PRE><DL><DD>Cinepak format.</DL><HR><A NAME="JPEG"><!-- --></A><H3>JPEG</H3><PRE>public static final java.lang.String <B>JPEG</B></PRE><DL><DD>JPEG format.</DL><HR><A NAME="JPEG_RTP"><!-- --></A><H3>JPEG_RTP</H3><PRE>public static final java.lang.String <B>JPEG_RTP</B></PRE><DL><DD>JPEG RTP format</DL><HR><A NAME="MPEG"><!-- --></A><H3>MPEG</H3><PRE>public static final java.lang.String <B>MPEG</B></PRE><DL><DD>MPEG format.</DL><HR><A NAME="MPEG_RTP"><!-- --></A><H3>MPEG_RTP</H3><PRE>public static final java.lang.String <B>MPEG_RTP</B></PRE><DL><DD>MPEG RTP format.</DL><HR><A NAME="H261"><!-- --></A><H3>H261</H3><PRE>public static final java.lang.String <B>H261</B></PRE><DL><DD>H.261 format.</DL><HR><A NAME="H261_RTP"><!-- --></A><H3>H261_RTP</H3><PRE>public static final java.lang.String <B>H261_RTP</B></PRE><DL><DD>H261 RTP format</DL><HR><A NAME="H263"><!-- --></A><H3>H263</H3><PRE>public static final java.lang.String <B>H263</B></PRE><DL><DD>H.263 format.</DL><HR><A NAME="H263_RTP"><!-- --></A><H3>H263_RTP</H3><PRE>public static final java.lang.String <B>H263_RTP</B></PRE><DL><DD>H.263 RTP format</DL><HR><A NAME="RGB"><!-- --></A><H3>RGB</H3><PRE>public static final java.lang.String <B>RGB</B></PRE><DL><DD>Raw RGB format.</DL><HR><A NAME="YUV"><!-- --></A><H3>YUV</H3><PRE>public static final java.lang.String <B>YUV</B></PRE><DL><DD>Raw YUV or YCrCb format.</DL><HR><A NAME="IRGB"><!-- --></A><H3>IRGB</H3><PRE>public static final java.lang.String <B>IRGB</B></PRE><DL><DD>8-bit Indexed RGB format.</DL><HR><A NAME="SMC"><!-- --></A><H3>SMC</H3><PRE>public static final java.lang.String <B>SMC</B></PRE><DL><DD>Sorensen format.</DL><HR><A NAME="RLE"><!-- --></A><H3>RLE</H3><PRE>public static final java.lang.String <B>RLE</B></PRE><DL><DD>Run Length Encoded video format.</DL><HR><A NAME="RPZA"><!-- --></A><H3>RPZA</H3><PRE>public static final java.lang.String <B>RPZA</B></PRE>

⌨️ 快捷键说明

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