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:
- Write/Find a Effect DMO that will handle brightness and contrast on you payload.
- Get the
IVMRMixerControl9
from the renderer and callGetProcAmpControl
.
More information in this MSDN thread.
精彩评论