• Yaowu Xu's avatar
    remove some magic weights associated with sad_per_bit · 50916c6a
    Yaowu Xu authored
    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
mcomp.c 61.7 KB