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