开发者

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

开发者 https://www.devze.com 2022-12-10 06:09 出处:网络
I am playing video using custom 开发者_如何学Pythonallocator 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 tha

I am playing video using custom 开发者_如何学Pythonallocator 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消