diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-06-11 22:15:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-19 06:03:51 +0200 |
commit | e7fc5d53a02c07e75a2254839a452e1cbf830d3a (patch) | |
tree | 0ac6209a91af615223e59fb2b8b49dc87e602ea0 /libavcodec/v410enc.c | |
parent | 042a82ca374b491903036872ebd487c5ceb17a63 (diff) | |
download | ffmpeg-e7fc5d53a02c07e75a2254839a452e1cbf830d3a.tar.gz |
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>
Diffstat (limited to 'libavcodec/v410enc.c')
0 files changed, 0 insertions, 0 deletions