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 /tests/ref/vsynth/vsynth3-ffvhuff422p10left | |
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 'tests/ref/vsynth/vsynth3-ffvhuff422p10left')
-rw-r--r-- | tests/ref/vsynth/vsynth3-ffvhuff422p10left | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/vsynth/vsynth3-ffvhuff422p10left b/tests/ref/vsynth/vsynth3-ffvhuff422p10left index abebb55a91..7dca14e9ba 100644 --- a/tests/ref/vsynth/vsynth3-ffvhuff422p10left +++ b/tests/ref/vsynth/vsynth3-ffvhuff422p10left @@ -1,4 +1,4 @@ -dcd4a5cae84b4ab0b376824772e3ad2b *tests/data/fate/vsynth3-ffvhuff422p10left.avi -127832 tests/data/fate/vsynth3-ffvhuff422p10left.avi +2459272ee10f3b503940324ba5dcc1e5 *tests/data/fate/vsynth3-ffvhuff422p10left.avi +168836 tests/data/fate/vsynth3-ffvhuff422p10left.avi 863818eed035b3fa7b19535927687879 *tests/data/fate/vsynth3-ffvhuff422p10left.out.rawvideo stddev: 38.45 PSNR: 16.43 MAXDIFF: 225 bytes: 86700/ 86700 |