IVMRImageCompositor9 and VMR9 Renderless Mode

2013-01-30
2013-01-30
  • Michael Lucero

    Michael Lucero - 2013-01-30

    Has anyone got the IVMRImageCompositor9 working using VMR9 Renderless mode? It's working when I'm using Windowless, but when I start using Renderless mode, the surface format is different and I'm getting an error when calling:

    device.SetRenderTarget(0, renderTarget);

    Anyone has an idea?

     
  • Eric

    Eric - 2013-01-30

    I didn't play with the VMR9 filter sice a long time and I never really tried to provide both a custom compositor and a custom allocator / presenter... From the documentation, this should be possible but you must adapt your code.

    Note that the difference between Windowless and Renderless modes is that the render target is allocated by YOUR allocator so it must match the format that the compositor wait for.

     

Log in to post a comment.