Re: avshws & rwiso
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Sat, 23 Feb 2008 13:39:11 -0800
DamL <damien.lebrun@xxxxxxxxxx> wrote:
I've written firmware and modified the rwiso code for an isochronous USB
camera. Streaming from camera via rwiso -g command is also ok.
In this code, I construct n (typically 2) Buffers representing
consecutive frames from camera. This works quite well (images complete
and correct rythm)
This has already been asked and answered on the "ntdev" mailing list.
I'd like to include this usb part in avshws sample and idea would be to
remove the "simulated" hardware and pictures by the contents of these
frame buffers.
For now I've "summed" the 2 projects rwiso and avshws (just to see if it
was possible), but I encounter major issues :
1) KsInitializeDriver reroute the different IRP_XXs defined in rwiso and
pnp driver of this cannot be used anymore.
Right. You won't use ioctls to talk to the driver. Instead, you'll use
the DirectShow proxy filter, and IT will talk to the driver.
2) How to make the Pnp for camera working : in avshws there is no
hardware defined but what is to be done to integrate the pnp detection
of usb camera, and precisely at plug of it ?
Is there some samples available to describe this ?
Yes, rwiso for example. It is the INF file that determines when your
driver is loaded. You just have to make the avshws INF match your device's
VID and PID. Then, your PnPStart callback can go fetch the descriptors, or
do whatever needs to be done.
3) Is BDA a better option for this or is it similar to avshws at it seems ?
BDA is a thin layer on top of AVStream, needed only if you need to support
digital television signals.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- avshws & rwiso
- From: DamL
- avshws & rwiso
- Prev by Date: Re: How do you Usb multifucntion device driver
- Next by Date: Re: How do you Usb multifucntion device driver
- Previous by thread: avshws & rwiso
- Next by thread: RE: UsbSamp used with Device Simulation Framework causes BSOD
- Index(es):
Relevant Pages
|