Reduce unnecessary distortion computation
authorYunqing Wang <yunqingwang@google.com>
Thu, 14 Apr 2011 19:53:33 +0000 (15:53 -0400)
committerYunqing Wang <yunqingwang@google.com>
Thu, 14 Apr 2011 19:53:33 +0000 (15:53 -0400)
commit918fb5487ee3c3722415e176433b380d07672310
tree20748a4ceef27b4aca77bb648abf4f2183dcdc0a
parentfd090092272701ec4b469d8c545a343ecdf8fd0e
Reduce unnecessary distortion computation

In vp8_pick_inter_mode(), for NEWMV mode, use the error result got
from motion search as distortion. This helps performance in real-
time mode.

Change-Id: I398c4e46cc5381f7d874e748cf78827ef0e0860c
vp8/encoder/mcomp.c
vp8/encoder/mcomp.h
vp8/encoder/pickinter.c
vp8/encoder/rdopt.c
vp8/encoder/temporal_filter.c