• Christophe Gisquet's avatar
    huffyuv: change statistics initialization · e7fc5d53
    Christophe Gisquet authored
    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: 's avatarMichael Niedermayer <michaelni@gmx.at>
    e7fc5d53
Name
Last commit
Last update
..
fate Loading commit data...
filtergraphs Loading commit data...
ref Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
base64.c Loading commit data...
copycooker.sh Loading commit data...
fate-run.sh Loading commit data...
fate-valgrind.supp Loading commit data...
fate.sh Loading commit data...
ffserver-regression.sh Loading commit data...
ffserver.conf Loading commit data...
ffserver.regression.ref Loading commit data...
lavf-regression.sh Loading commit data...
lena.pnm Loading commit data...
md5.sh Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
test.ffmeta Loading commit data...
tiny_psnr.c Loading commit data...
tiny_ssim.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...