none
Media Foundation worker thread control RRS feed

  • Question

  • Hi,

    I need to load balance a real-time 3D/media foundation application on a multi-core processor system.

    Is it possible to setthreadaffinity/priority for all media foundation (video decode/play) spawned threads ?
    Ideally, I want your stuff on one processor & real-time 3D scene rendering on another.

    I was planning on grabbing the thread handle(s) in a custom presenter & modifying there unless there's a prefered method of doing this.

    Advice welcome.

    Best regards,
    Steve.

    Saturday, February 4, 2012 10:25 PM

All replies

  • Modifying the thread affinities and priorities directly as you suggest is the way to go.  There is a way to increase thread priorities using the multimedia class scheduling service (MMCSS) but that is more of an on/off thing rather than the fine grained control that you want.

    Wednesday, February 29, 2012 2:29 AM
    Moderator