![]() |
||
Master Member
加入日期: Jun 2002 您的住址: 耗電量頗高的地方.
文章: 1,959
|
影像加速器. [MS Video Mixing Render]
http://msdn.microsoft.com/library/d...ingrenderer.asp
以上為MSDN文件. 先前曾經提過ATi的Video Shader, 現在這個技術(VMR)開始普及了. 繼NV30之後, S3 DeltaChrome將會是第三個支援MS VMR技術的硬體實作. VMR有著下列的主打功能: LV1. VMR-7: .Real mixing of multiple video streams, using the alpha-blending capabilities of Direct3D hardware devices. .The ability to plug in your own compositing component to implement effects and transitions between multiple video streams entering the VMR. .True windowless rendering. It is no longer necessary to make the video playback window a child of the application's window in order to contain video playback. The VMR's new windowless rendering mode allows applications to easily host video playback within any window without having to forward window messages to the renderer for renderer-specific processing. .A new renderless playback mode where applications can supply their own allocator component to get access to the decoded video image prior to it being displayed on the screen. .Improved support for PCs equipped with multiple monitors. .Support for Microsoft's new DirectX Video Acceleration architecture. .Support for high-quality video playback concurrently on multiple windows. .Support for DirectDraw Exclusive Mode .100% backward-compatibility with existing applications. .Support for frame stepping and a reliable way to capture the current image being displayed. .The ability for applications to easily alpha-blend their own static image data (such as channel logos or UI components) with the video in a smooth flicker-free way. LV2 VMR-9 : .The ability to process video data directly with Direct3D APIs such as pixel shaders. .Improved support for interlaced video content. .Support on any platform supported by DirectX. ---- 真期待早點出現MPEG4 Encoder running on Graphic Hardware啊 .... XD |
|||||||
![]() |
![]() |
Senior Member
![]() ![]() ![]() 加入日期: Oct 2002 您的住址: El's room
文章: 1,046
|
ATI 已經要和 DivXNetworks 合作,利用 R9500/9700 的 VPU,來增進播放 DivX5 影片時的播放品質和速度。也就是大大您之前一直提到的,和 ATI 之前一直標榜的 FULLSTREAM technology 終於要實作了
![]() 以下是 ATI 的 press release http://mirror.ati.com/companyinfo/press/2003/4599.html 文章中只有提到利用 VPU 來幫助解碼的部分,不過如果有做 iDCT/MC 的功能上去,這個部分在編碼的時候也會有幫助(編碼會需要用到 iDCT/MC 來解碼所需要用到的參考畫面),所以其實也可以把這個功能做到 Encoder 上面去。不過這樣 VPU 使用的 DCT/iDCT 算式,最好和 DivX5 用的一樣才好,尤其是大家壓 MPEG-4 通常 I-frame 的間距會拉得很長,iDCT mismatch 的問題會更嚴重。 |
||
![]() |
![]() |
Master Member
加入日期: Jun 2002 您的住址: 耗電量頗高的地方.
文章: 1,959
|
引用:
大大的稱呼還是免了吧. 我沒有付出相襯於那種名號的努力.(汗 ---- 話說回來, FULLSTREAM與VMR本身並沒有關係, 那真的就是ATi自己的本事了. 雖然各家慢慢地有打算把這種東西補到自己的產品裡面, 如S3. 基本上"VPU幫助解碼的部分"其實就是打算用 Pixel pipe的運算能力去replace掉固定的iDCT/MC hardware logic, S3 DeltaChrome 在 demo她們的Chromotion影像引擎的時候, 也特別針對了Bob/Weave演算法的交替使用作了一些示範. http://www.s3graphics.com/DeltaChromeChromotion.html 所以DeltaChrome的設計上, MC--有硬體邏輯 iDCT--PS 2.0 program(有額外指令集, DX9 PS2.0沒這些東西) 在iDCT跑完之後送給MC邏輯, 然後用S340無損失壓縮送到顯示記憶體等待顯示. 但是很值得注意的是DeltaChrome提到了Windows Media Video Post-Processing Support, 這部分我還不清楚是什麼. 但是DeltaChrome的確標榜了WM8/9的加速功能, 會讓人家有點想入非非. XD 此外, DeltaChrome也有具備Programmable的Kerenl Filter, 提供了類似FULLSTREAM的功能. 由於這個Filter還負責了XP GDI+的加速功能, 可以加速字型的De-interlace之類的功能(WinXP這方面都用軟體跑的大家知道吧), 看看ATi有沒有回頭搞類似的東西吧. 總之DX9規範了許多關於硬體加速的新玩意兒, 當初以為VMR是ATi的東西, 現在既然是DX9公定的話, 那麼狀況會比較樂觀些. |
|
![]() |
![]() |
Senior Member
![]() ![]() ![]() 加入日期: Oct 2002 您的住址: El's room
文章: 1,046
|
引用:
那叫 Artx1 哥哥好了... ![]() 引用:
哇,那張 DEMO 圖也太誇張了吧,BOB 的圖總覺得是故意把背景的人物弄糊作出來的,怎麼可能背景糊成那樣前景的車車還可以這麼清楚。 引用:
post-processing 一般是指 de-block/de-ring 的 filter,我想 DeltaChrome 應該是支援這種處理。不過既然可以做 iDCT/MC,對播放 WMV 也一定會有加速的效果。 引用:
de-interlacing?應該是 anti-aliasing 吧? :P 文章中提到這個 Kernel Filter 還負責 scaling,畫面的放大縮小,包括 MPEG 的 YUV 視訊放大到全螢幕的放大處理。裡面寫的 4x4 pixel 的放大 Filter 就是我們一般用的 Bicubic Filter,不過可以設定多組參數,取得不同的銳利度效果(視畫面放大的倍率,調整最適當的 Filter 參數)。 不過既然已經用硬體算了,我想做 8x8 的 lanczos 放大不是更好?甚至如果夠快的話,把最強的 sinc256,也就是 16x16 的 lanczos 做上去,一定可以成為 2D 的王者 :P 引用:
這樣的話只要支援 VMR,軟體就可以使用顯示卡的 Pixel Shader 來做 iDCT/MC,還是說仍然要軟體自己特別寫支援各家顯示卡的程式碼?不知道有沒有誤會這個意思 ^^; |
|||||
![]() |
![]() |
Master Member
加入日期: Jun 2002 您的住址: 耗電量頗高的地方.
文章: 1,959
|
引用:
噗. 弄個小蘿莉來比較有效....(倒 ---- 那張八成是惡搞的.... 不過沒有註解成"概念說明用"是她們的錯. XD 這樣會被抓語病的.... = =b 引用:
啊. <--阿梓某大王化 我耍笨了.... 引用:
這要問他們了, DeltaChrome的門面有做好但是slides卻不夠多. 很想問問有沒有更多一點東西可以看, 才知道實作會是啥樣子. 不過聽說它Q2才sampling.... (汗 引用:
嗯, 不太一樣. iDCT這部分應該是被Driver包起來了, 然後讓application去call, 不過應該也可以讓app去自備; 另外一個重點是VMR可以容許3rd party app自備Filter, 然後交給Pixel Shader去跑. (不過這代表是中途插進去? 那代表只要指令總量沒爆掉應該就可以real time跑完? 還是可以開multi-pass? 或者是multi-pass得要作offline rendering?) 另外一個比較無關的東西: VMR可以容許render Video to 3D object, 所以可以把即時拍攝的影像貼到物件上, 以前用CRI的MPEG sofdec時只能作offline. 此文章於 2003-01-13 03:00 PM 被 Artx1 編輯. |
||||
![]() |
![]() |
Advance Member
![]() ![]() 加入日期: May 2000 您的住址: 台北 中華民國
文章: 403
|
看了各位的討論,我抓了DivX Player回來測。搭配的顯示卡是ATi FireGL T2-64,R9600核心。
勾選Preferences/Video/Use accelerated post-processing for supported ATI RADEON hardware。播放640*480高流量DivX檔時,CPU Usage為36%~52%。 不勾選時,CPU Usage為82%~95% 。但是低CPU Usage是要付出代價的,動畫的黑線旁出現黑色毛邊,有些地放則是淺色的毛邊插入較深色處。 結論,我寧願關閉硬體後製加速,來獲得比較好的畫面品質。 Shade大大請收私人訊息,謝謝。 |
![]() |
![]() |