PDA

View Full Version : Vmr-9


qbaskn
3rd April 2004, 20:23
First of all check this (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/vmr_d3d.asp) article. What do think about it? Would it be hard to code a ds filter using for example built-in GeForce routines for resizing and smoothing the video (things like trilinear and anisotropic filtering would be very useful i think..). Does anyone made an attempt to do this? (i have no knowledge about COM, which is, i heard, essential if you plan to go for dshow programing)

Blight
4th April 2004, 01:54
From what I understand, the benefit of Anisotropic and possibly Trilinear filtering is that the keep the image sharper when the texture (our image) is viewed at an angle. Not exactly a case you get when viewing video.

diehardii
7th April 2004, 20:13
Thanks, a good read. About knowing COM, it helps, but it is not completely necessary for writing DShow filters (not sure about programs). I have written filters without deep knowledge as to how COM works. That being said, a very basic understanding does help. The only essential thing for beginning is Mark Pesce's DShow book.

~Steve

Sulik
13th April 2004, 08:42
Trilinear filtering is useless for video (it is used to interpolate between two mipmap levels of the same texture).
VMR9 uses D3D which is still quite poor for resizing, as even the currently available high-end graphics cards from NVidia and ATI only use bilinear filtering for resizing in D3D.

You can only get their 'good' dedicated hardware scaling when using the overlay, which is only available for rendering.

The only other way is to write a custom scaler that will run using the pixel shaders.