]> granicus.if.org Git - libvpx/commit
Don't recalculate mv_ref costs for each block/partition.
authorRonald S. Bultje <rbultje@google.com>
Wed, 3 Jul 2013 17:54:36 +0000 (10:54 -0700)
committerRonald S. Bultje <rbultje@google.com>
Mon, 8 Jul 2013 23:22:39 +0000 (16:22 -0700)
commit8fde07a3aeef421ed7b15c424e7fad2ede46f9bf
tree9311f4611f680ef043f4df070e01edcd6cd67721
parent5a73254918b7f37582a606a6621a9eb0d05abb06
Don't recalculate mv_ref costs for each block/partition.

Changes cost_mv_ref() into doing a LUT into pre-calculated cost
arrays instead. Encode time of first 50 frames of bus (speed 0)
@ 1500kbps goes from 2min11.6 to 2min10.9, i.e. 0.5% faster overall.

Change-Id: If186e92c34c201b29cbbc058785a15c9c09e433a
vp9/encoder/vp9_block.h
vp9/encoder/vp9_rdopt.c