]> git.videolan.org Git - x264.git/commit
* all: Change the way PSNR is computed (based on a patch by Loren
authorLaurent Aimar <fenrir@videolan.org>
Sun, 8 Aug 2004 14:23:50 +0000 (14:23 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 8 Aug 2004 14:23:50 +0000 (14:23 +0000)
commit11e1b0c27fdd2213007fdb91f40d0fc2a1c11569
treeff994294d470065cb533c86fe742451fb0706471
parent9168b245fb9b7e84e4c55faba839b89a4b54a48b
 * all: Change the way PSNR is computed (based on a patch by Loren
Merritt <lorenmn AT u DOT washington DOT edu>
 Using SQE(DeltaSourceReconstructed) = Sum( delta^2 )
       PSNR( SQE, Size ) = -10Ln(SQE / 255^2 / Size )/Ln(10) )
       Y+U+V : Union of YUV planes.

 Now there is
  - Mean PSNR : Sum( PSNR( SQE(Y/U/V), Size(Y/U/V) ) / TotalFrames
  - Average PSNR: Sum( PSNR( SQE(Y+U+V), Size(Y+U+V) ) ) / TotalFrames
  - Global PSNR: PSNR( Sum( SQE(Y+U+V) ), Size(Y+U+V)*TotalFrames )

  Mean PSNR is used by the JM, and Average/Overall is used on Doom9 for
example.

git-svn-id: svn://svn.videolan.org/x264/trunk@19 df754926-b1dd-0310-bc7b-ec298dee348c
core/common.h
encoder/encoder.c