Re: Behavior of AVStream after returning STATUS_PENDING from Process routine by Max
Max
Tue Jun 01 14:12:48 CDT 2004
Process() routine for pin centric approach receives a stream pointer. Read
the DDK on stream pointers, it has the whole lot of info about them.
In the nutshell what you get is an IRP(s) wrapped into a structure that
helps you maintain a pointer into a data.
Use KSSTREAM_POINTER::KSSTREAM_HEADER to get a hold of the bits (or a memory
for your bits).
FrameExtent is the size of received buffer and DataUsed field is the size of
the data in the buffer. The buffer itself is pointed to by Data.
-- Max.
"Panda Ng" <anonymous@discussions.microsoft.com> wrote in message
news:A7AE700A-3473-459E-910B-ED6912A0A6F9@microsoft.com...
> Hi,
>
> Sorry to bother you again. My problem is quite silly I believe.
>
> Because my hardware use no DMA but interrupt to signal a frame is ready,
so the pin-centric example of the DDK doesn't totally apply. I can
understand most part of the sample but how I can put my data.
>
> I could fully understand the filter-centric one that I can use the
pin-index's data member.
>
> To put my question simple, I would be much appreciated if you could point
me how I could put the color bytes pixel by pixel to stream pointers in
pin-centric case?
>
> Thanks so much!
>
> Regards,
> Panda Ng