The DDX SDK lets you write DirectX filters using Delphi, without having to mess around with DirectShow and COM.