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/vsynth1-ffvhuff444 | |
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/vsynth1-ffvhuff444')
-rw-r--r-- | tests/ref/vsynth/vsynth1-ffvhuff444 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/vsynth/vsynth1-ffvhuff444 b/tests/ref/vsynth/vsynth1-ffvhuff444 index 181ca97a7e..7c518f4e30 100644 --- a/tests/ref/vsynth/vsynth1-ffvhuff444 +++ b/tests/ref/vsynth/vsynth1-ffvhuff444 @@ -1,4 +1,4 @@ -80d9cc81d28509d059bda5e736183b9a *tests/data/fate/vsynth1-ffvhuff444.avi -10967556 tests/data/fate/vsynth1-ffvhuff444.avi +962b03019d92658356eb7cdfad857d08 *tests/data/fate/vsynth1-ffvhuff444.avi +11712338 tests/data/fate/vsynth1-ffvhuff444.avi 10fb42f1abf40a289c3edafc0390482c *tests/data/fate/vsynth1-ffvhuff444.out.rawvideo stddev: 2.67 PSNR: 39.60 MAXDIFF: 43 bytes: 7603200/ 7603200 |