📄 videoformat.html
字号:
<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/VideoFormat.html#VideoFormat(java.lang.String)">VideoFormat</A></B>(java.lang.String encoding)</CODE><BR> 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 encoding, java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate)</CODE><BR> Constructs a <CODE>VideoFormat</CODE> with the specified attributes.</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="../../../javax/media/format/VideoFormat.html#clone()">clone</A></B>()</CODE><BR> 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 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> f)</CODE><BR> 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object format)</CODE><BR> 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> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#getFrameRate()">getFrameRate</A></B>()</CODE><BR> 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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#getMaxDataLength()">getMaxDataLength</A></B>()</CODE><BR> 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> java.awt.Dimension</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#getSize()">getSize</A></B>()</CODE><BR> 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> <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> format)</CODE><BR> 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> 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> format)</CODE><BR> 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> <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> 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> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/VideoFormat.html#toString()">toString</A></B>()</CODE><BR> Gets a <CODE>String</CODE> representation of the attributes of this <CODE>VideoFormat</CODE>.</TD></TR></TABLE> <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> <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> <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 + -