Menu

VMR CustomPresenter

chossette
2010-02-01
2012-10-29
  • chossette

    chossette - 2010-02-01

    Hy all...

    I have to return back from EVR/VMR9 to VMR7 for directx issue (my application
    does render in directx and enter in conflit with VMR9/EVR device
    utilisation...)

    But I can't find any vmr7 custom A/P sample on the web, nor the sdk... Does
    someone have an link or information somewhere on detail about thos
    IVMRSurfaceAllocator et presenter ?

    And moreover, in msdn it is write this sentence : In many cases, it is only
    necessary to override the IVMRImagePresenter interface.

    How can I specify to the VMRFilter just to use my IVMRImagePresenter ??

    HHeellppp !
    Tx

     
  • Eric

    Eric - 2010-02-01

    The main problem with VMR7 in .Net is that the official Managed DirectDraw
    does't offer any way to get or set the unmanaged part of the managed object.
    So it is very complicated to interact with this filter using .Net. You can
    perhaps try to do that with SlimDX...

    Anyway, writing a VMR7 custom allocator is almost the same thing that writing
    one for VMR9. You just have to deal with DirectDraw 7 instead of Direct3D 9.
    The Windows SDK detail all the steps to do that.

    Keep in mind that, since Vista, DirectDraw is a depretiated componant so VMR7
    is depretiated too

     
  • The March Hare

    The March Hare - 2010-02-01

    Multi-posted to microsoft.public.win32.programmer.directx.video where I
    pointed out that there is an unmanaged sample of a VMR7 custom a-p in the
    DirectX Summer 2004 SDK.

     

Log in to post a comment.