FFmpeg/libavcodec
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-06-02 20:18:44 +02:00
2014-06-03 10:58:19 -08:00
2014-06-15 12:11:46 +02:00
2014-06-15 12:11:46 +02:00
2014-06-05 20:31:59 +02:00
2014-06-16 04:04:13 +02:00
2014-06-03 10:58:19 -08:00
2014-06-03 10:58:19 -08:00
2014-06-16 13:28:52 +02:00
2014-06-16 13:28:52 +02:00
2014-06-16 13:28:52 +02:00
2014-06-15 23:24:11 +02:00
2014-06-17 13:23:36 +02:00
2014-06-17 13:23:36 +02:00
2014-05-31 04:26:41 +02:00
2014-06-01 08:53:27 +02:00
2014-05-31 13:41:10 +02:00
2014-06-05 20:31:59 +02:00
2014-06-05 20:31:59 +02:00
2014-06-16 04:04:13 +02:00
2014-05-31 17:16:44 +02:00
2014-06-07 17:44:23 +02:00
2014-06-07 17:44:14 +02:00
2014-06-07 17:44:14 +02:00
2014-06-03 16:03:44 +02:00
2014-06-16 04:04:13 +02:00
2014-06-08 15:26:18 +02:00
2014-06-18 03:13:37 +02:00
2014-06-18 03:13:37 +02:00
2014-06-18 03:13:37 +02:00
2014-06-18 03:13:37 +02:00
2014-06-18 03:13:36 +02:00
2014-06-18 03:13:36 +02:00