• Yaowu Xu's avatar
    further clean up of errorperbit and sadperbit · 5b2fb329
    Yaowu Xu authored
    this commit makes the usage errorperbit and sadperbit consistent for
    encoding modes and passes. Removed all different magic weight factors
    associated with errorperbit. Now 1/2 is used for both sadperbit16 and
    sadperbit4, the /2 operation is merged into initializations of the 2
    variables.
    
    Tests on cif set show .23%, 0.18% and 0.19% gain by avg psnr, overall
    psnr and ssim respectively.
    
    Change-Id: Ifa285c3e065ce0a5a77addfc9f95aabf54ee270d
    5b2fb329
rdopt.c 79.8 KB