From: Max Paklin on
But this doesn't apply to the OP case.
He wanted to capture the content of the screen or a window and to ship it to
the device. You want to have GDI rendering engine on the device? Not
practical cost-wise.

The simple solution is to send out everything.
Want to reduce bitrate? Apply simple compression (M-JPEG or such) to it.

-- Max.



"Lev Kazarkin" <mirrdrv(a)demoforge.com> wrote in message
news:65B5EBF7-2198-4DF3-9937-A62E69B3E4DD(a)microsoft.com...
> Its simple, Maxim.
> Performance.
> Mirror driver gives an ability to see where
> the screen or a window is changed.
> The traffic may be reduced 100 or 1000 times.
>
> Btw, no Video 4 windows or AVStream is needed
> for the task. For what?!
>
> --
> Best regards,
> Lev Kazarkin
> http://www.demoforge.com
>
>
>
> "Maxim S. Shatskih" wrote:
>
>> For what? The stupid Video For Windows DLL which does BitBlt from the
>> screen to its own memory is simpler and does the task.
>>
>> --
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> maxim(a)storagecraft.com
>> http://www.storagecraft.com
>>
>> "Lev Kazarkin" <mirrdrv(a)demoforge.com> wrote in message
>> news:AD468C46-31E4-4860-9989-539C4CF7E1B2(a)microsoft.com...
>> > Hi, Rotem
>> >
>> > I agree with Maxim.
>> > As we're talking about a screen capture,
>> > a mirror driver could be a good idea.
>> >
>> > --
>> > Best regards,
>> > Lev Kazarkin
>> > http://www.demoforge.com
>> >
>> >
>> >
>> > "Maxim S. Shatskih" wrote:
>> >
>> > > I see 3 modules in this:
>> > > - screen capture
>> > > - USB hardware driver
>> > > - the app which will run the pipeline
>> > >
>> > > --
>> > > Maxim Shatskih, Windows DDK MVP
>> > > StorageCraft Corporation
>> > > maxim(a)storagecraft.com
>> > > http://www.storagecraft.com
>> > >
>> > > "Rotem" <Rotem(a)discussions.microsoft.com> wrote in message
>> > > news:4A0E6F5B-FBF9-4AF7-ABFD-4DE08D35F2A7(a)microsoft.com...
>> > > > Hi,
>> > > >
>> > > > I'm new to device drivers.
>> > > > I want to write a driver that captures the PC screen (or another
>> > > > window)
>> and
>> > > > sends the raw video to a hardware dvice via the USB or PCI bus.
>> > > > All video capture examples that I have seen show video capture from
>> > > > the
>> > > > external hardware into the PC (for render or storage). I need the
>> opposite
>> > > > direction.
>> > > > Shoud I write an AVStream or a PCI/USB miniport driver as I'm
>> > > > targeting
>> the
>> > > > A/V out of the PC via these buses?
>> > > >
>> > > > Thanks in advance,
>> > > > Rotem
>> > >
>> > >
>> > >
>>
>>
>>


From: Maxim S. Shatskih on
Depends on task. If you need to generate a video movie stream (say,
convertable to MP4 or WMV or such) - then mirror will not help.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

"Lev Kazarkin" <mirrdrv(a)demoforge.com> wrote in message
news:65B5EBF7-2198-4DF3-9937-A62E69B3E4DD(a)microsoft.com...
> Its simple, Maxim.
> Performance.
> Mirror driver gives an ability to see where
> the screen or a window is changed.
> The traffic may be reduced 100 or 1000 times.
>
> Btw, no Video 4 windows or AVStream is needed
> for the task. For what?!
>
> --
> Best regards,
> Lev Kazarkin
> http://www.demoforge.com
>
>
>
> "Maxim S. Shatskih" wrote:
>
> > For what? The stupid Video For Windows DLL which does BitBlt from the
> > screen to its own memory is simpler and does the task.
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim(a)storagecraft.com
> > http://www.storagecraft.com
> >
> > "Lev Kazarkin" <mirrdrv(a)demoforge.com> wrote in message
> > news:AD468C46-31E4-4860-9989-539C4CF7E1B2(a)microsoft.com...
> > > Hi, Rotem
> > >
> > > I agree with Maxim.
> > > As we're talking about a screen capture,
> > > a mirror driver could be a good idea.
> > >
> > > --
> > > Best regards,
> > > Lev Kazarkin
> > > http://www.demoforge.com
> > >
> > >
> > >
> > > "Maxim S. Shatskih" wrote:
> > >
> > > > I see 3 modules in this:
> > > > - screen capture
> > > > - USB hardware driver
> > > > - the app which will run the pipeline
> > > >
> > > > --
> > > > Maxim Shatskih, Windows DDK MVP
> > > > StorageCraft Corporation
> > > > maxim(a)storagecraft.com
> > > > http://www.storagecraft.com
> > > >
> > > > "Rotem" <Rotem(a)discussions.microsoft.com> wrote in message
> > > > news:4A0E6F5B-FBF9-4AF7-ABFD-4DE08D35F2A7(a)microsoft.com...
> > > > > Hi,
> > > > >
> > > > > I'm new to device drivers.
> > > > > I want to write a driver that captures the PC screen (or another
window)
> > and
> > > > > sends the raw video to a hardware dvice via the USB or PCI bus.
> > > > > All video capture examples that I have seen show video capture from
the
> > > > > external hardware into the PC (for render or storage). I need the
> > opposite
> > > > > direction.
> > > > > Shoud I write an AVStream or a PCI/USB miniport driver as I'm
targeting
> > the
> > > > > A/V out of the PC via these buses?
> > > > >
> > > > > Thanks in advance,
> > > > > Rotem
> > > >
> > > >
> > > >
> >
> >
> >