[MPlayer-dev-eng] [PATCH] vop eq2 with gamma correction

Mark Zealey mark at zealos.org
Wed Sep 25 15:47:58 CEST 2002


On Wed, Sep 25, 2002 at 06:38:31AM +0200, Hampa Hug wrote:

> Hello
> 
> This patch adds a new software equalizer to mplayer. It can adjust
> brightness/contrast as well as gamma. Some notes:
> 
> - All operations are done on the Y channel only. This is not
>   technically correct, but it produces decent results.
> 
> - Gamma can not yet be changed interactively. I have a patch
>   here that fixes that but it's not yet good to go.
> 
> - This patch adds a new file to the source tree. I didn't want
>   to change the old eq because I would have had to remove some
>   code.
> 
> - The vop takes 3 floating point arguments. The syntax is
>   -vop eq2[=gamma[:contrast[:brightness]]]
>   e.g.
>   -vop eq2=2.2:1.0:-0.01

Is it possible to make it so that these can be changed at run-time ie the same
way as brightness and so on are changed at the moment, for video outputs that
dont support these features?

-- 

Mark Zealey (aka JALH on irc.oftc.net: #zealos and many more)
mark at zealos.org; mark at itsolve.co.uk

UL++++>$ G!>(GCM/GCS/GS/GM) dpu? s:-@ a17! C++++>$ P++++>+++++$ L+++>+++++$
!E---? W+++>$ !w--- r++ !t---?@ !X---?  !R- !tv b+ G+++ e>+++++ !h++* r!-- y--



More information about the MPlayer-dev-eng mailing list