screenvideopacket.html
来自「java和flash接口编程」· HTML 代码 · 共 576 行 · 第 1/2 页
HTML
576 行
<A NAME="ScreenVideoPacket(int, int, int, int, com.anotherbigidea.flash.video.ScreenVideoImageBlock[])"><!-- --></A><H3>
ScreenVideoPacket</H3>
<PRE>
public <B>ScreenVideoPacket</B>(int imageWidth,
int imageHeight,
int blockWidth,
int blockHeight,
<A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoImageBlock.html" title="class in com.anotherbigidea.flash.video">ScreenVideoImageBlock</A>[] imageBlocks)</PRE>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>imageWidth</CODE> - in pixels<DD><CODE>imageHeight</CODE> - in pixels<DD><CODE>blockWidth</CODE> - 16 to 256 in steps of 16<DD><CODE>blockHeight</CODE> - 16 to 256 in steps of 16<DD><CODE>imageBlocks</CODE> - image data or delta data, top-left to bottom-right</DL>
</DL>
<HR>
<A NAME="ScreenVideoPacket(com.anotherbigidea.io.InStream)"><!-- --></A><H3>
ScreenVideoPacket</H3>
<PRE>
public <B>ScreenVideoPacket</B>(<A HREF="../../../../com/anotherbigidea/io/InStream.html" title="class in com.anotherbigidea.io">InStream</A> in)
throws java.io.IOException</PRE>
<DL>
<DD>Parse a packet from an input stream.
<P>
<DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></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="getBlockHeight()"><!-- --></A><H3>
getBlockHeight</H3>
<PRE>
public int <B>getBlockHeight</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setBlockHeight(int)"><!-- --></A><H3>
setBlockHeight</H3>
<PRE>
public void <B>setBlockHeight</B>(int blockHeight)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getBlockWidth()"><!-- --></A><H3>
getBlockWidth</H3>
<PRE>
public int <B>getBlockWidth</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setBlockWidth(int)"><!-- --></A><H3>
setBlockWidth</H3>
<PRE>
public void <B>setBlockWidth</B>(int blockWidth)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getImageHeight()"><!-- --></A><H3>
getImageHeight</H3>
<PRE>
public int <B>getImageHeight</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setImageHeight(int)"><!-- --></A><H3>
setImageHeight</H3>
<PRE>
public void <B>setImageHeight</B>(int imageHeight)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getImageWidth()"><!-- --></A><H3>
getImageWidth</H3>
<PRE>
public int <B>getImageWidth</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setImageWidth(int)"><!-- --></A><H3>
setImageWidth</H3>
<PRE>
public void <B>setImageWidth</B>(int imageWidth)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getImageBlocks()"><!-- --></A><H3>
getImageBlocks</H3>
<PRE>
public <A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoImageBlock.html" title="class in com.anotherbigidea.flash.video">ScreenVideoImageBlock</A>[] <B>getImageBlocks</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setImageBlocks(com.anotherbigidea.flash.video.ScreenVideoImageBlock[])"><!-- --></A><H3>
setImageBlocks</H3>
<PRE>
public void <B>setImageBlocks</B>(<A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoImageBlock.html" title="class in com.anotherbigidea.flash.video">ScreenVideoImageBlock</A>[] imageBlocks)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="write(com.anotherbigidea.io.OutStream)"><!-- --></A><H3>
write</H3>
<PRE>
public void <B>write</B>(<A HREF="../../../../com/anotherbigidea/io/OutStream.html" title="class in com.anotherbigidea.io">OutStream</A> out)
throws java.io.IOException</PRE>
<DL>
<DD>Write the packet in SWF format
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="toBytes()"><!-- --></A><H3>
toBytes</H3>
<PRE>
public byte[] <B>toBytes</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Get the bytes of the packet in SWF format
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeTestPattern()"><!-- --></A><H3>
makeTestPattern</H3>
<PRE>
public static <A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoPacket.html" title="class in com.anotherbigidea.flash.video">ScreenVideoPacket</A> <B>makeTestPattern</B>()</PRE>
<DL>
<DD>Make a 288*256 test pattern consisting of blue and yellow blocks
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="makeTestPatternDelta(int)"><!-- --></A><H3>
makeTestPatternDelta</H3>
<PRE>
public static <A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoPacket.html" title="class in com.anotherbigidea.flash.video">ScreenVideoPacket</A> <B>makeTestPatternDelta</B>(int index)</PRE>
<DL>
<DD>Make a 288*256 test pattern delta consisting of a green delta block at the given index
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[] 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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="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="class-use/ScreenVideoPacket.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="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="../../../../com/anotherbigidea/flash/video/ScreenVideoImageBlock.html" title="class in com.anotherbigidea.flash.video"><B>PREV CLASS</B></A>
<A HREF="../../../../com/anotherbigidea/flash/video/ScreenVideoStream.html" title="class in com.anotherbigidea.flash.video"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/anotherbigidea/flash/video/ScreenVideoPacket.html" target="_top"><B>FRAMES</B></A>
<A HREF="ScreenVideoPacket.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?