Eliminated prev_mip memsets/memcpys
authorScott LaVarnway <slavarnway@google.com>
Fri, 19 Apr 2013 20:32:15 +0000 (16:32 -0400)
committerScott LaVarnway <slavarnway@google.com>
Fri, 19 Apr 2013 22:38:10 +0000 (18:38 -0400)
commit9662531d77d6a47e7d7cdc6b0c5d9f3388507c8f
treefcf3589755b80165c6a745c52b1c0ec3a101b0ac
parentd4c97f949f9e4ffe3461feacc8adb639c2824d49
Eliminated prev_mip  memsets/memcpys

For 1080 material, this buffer is currently 2,270,928 bytes.  This patch swaps
ptrs instead of copying and uses the last show_frame flag instead of setting
the entire buffer to zero.  For the test clip used, the decoder improved by up
to 1%.

Change-Id: I686825712ad56043e09ada9808dc489f875a6ce0
vp9/common/vp9_alloccommon.c
vp9/common/vp9_entropymode.c
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodemv.c
vp9/decoder/vp9_decodframe.c
vp9/decoder/vp9_onyxd_if.c