[MPlayer-dev-eng] gamma correction

Hampa Hug hampa at hampa.ch
Mon Feb 3 02:59:32 CET 2003


Alexander Stege wrote:

> I've just written a little gamma correction -vop filter because as you've surely
> noticed the gamma characteristics of a computer screen are quite different from
> those of a tv set. With a gamma correction it is easier to see something in a
> movie when the light in the room is on.

We noticed that a while ago, too. Check out vf_eq2.c. It's all
there. In fact, another vf_gamma.c filter was discussed here a
few days ago and then merged into vf_eq2.


> It's nothing big, just a 95 lines c-file, but i'd be happy if you would consider
> including it. You can find it at:
> http://www.legale-software.com/vf_gamma.c

It's quite buggy. You can't assume that the image you get is
planar YUV. You also can't assume that source strides are
the same as destination strides.


> I'd be happy about a short reply too. Thanks!

Done.

Hampa


More information about the MPlayer-dev-eng mailing list