Rationalize vp8_rd_pick_intra16x16mby_mode()
authorPaul Wilkins <paulwilkins@google.com>
Wed, 26 Jan 2011 18:46:34 +0000 (18:46 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Wed, 26 Jan 2011 18:46:34 +0000 (18:46 +0000)
commit35bb74a6bd0cfc626f0b88eb3b854b2d8a080668
tree9070c925d13c588d329ad15021bc11847de36bfc
parente8e09d33df6d9ea0f93307fddfcfa402198b09cc
Rationalize vp8_rd_pick_intra16x16mby_mode()

Use the function macro_block_yrd() to calculate error and distortion
in keeping with what is done for inter frames.

The old code was using a variance metric for once case and an
SSE function for measuring distortion in the other case.

The function vp8_encode_intra16x16mbyrd() is no longer used.

Change-Id: Ic228cb00a78ff637f4365b43f58fbe5a9273d36f
vp8/encoder/encodeintra.c
vp8/encoder/encodeintra.h
vp8/encoder/rdopt.c