Re: Hardware Overlay with Push Source



Check the below link.

http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/htm/pushsourcefilterssample.asp

it says,

NOTE: The desktop capture filter does not support hardware overlays, so it
will not capture video rendered to an overlay surface or cursors displayed
via hardware overlay. It uses GDI to convert the current desktop image into
a bitmap, which is passed to the output pin as a media sample.

When I test those filters, not only the desktop capture filter but also the
bitmap source filter cannot create hardware overlays.

Does anyone know why?


"Alessandro Angeli [MVP::DigitalMedia]"님이 작성한 내용:

> Augie at NHN wrote:
>
> > The sample filter "Push Source" included in DXSDK does
> > not use Hardware Overlay surface.
> > If I want to use Hardware Overlay with Push Source, where
> > do I modify in the code?
> >
> > Actually, I don't understand what difference makes it
> > have no hardware overlay.
> >
> > MSDN DirectX document says it's because the filter passes
> > DIB images to the renderer but it doesn't make sense.
>
> Where is the above said?
>
>
> --
>
> // Alessandro Angeli
> // MVP :: Digital Media
> // a dot angeli at psynet dot net
>
>
>
.



Relevant Pages

  • Capture Cursor with Desktop Capture Filter (DirectShow)
    ... Does anyone know a way to capture cursor with desktop capture filter? ... The desktop capture filter does not support hardware overlays, ... Is it possible to configure cursor to not use hardware overlay? ... copy a bitmap image on cursor position? ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Hardware Overlay with Push Source
    ... the video renderer does not use the hardware overlay. ... The desktop capture filter does not support hardware overlays, ... > When I test those filters, not only the desktop capture filter but also the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Hardware Overlay with Push Source
    ... > The sample filter "Push Source" included in DXSDK does ... > not use Hardware Overlay surface. ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: grabbing overlay surface
    ... disable the hardware overlay? ... There is no published API to grab the overlay surface or disable the ... Google Groups. ...
    (microsoft.public.win32.programmer.directx.video)

Loading