diff options
author | Yaowu Xu <yaowu@google.com> | 2010-06-30 18:58:54 -0700 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2011-06-01 10:10:44 -0700 |
commit | 50916c6a7da357eeee43c36b4d6ab6a723ddbe1e (patch) | |
tree | 93e3ce05f72964c33dee4e32e02de136919dde1f /vp8/encoder/onyx_if.c | |
parent | 9e4f76c154a355bac2a3e005e47882219801bdae (diff) | |
download | libvpx-50916c6a7da357eeee43c36b4d6ab6a723ddbe1e.tar libvpx-50916c6a7da357eeee43c36b4d6ab6a723ddbe1e.tar.gz libvpx-50916c6a7da357eeee43c36b4d6ab6a723ddbe1e.tar.bz2 libvpx-50916c6a7da357eeee43c36b4d6ab6a723ddbe1e.zip |
remove some magic weights associated with sad_per_bit
sad_per_bit has been used for a number of motion vector search routines
with different magic weights: 1, 1/2 and 1/4. This commit remove these
magic numbers and use 1/2 for all motion search routines, also reformat
a number of source code lines to within 80 column limit.
Test on cif set shows overall effect is neutral on all metrics. <=0.01%
Change-Id: I8a382821fa4cffc9c0acf8e8431435a03df74885
Diffstat (limited to 'vp8/encoder/onyx_if.c')
0 files changed, 0 insertions, 0 deletions