简体   繁体   中英

How to set brightness and contrast and saturation of video/Image in directx

I am playing video using custom allocator using directshow. I want to set brightness, contrast and saturation of a video. How can I do this?

There are two ways you can accomplish that:

  1. Write/Find a Effect DMO that will handle brightness and contrast on you payload.
  2. Get the IVMRMixerControl9 from the renderer and call GetProcAmpControl .

More information in this MSDN thread.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM