screenvideostream.html

来自「java和flash接口编程」· HTML 代码 · 共 369 行 · 第 1/2 页

HTML
369
字号
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="ScreenVideoStream(com.anotherbigidea.flash.interfaces.SWFTagTypes)"><!-- --></A><H3>
ScreenVideoStream</H3>
<PRE>
public <B>ScreenVideoStream</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A>&nbsp;timeline)</PRE>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>timeline</CODE> - the timeline to write to</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="startStream(int, int, int, int, com.anotherbigidea.flash.video.ScreenVideoImage, int, int, int)"><!-- --></A><H3>
startStream</H3>
<PRE>
public void <B>startStream</B>(int&nbsp;x,
                        int&nbsp;y,
                        int&nbsp;id,
                        int&nbsp;depth,
                        <A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoImage.html" title="class in com.anotherbigidea.flash.video">ScreenVideoImage</A>&nbsp;firstImage,
                        int&nbsp;imageCount,
                        int&nbsp;blockWidth,
                        int&nbsp;blockHeight)
                 throws java.io.IOException</PRE>
<DL>
<DD>Start the stream and place the instance.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the top left of the instance<DD><CODE>y</CODE> - the top left of the instance<DD><CODE>id</CODE> - the instance symbol id<DD><CODE>depth</CODE> - the depth for the instance<DD><CODE>firstImage</CODE> - the first image - all other images must be the same                   size<DD><CODE>imageCount</CODE> - the total number of images in the stream<DD><CODE>blockWidth</CODE> - the block width to use from here on<DD><CODE>blockHeight</CODE> - the block height to use from here on
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="interFrame(com.anotherbigidea.flash.video.ScreenVideoImage)"><!-- --></A><H3>
interFrame</H3>
<PRE>
public void <B>interFrame</B>(<A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoImage.html" title="class in com.anotherbigidea.flash.video">ScreenVideoImage</A>&nbsp;image)
                throws java.io.IOException</PRE>
<DL>
<DD>Make an inter-frame.  The supplied image will be compared against the previous one and only those blocks which have changed will be included in the frame.  This does not create an actual timeline frame - that should be done explicitly.  Only one keyframe/startStream or inter-frame may exist in any timeline frame.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="keyFrame(com.anotherbigidea.flash.video.ScreenVideoImage, int, int)"><!-- --></A><H3>
keyFrame</H3>
<PRE>
public void <B>keyFrame</B>(<A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoImage.html" title="class in com.anotherbigidea.flash.video">ScreenVideoImage</A>&nbsp;image,
                     int&nbsp;blockWidth,
                     int&nbsp;blockHeight)
              throws java.io.IOException</PRE>
<DL>
<DD>Make a key frame.  All blocks in the given image will be written.  This does not create an actual timeline frame - that should be done explicitly.  Only one keyframe/startStream or inter-frame may exist in any timeline frame.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - the image to place<DD><CODE>blockWidth</CODE> - the block width to use from here on<DD><CODE>blockHeight</CODE> - the block height to use from here on
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[]&nbsp;args)
                 throws java.io.IOException</PRE>
<DL>
<DD>By way of a test and a code example.. writes a SWF movie "ScreenVideoPacketTest.swf" to the current dir containing the test pattern and a green square added each frame.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="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="class-use/ScreenVideoStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="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="../../../../com/anotherbigidea/flash/video/ScreenVideoPacket.html" title="class in com.anotherbigidea.flash.video"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/anotherbigidea/flash/video/ScreenVideoStream.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ScreenVideoStream.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>

⌨️ 快捷键说明

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