Scaling of video frames

hello

I have some problem while implementing following scenario:

I have video capture card mounted on PCI bus through which my driver is
getting video frames
I want to scale that frames as per application requirement
So
How should achieve same??
is there any filter/API available for scaling in AVStream class or
directshow interface
or
should i impliment same in driver

Thanks
Pravin G

pravin gawale wrote:

I have some problem while implementing following scenario:

I have video capture card mounted on PCI bus through which my driver
is getting video frames
I want to scale that frames as per application requirement
So
How should achieve same??
is there any filter/API available for scaling in AVStream class or
directshow interface
or
should i impliment same in driver

You should NOT implement scaling in the driver. The driver should
advertise and deliver exactly what the hardware can offer. If an
application needs scaling, then the application can set up scaling in
its graph. In many cases, the scaling can be done by the renderer,
using an overlay, at no cost. If you implement scaling in your driver,
you will pay the performance penalty in kernel mode.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.