[MPlayer-dev-eng] [PATCH] add -gamma as a command line option

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Mar 10 20:51:58 CET 2011


On Wed, Mar 09, 2011 at 10:20:15PM -0500, Alexander Strange wrote:
> 
> On Mar 9, 2011, at 4:45 PM, Kevin DeKorte wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On 03/09/2011 02:13 PM, Reimar Döffinger wrote:
> >> On Wed, Mar 09, 2011 at 12:02:21PM -0700, Kevin DeKorte wrote:
> >>> This patch adds -gamma as a command line option
> >> 
> >> Hm. Assuming this actually works there sure is nothing speaking
> >> against it (and as far as I can tell it should work).
> >> Just strange this comes up only now, seems there's really few people
> >> caring about gamma?
> > 
> > Updated patch, including man page
> > 
> > Kevin
> 
> What is the mathematical operation of this?
> I don't see what a value going from -100 to 100 has to do with gamma.

float rgamma = exp(log(8.0) * eq_rgamma / 100.0);

Now idea why so convoluted. Either way the actual gamma value is
8 ^ (cmdoptval * 0.01)


More information about the MPlayer-dev-eng mailing list