unit Video interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, stdctrls, ExtCtrls, avicap, mmsystem, dsgnintf // Types for event-procedures type TCapStatusProc = procedure(Sender: TObject) of object TCapStatusCallback = procedure(Sender: TObject nID: integer status: string) of object TVideoStream = procedure(sender: TObject lpVhdr: PVIDEOHDR) of object TAudioStream = procedure(sender: TObject lpWHdr: PWAVEHDR) of object // Property Editor for driver selection type TDrivereditor = class(TPropertyEditor) function GetAttributes: TPropertyAttributes override procedure GetValues(Proc: TGetStrProc) override function GetValue: string override procedure SetValue(const Value: string) override end
标签: interface Messages Graphics Controls
上传时间: 2013-12-21
上传用户:heart520beat
This my phd thesis for the WDM optical network optimization, which employs convex optimization techniques to solve the proposed integer problems. The computation complexity of my optimization framework is very low compared with other existing method and a performance bound is provided at the same time.
标签: optimization employs optical network
上传时间: 2015-12-27
上传用户:dongbaobao
We address the problem of blind carrier frequency-offset (CFO) estimation in quadrature amplitude modulation, phase-shift keying, and pulse amplitude modulation communications systems.We study the performance of a standard CFO estimate, which consists of first raising the received signal to the Mth power, where M is an integer depending on the type and size of the symbol constellation, and then applying the nonlinear least squares (NLLS) estimation approach. At low signal-to noise ratio (SNR), the NLLS method fails to provide an accurate CFO estimate because of the presence of outliers. In this letter, we derive an approximate closed-form expression for the outlier probability. This enables us to predict the mean-square error (MSE) on CFO estimation for all SNR values. For a given SNR, the new results also give insight into the minimum number of samples required in the CFO estimation procedure, in order to ensure that the MSE on estimation is not significantly affected by the outliers.
标签: frequency-offset estimation quadrature amplitude
上传时间: 2014-01-22
上传用户:牛布牛
这两个函数 function app_path1:string function socket_rec_line1(socket1:TCustomWinSocket timeout1:integer crlf1:string=#13#10):string 实际上是我的一个公用单元中的函数,大家应该养成建立自己的公用单元的习惯。 socket_rec_line1函数中用了唐晓峰大侠的coolmail中的办法:只是简单的一个一个字节收取,找到结束 标志后就算收完一行了,大家实际应用时可能应该找更好的办法。 这个程序的目的是:flashget在下载象51.net系列[如我的clq.51.net]中的程序时,会因为这些网站上的 自定义错误页面而导致下载的文件出错,具体见“大富翁”上的 “http://www.delphibbs.com/delphibbs/dispq.asp?lid=1170159” 虽然这是一个演示程序,不能下载地址转向的东东。但对于固定地址文件的下载已经很不错了,我的公司 不能装多线程的东东我一直用这个下载我要的大文件,“大富翁”200多M的离线数据这是用它下载的。
标签: function TCustomWinSocket socket_rec_line app_path
上传时间: 2016-01-10
上传用户:hakim
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
图形显示技巧,这是其中一段代码 procedure TForm1.Button1Click(Sender: TObject) var newbmp:TBitmap i,bmpheight,bmpwidth:integer //推拉 begin newbmp:=TBitmap.Create newbmp.Width:=image1.Width newbmp.Height:=image1.Height bmpheight:=image1.Height bmpwidth:=image1.Width for i:=0 to bmpheight do begin newbmp.Canvas.CopyRect(Rect(0,bmpheight-i,bmpwidth,bmpheight),image1.Canvas,Rect(0,0,bmpwidth,i)) form1.Canvas.Draw(120,100,newbmp) end newbmp.free end
标签: procedure TBitmap TObject Button
上传时间: 2016-01-18
上传用户:comua
实用的单片机开发与应用程序,包括:中值滤波子程序,AD转换类程序,16、32位整型数开方,单片机音乐程序--祝你平安。对初学者很有帮助的。MCU development and practical applications, including: median filter subroutine, AD converter type of proceeding, 16,32-bit integer number prescribing, SCM music program - I wish you peace. Helpful for beginners.
上传时间: 2016-01-27
上传用户:sunjet
其中:ClientInfor.inf 文件: 第一行的数据表示: 客户端游戏版本号 第一行的数据表示: 更新文件存放的网络路径 UpdateInfor.inf文件: 第一行的数据表示: 最新游戏版本号 第二行的数据表示: 有多少文件需要更新 后面每行的数据表示: 需要更新的文件的名称 frmUpdate.frm窗体: 负责下载 modZip.BAS模块: 只负责用来压缩文件和解压缩文件的 其中的 UnZipTo 函数用来解压缩的 zlib.dll: 为WinZip的dll文件 更新完毕后,ClientInfor.inf文件的第一行的数据会变为最新版本号 frmUpdate.frm窗体代码如下: Private Sub cmdExit_Click() Unload Me End Sub Private Sub cmdUpdate_Click() Dim strClientInfor() As String Dim strUpdateInfor() As String Dim nNum As integer 存
标签: ClientInfor UpdateInfor inf 数据表示
上传时间: 2013-12-24
上传用户:hanli8870
华东师范大学(面向对象程序设计基于C++)课程全部作业(12次)代码,包含一个大整数类。(包含作业内容) 1 How to use VC++ & IBM Visual Age (XL) C++ 2 Pointers, Arrays and Structures 3 Operators & Statements 4 Functions 5 Use of classes in STL 6 Define concrete classes 7 Data abstraction 8 Operator Overloading 9 Define integer type with arbitrary precision 10 Virtual functions 11 Templates 12 Exception handling
上传时间: 2016-02-24
上传用户:baiom
MPEG MDCT的一些文章 A design on the vector-processor of MDCT-IMDCT algorithm for digital audio;A fast algorithm of integer MDCT for lossless audio coding
标签: vector-processor MDCT-IMDCT algorithm digital
上传时间: 2016-02-24
上传用户:busterman