video properties for filter driver

Posted: 03-28-2006, 12:16 PM
Hello!

I have to implement a filter driver for a webcam, and I would need to extend
the video filter properties for the device.
In the minidriver I would call KsInitializeDriver with a properly
constructed KSDEVICE_DESCRIPTOR parameter, and let the AVStream do the rest
of the work for the irps I'm not interested in, but unfortunately i do not
have access to the driver and I have to extend the functionality through a
filter driver. I need to add a custom GUID to the Supported Propertysets, to
pass it to KsProxy.

The only way I managed to do this till now is to intercept the
IOCTL_KS_PROPERTY and play with the buffers and sizes to add my GUID to the
return buffer, but this is (very) low level and based on the assumptions. Is
there a way to do this at a higher level?

Thanks
Bogdan D.


Reply With Quote

Responses to "video properties for filter driver"

Andrew E.
Guest
Posts: n/a
 
RE: video properties for filter driver
Posted: 03-29-2006, 06:24 AM
Try going to run,type:VERIFIER In VERIFIER,use custom settings.

"Bogdan Dinu" wrote:
> Hello!
>
> I have to implement a filter driver for a webcam, and I would need to extend
> the video filter properties for the device.
> In the minidriver I would call KsInitializeDriver with a properly
> constructed KSDEVICE_DESCRIPTOR parameter, and let the AVStream do the rest
> of the work for the irps I'm not interested in, but unfortunately i do not
> have access to the driver and I have to extend the functionality through a
> filter driver. I need to add a custom GUID to the Supported Propertysets, to
> pass it to KsProxy.
>
> The only way I managed to do this till now is to intercept the
> IOCTL_KS_PROPERTY and play with the buffers and sizes to add my GUID to the
> return buffer, but this is (very) low level and based on the assumptions. Is
> there a way to do this at a higher level?
>
> Thanks
> Bogdan D.
>
>
>
Reply With Quote
Bogdan Dinu
Guest
Posts: n/a
 
Re: video properties for filter driver
Posted: 03-30-2006, 06:59 AM
Thanks.

I have checked the driver (using verifier & others) and it vorks fine. It is
just that I didn't want to go low level because all I do is based on certain
assumptions about where the properties data is stored in the IRP and the
protocol used, and all this functionality really depends on the AVStream
driver microsoft provides. I am looking for a implementation similar to a
avstream minidriver structure, using library functions to change the
properties.

"Andrew E." <eckrichco@msn.com> wrote in message
news:4A7CAAAD-9A25-40FE-A765-EC1D5209EEEE@microsoft.com...
> Try going to run,type:VERIFIER In VERIFIER,use custom settings.
>
> "Bogdan Dinu" wrote:
>
>> Hello!
>>
>> I have to implement a filter driver for a webcam, and I would need to
>> extend
>> the video filter properties for the device.
>> In the minidriver I would call KsInitializeDriver with a properly
>> constructed KSDEVICE_DESCRIPTOR parameter, and let the AVStream do the
>> rest
>> of the work for the irps I'm not interested in, but unfortunately i do
>> not
>> have access to the driver and I have to extend the functionality through
>> a
>> filter driver. I need to add a custom GUID to the Supported Propertysets,
>> to
>> pass it to KsProxy.
>>
>> The only way I managed to do this till now is to intercept the
>> IOCTL_KS_PROPERTY and play with the buffers and sizes to add my GUID to
>> the
>> return buffer, but this is (very) low level and based on the assumptions.
>> Is
>> there a way to do this at a higher level?
>>
>> Thanks
>> Bogdan D.
>>
>>
>>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter Driver - Not intercepting IRP’s. aravind_tj Windows XP Device Drivers 0 09-01-2004 05:33 PM
filter driver code 28 please help jenn Windows XP Photos 1 12-29-2003 09:07 AM
How to Link desktop rt click properties to video driver Tom Bray Windows XP Embedded 0 10-31-2003 11:58 PM
Lower Filter Driver to USB Composite Driver in Windows XP. Ramkumar C Windows XP Device Drivers 0 10-15-2003 06:17 AM
Filter driver Michael Windows XP Device Drivers 0 07-06-2003 05:59 PM