further clean up of errorperbit and sadperbit
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
Showing
- vp8/encoder/firstpass.c 7 additions, 2 deletionsvp8/encoder/firstpass.c
- vp8/encoder/mcomp.c 2 additions, 1 deletionvp8/encoder/mcomp.c
- vp8/encoder/pickinter.c 6 additions, 2 deletionsvp8/encoder/pickinter.c
- vp8/encoder/rdopt.c 11 additions, 11 deletionsvp8/encoder/rdopt.c
- vp8/encoder/temporal_filter.c 1 addition, 1 deletionvp8/encoder/temporal_filter.c
Loading
Please register or sign in to comment