天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

移動(dòng)Flash渲染關(guān)鍵技術(shù)的研究

發(fā)布時(shí)間:2018-06-03 04:11

  本文選題:Flash + 渲染。 參考:《杭州電子科技大學(xué)》2009年碩士論文


【摘要】:隨著休閑經(jīng)濟(jì)的興起和手機(jī)立體娛樂時(shí)代的到來(lái),手機(jī)Flash動(dòng)漫正逐步在全球形成一種產(chǎn)業(yè),并被視為最有潛力的無(wú)線增值業(yè)務(wù)。目前一些高端手機(jī)上已經(jīng)配置了Adobe公司提供的Flash Lite,能流暢播放Flash動(dòng)畫。但是在中低端手機(jī)上,由于成本、資源受限等原因使得播放Flash動(dòng)畫存在性能瓶頸的問題。本文面向中低端智能手機(jī),主要從三個(gè)方面研究Flash矢量動(dòng)畫渲染的關(guān)鍵技術(shù),以有效提升Flash動(dòng)畫播放性能。論文主要研究工作如下: 1針對(duì)Flash渲染流水線光柵化之前進(jìn)行的曲線分解過(guò)程存在精度與速度之間難以平衡的問題,研究提出一種啟發(fā)式的曲線分解算法。算法結(jié)合曲線長(zhǎng)度與曲率兩種因素,通過(guò)計(jì)算貝塞爾曲線的兩個(gè)端點(diǎn)與兩個(gè)控制頂點(diǎn)之間的連線的距離與夾角,求出曲線分解步數(shù)。實(shí)驗(yàn)表明,算法的復(fù)雜度低,細(xì)分生成的直線段精確的擬合了曲線。 2針對(duì)傳統(tǒng)反走樣算法存在計(jì)算量大和取樣精度不高,不能適應(yīng)現(xiàn)代顯示設(shè)備亮度等級(jí)越來(lái)越高的問題,提出了一種亞像素精度的區(qū)域采樣反走樣算法。算法通過(guò)位運(yùn)算快速計(jì)算像素的覆蓋面積,并且像素亮度等級(jí)可達(dá)到2n(n為亞像素位數(shù),通常情況n取8)。與現(xiàn)有反走樣算法相比,在算法復(fù)雜度不增加的情況下,新算法運(yùn)算速度快,生成圖像更加細(xì)膩,并適用于沒有浮點(diǎn)數(shù)硬件運(yùn)算的嵌入式設(shè)備。 3針對(duì)Flash文件中路徑每條邊具有的兩種填充類型不能一次填充完畢,以及視頻連續(xù)性原理提出了一種一遍遍歷填充的策略與各種緩存策略。它根據(jù)Flash中Shape節(jié)點(diǎn)不相交的特點(diǎn),將路徑連接成一個(gè)封閉區(qū)域后進(jìn)行光柵化,實(shí)現(xiàn)一次填充完畢;根據(jù)Flash節(jié)點(diǎn)的連續(xù)性與視頻的連續(xù)性,在流水線各個(gè)層次上緩存已生成的結(jié)果,避免了重復(fù)計(jì)算,因而有效地提升了渲染速度。 本文開發(fā)的Flash播放器運(yùn)行在夏新E600低端智能手機(jī)(主要性能指標(biāo)為:CPU主頻為312M、系統(tǒng)RAM 64M、分辨率240×320像素)上可以較流暢的播放Flash文件,幀率為12幀/秒,驗(yàn)證了上述成果的有效性。
[Abstract]:With the rise of leisure economy and the arrival of mobile phone stereoscopic entertainment era, mobile phone Flash animation is gradually forming a global industry, and is regarded as the most potential wireless value-added business. Some high-end phones already have Adobe's Flash Lite, which can play Flash animations smoothly. However, in low and medium mobile phones, due to cost, resource constraints and other reasons, there is a performance bottleneck in playing Flash animation. This paper focuses on the key techniques of Flash vector animation rendering from three aspects in order to effectively improve the performance of Flash animation. The main research work of this thesis is as follows: A heuristic curve decomposition algorithm is proposed to solve the problem that the precision and speed are difficult to balance in the process of curve decomposition before Flash rendering pipeline rasterization. Combining the two factors of curve length and curvature, the algorithm calculates the distance and angle of the line between the two endpoints and two control points of the Bezier curve, and obtains the decomposition step number of the curve. Experiments show that the complexity of the algorithm is low and the line segment generated by subdivision fits the curve accurately. In order to solve the problem that the traditional anti-aliasing algorithm has large computation and low sampling precision, it can not adapt to the increasing luminance level of modern display equipment, a sub-pixel precision area sampling anti-aliasing algorithm is proposed. The algorithm calculates the coverage area of pixels quickly by bit operation, and the pixel brightness level can reach the sub-pixel bit number of 2n(n, usually n is 8. Compared with the existing anti-aliasing algorithm, the new algorithm is faster and more delicate than the existing anti-aliasing algorithm, and is suitable for embedded devices without floating-point hardware operation. In view of the fact that the two filling types of each side of the path in the Flash file can not be filled in one time, and the principle of video continuity, a one-pass traversal filling strategy and a variety of cache strategies are proposed. According to the disjoint characteristics of Shape nodes in Flash, the path is connected into a closed area and rasterized to realize the completion of filling once, according to the continuity of Flash node and the continuity of video, The generated results are cached at all levels of the pipeline to avoid double computation, and thus the rendering speed is improved effectively. The Flash player developed in this paper can play the Flash file smoothly on the Amoi E600 low-end smartphone (the main frequency of the system is 312m, the system RAM 64m, and the resolution 240x320 pixels), and the frame rate is 12 frames per second. The validity of the above results is verified.
【學(xué)位授予單位】:杭州電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2009
【分類號(hào)】:TP317.4

【引證文獻(xiàn)】

相關(guān)期刊論文 前1條

1 史冬冬;張佳立;;UMVSP:一個(gè)基于3G和Red5的通用移動(dòng)視頻訂閱平臺(tái)[J];商業(yè)文化(上半月);2012年01期

,

本文編號(hào):1971424

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/wenyilunwen/dongmansheji/1971424.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶22393***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com