width = gdk_pixbuf_animation_get_width(ani) height = gdk_pixbuf_animation_get_height(ani) current_frame_list = gdk_pixbuf_animation_get_frames(ani) pixmap = gdk_pixmap_new(w->window, width, height, -1) clean_pixmap = gdk_pixmap_new(w->window, width, height, -1) if (w->style->bg_pixmap[GTK_STATE_NORMAL]) { GdkPixmap *bg = w->style->bg_pixmap[GTK_STATE_NORMAL] GdkGC *gc GdkGCValues values values.tile = bg values.fill = GDK_TILED gc = gdk_gc_new_with_values(w->window, &values, GDK_GC_FILL|GDK_GC_TILE) gdk_gc_set_ts_origin(gc, (w->allocation.width - width)/2, (w->allocation.height-height)/2) gdk_draw_rectangle(clean_pixmap,gc, TRUE, 0, 0, width, height) gdk_gc_destroy(gc) } else { gdk_draw_rectangle(clean_pixmap, w->style->bg_gc[GTK_STATE_NORMAL], TRUE, 0, 0, width, height) }
標簽: gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_width ani height
上傳時間: 2013-12-26
上傳用戶:thinode
The code performs a number (ITERS) of iterations of the Bailey s 6-step FFT algorithm (following the ideas in the CMU Task parallel suite). 1.- Generates an input signal vector (dgen) with size n=n1xn2 stored in row major order In this code the size of the input signal is NN=NxN (n=NN, n1=n2=N) 2.- Transpose (tpose) A to have it stored in column major order 3.- Perform independent FFTs on the rows (cffts) 4.- Scale each element of the resulting array by a factor of w[n]**(p*q) 5.- Transpose (tpose) to prepair it for the next step 6.- Perform independent FFTs on the rows (cffts) 7.- Transpose the resulting matrix The code requires nested Parallelism.
標簽: iterations performs Bailey number
上傳時間: 2014-01-05
上傳用戶:libenshu01
Microsoft Visual C++ is a programming environment used to create applications for the Microsoft Windows operating systems . To use this ebook , you must have installed either Microsoft Visual C++ 6.0 or Microsoft Visual Studio 6.0.
標簽: Microsoft applications environment programming
上傳時間: 2017-06-18
上傳用戶:huyiming139
This is the project README file. Here, you should describe your project. Tell the reader (someone who does not know anything about this project) all he/she needs to know. The comments should usually include at least:
標簽: project the describe someone
上傳時間: 2017-06-22
上傳用戶:450976175
此包包含了眾多矩陣處理程序,能夠滿足矩陣處理的一般要求,由于將各功能分開到不同的“.cpp”文件中,故使用時需要用戶自行選取更換合適自己使用的“.cpp”文件。其中,矩陣功能有:輸出矩陣、矩陣轉置、矩陣歸一化、判斷矩陣對稱、判斷矩陣對稱正定、全選主元法求矩陣行列式、全選主元高斯(Gauss)消去法求一般矩陣的秩、用全選主元高斯-約當(Gauss-Jordan)消去法計算實(復)矩陣的逆矩陣、用“變量循環重新編號法”法求對稱正定矩陣逆、特蘭持(Trench)法求托伯利茲(Toeplitz)矩陣逆、實矩陣LU分解、用豪斯荷爾德(Householder)變換對一般m*n階的實矩陣進行QR分解、對稱正定陣的喬里斯基(Cholesky)分解及求其行列式值、一般實矩陣的奇異值分解、廣義逆的奇異值分解。
上傳時間: 2013-12-27
上傳用戶:duoshen1989
NN Functions a program in Lisp to demonstrate working of an artificial neuron. (Enter an input vector X and weight vector W. Calculate weighted sum XW. Transform this using signal or activation functions like logistic, threshold, hyperbolic-tangent, linear, exponential, sigmoid or some other functions (syntax provided) and display the output).
標簽: demonstrate artificial Functions program
上傳時間: 2013-12-30
上傳用戶:hfmm633
C28x IQmath v1.5版下載,目前在Ti網站最新。 版本日期 2008/07/08
上傳時間: 2017-07-04
上傳用戶:壞壞的華仔
本程序實現算術平均值濾波(采樣值為8位,連續采樣數目小于256) 入口參數:采樣值數據塊首地址在SADR中,連續采樣數在W中 出口參數:濾波值在SOU中.
上傳時間: 2013-12-17
上傳用戶:lx9076
在本文中,我們首先實作了 一個針對壓縮視訊(像是 H.264/AVC)之畫面解析度 改善 的方法。接著,我們分析這個方法的模擬結果。
標簽:
上傳時間: 2013-12-28
上傳用戶:dapangxie
C程序設計語言(第二版,中文版,B.W.Kernighan、D.M.Ritchie 著)
上傳時間: 2017-07-08
上傳用戶:1109003457