1. 19 Jun, 2014 1 commit
    • 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
  2. 10 Jun, 2014 1 commit