[MPlayer-dev-eng] [PATCH] vf_eq2 default parameter fix

Hampa Hug hampa at hampa.ch
Tue Oct 28 17:42:05 CET 2003


Arpi wrote:

> (btw the vf_eq seems to handle negative contrast/brightness, while
> i'm not sure if vf_eq2 handles it correctly in LUT mode!!?)

Hmm, I never noticed that.

They both handle it correctly, but interpret the contrast parameter
differently. In vf_eq the parameter range is [-100..100]. Negative
values reduce contrast, positive values increase contrast.

In vf_eq2 the parameter range is [-inf..+inf]. Positve values less
than 1.0 reduce contrast, those greater than 1.0 increase
contrast. Negative values behave the same as their absolute
value, except that the image is also inverted.

Hampa



More information about the MPlayer-dev-eng mailing list