开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜