Christophe Gisquet e7fc5d53a0 huffyuv: change statistics initialization
Normally, a Laplace distribution is more typical of the residuals
encoded, but for noisy input, it's both better and simpler to be
safe and use a 1/d^2 distribution. Second hunk could use some
renormalization but it has effectively little impact.

Output size of ffvhuff on various 4:2:0 sequences:
context=0,1/d:    851974   27226   1137281
context=0,1/d²:   619081   25069   1051500
context=0,1/d³:   501983   30454   1290561
context=0,lapl:   500650   31754   1304082

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-19 06:03:51 +02:00
..
2014-04-15 16:43:38 +02:00
2013-01-08 18:47:09 +00:00
2013-04-18 00:24:25 +02:00
2013-01-08 18:47:09 +00:00
2013-04-25 10:13:27 +02:00
2014-03-06 19:28:20 +01:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2014-05-30 15:43:04 +02:00
2013-01-06 16:30:02 +01:00
2013-01-06 16:30:02 +01:00