Video scaling in driver

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