文件名称:gspm
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Dephi] [Pascal] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 577kb
- 下载次数:
- 0次
- 提 供 者:
- 高速屏幕传*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
自己本机测试最快时60帧/秒,局域网传输只测试一次,结果很让我失望,原因不明~~~~
说下我的思路过程(我认为过程很重要!)
分块比较+压缩传输与以前那个内存流比较的优缺点:
内存流比较能找到最精确的找到图片差异,但每次都要压缩相同大小的数据,大家可以测试下,那个算法传输瓶颈是压缩算法,最费时间和CPU
分块比较+压缩传输能有效的减少压缩数据量,但缺点也很明显,比较图片的效率肯定没内存流比较高,要加快传输只能找到更好的算法
我选择的是后者,开始的时候是直接把截下来的图片分成n块,然后逐块和上一个图片比较,不同就放到流中压缩传送,不过写完测试时很是郁闷,Cpu占用不说,在自己电脑上根本就突破不了16帧,当时就苦想能节约时间的方法(当时做梦都在想^.^),终于在一次被吵醒后来了灵感,每次都要把图片分成n块,这也很占时间啊,有没有更好的办法呢?觉也睡不着了...
具体实现就看代码吧^_^-Their own tests of this machine, when the fastest 60 fr a mes/sec, LAN transmission test only once, the result will let me down, for reasons unknown ~ ~ ~ ~ wrote down my thought process (I think the process is very important!) Compared+ block compression and transmission compared with the previous flow advantages and disadvantages of that memory: Memory stream more able to find the most accurate picture to find differences, but the same size every time compressed data, we can test, that algorithm is a compression algorithm transmission bottlenecks, the most time-consuming and Comparison of CPU Block+ compression and transmission can effectively reduce the amount of data compression, but the disadvantage is also apparent, comparing the efficiency of the picture, certainly not the memory stream is relatively high, to speed up the transfer can only find a better algorithm
说下我的思路过程(我认为过程很重要!)
分块比较+压缩传输与以前那个内存流比较的优缺点:
内存流比较能找到最精确的找到图片差异,但每次都要压缩相同大小的数据,大家可以测试下,那个算法传输瓶颈是压缩算法,最费时间和CPU
分块比较+压缩传输能有效的减少压缩数据量,但缺点也很明显,比较图片的效率肯定没内存流比较高,要加快传输只能找到更好的算法
我选择的是后者,开始的时候是直接把截下来的图片分成n块,然后逐块和上一个图片比较,不同就放到流中压缩传送,不过写完测试时很是郁闷,Cpu占用不说,在自己电脑上根本就突破不了16帧,当时就苦想能节约时间的方法(当时做梦都在想^.^),终于在一次被吵醒后来了灵感,每次都要把图片分成n块,这也很占时间啊,有没有更好的办法呢?觉也睡不着了...
具体实现就看代码吧^_^-Their own tests of this machine, when the fastest 60 fr a mes/sec, LAN transmission test only once, the result will let me down, for reasons unknown ~ ~ ~ ~ wrote down my thought process (I think the process is very important!) Compared+ block compression and transmission compared with the previous flow advantages and disadvantages of that memory: Memory stream more able to find the most accurate picture to find differences, but the same size every time compressed data, we can test, that algorithm is a compression algorithm transmission bottlenecks, the most time-consuming and Comparison of CPU Block+ compression and transmission can effectively reduce the amount of data compression, but the disadvantage is also apparent, comparing the efficiency of the picture, certainly not the memory stream is relatively high, to speed up the transfer can only find a better algorithm
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gspm\高速屏幕传输\Bin\Src_Cli.exe
....\............\...\Src_Srever.exe
....\............\Bin
....\............\Client\clear.bat
....\............\......\Src_Cli.bdsproj
....\............\......\Src_Cli.dpr
....\............\......\Unit_Main.dfm
....\............\......\Unit_Main.pas
....\............\Client
....\............\ReadMe.txt
....\............\Server\clear.bat
....\............\......\Src_Srever.bdsproj
....\............\......\Src_Srever.dpr
....\............\......\Unit_Main.dfm
....\............\......\Unit_Main.pas
....\............\......\Unit_ScreenSpy.pas
....\............\Server
....\............\SRC.bdsgroup
....\............\.rc31212\Client\clear.bat
....\............\........\......\FastDIB.pas
....\............\........\......\Src_Cli.bdsproj
....\............\........\......\Src_Cli.dpr
....\............\........\......\Unit_Main.dfm
....\............\........\......\Unit_Main.pas
....\............\........\Client
....\............\........\Server\clear.bat
....\............\........\......\FastDIB.pas
....\............\........\......\FConvert.pas
....\............\........\......\Src_Srever.bdsproj
....\............\........\......\Src_Srever.dpr
....\............\........\......\Unit_Main.dfm
....\............\........\......\Unit_Main.pas
....\............\........\......\Unit_ScreenSpy.pas
....\............\........\Server
....\............\Src31212
....\............\zlib\adler32.obj
....\............\....\compress.obj
....\............\....\crc32.obj
....\............\....\deflate.obj
....\............\....\gzio.obj
....\............\....\infback.obj
....\............\....\inffast.obj
....\............\....\inflate.obj
....\............\....\inftrees.obj
....\............\....\trees.obj
....\............\....\uncompr.obj
....\............\....\zutil.obj
....\............\zlib
....\............\ZLIBEX.PAS
....\高速屏幕传输
....\介绍.txt
gspm
....\............\...\Src_Srever.exe
....\............\Bin
....\............\Client\clear.bat
....\............\......\Src_Cli.bdsproj
....\............\......\Src_Cli.dpr
....\............\......\Unit_Main.dfm
....\............\......\Unit_Main.pas
....\............\Client
....\............\ReadMe.txt
....\............\Server\clear.bat
....\............\......\Src_Srever.bdsproj
....\............\......\Src_Srever.dpr
....\............\......\Unit_Main.dfm
....\............\......\Unit_Main.pas
....\............\......\Unit_ScreenSpy.pas
....\............\Server
....\............\SRC.bdsgroup
....\............\.rc31212\Client\clear.bat
....\............\........\......\FastDIB.pas
....\............\........\......\Src_Cli.bdsproj
....\............\........\......\Src_Cli.dpr
....\............\........\......\Unit_Main.dfm
....\............\........\......\Unit_Main.pas
....\............\........\Client
....\............\........\Server\clear.bat
....\............\........\......\FastDIB.pas
....\............\........\......\FConvert.pas
....\............\........\......\Src_Srever.bdsproj
....\............\........\......\Src_Srever.dpr
....\............\........\......\Unit_Main.dfm
....\............\........\......\Unit_Main.pas
....\............\........\......\Unit_ScreenSpy.pas
....\............\........\Server
....\............\Src31212
....\............\zlib\adler32.obj
....\............\....\compress.obj
....\............\....\crc32.obj
....\............\....\deflate.obj
....\............\....\gzio.obj
....\............\....\infback.obj
....\............\....\inffast.obj
....\............\....\inflate.obj
....\............\....\inftrees.obj
....\............\....\trees.obj
....\............\....\uncompr.obj
....\............\....\zutil.obj
....\............\zlib
....\............\ZLIBEX.PAS
....\高速屏幕传输
....\介绍.txt
gspm