[FFmpeg-devel] [PATCH] lavfi: add histeq filter (WIP)

Clément Bœsch ubitux at gmail.com
Tue Oct 16 13:26:14 CEST 2012


On Tue, Oct 16, 2012 at 11:11:54AM +0200, Jérémy TRAN wrote:
[...]
> >> +    histeq->ia          = 4096;
> >> +    histeq->ic          = 150889;
> >> +    histeq->im          = 714025;
> >
> > magic?
> 
> I’ll admit that I don’t really know where these values come from.
> I’ll investigate on that.
> 

Looks like constants for pseudo randomization¹. Note that you could get
them out of the context since there is no point in making them
customizable for the user or anything.

[1]: http://sprott.physics.wisc.edu/phys505/lect07.htm "Computer Random
Number Generators"

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121016/fd568782/attachment.asc>


More information about the ffmpeg-devel mailing list