Improve scale_factors struct
authorYunqing Wang <yunqingwang@google.com>
Fri, 18 Oct 2013 15:56:30 +0000 (08:56 -0700)
committerYunqing Wang <yunqingwang@google.com>
Tue, 22 Oct 2013 20:10:22 +0000 (13:10 -0700)
commit175c313a128fd3b543e73751dc2334af5c45a5fa
treefd5242ff2de904d2f10d756c60651a87ce9829db
parentf6d870f7ae6f968bdbc342af80c8f71fa98f2ac2
Improve scale_factors struct

The ref's scale_factors are set at frame level, and then copied for
each partition block. Since the struct members are mostly constant,
this patch separated the constant and non-constant members, and
reduced struct copying. This gave 0.5% ~ 1.4% decoder speed gain.

Change-Id: I94043bf5a6995c8042da52e5c661818dfa6f6d4c
vp9/common/vp9_onyxc_int.h
vp9/common/vp9_reconinter.c
vp9/common/vp9_reconinter.h
vp9/common/vp9_scale.c
vp9/common/vp9_scale.h
vp9/decoder/vp9_decodframe.c
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_temporal_filter.c