]> granicus.if.org Git - libvpx/commit
Fix allocation of context buffers on frame resize
authorAdrian Grange <agrange@google.com>
Thu, 24 Jul 2014 20:37:47 +0000 (13:37 -0700)
committerAdrian Grange <agrange@google.com>
Thu, 24 Jul 2014 21:07:45 +0000 (14:07 -0700)
commit423e8a9727b25d54de24630f9c042fd5bddf7c8d
treecad178809359340cad94b6b94a48110dcb2b7402
parent374c8859199ca9edc07d8a0cf66ea8ff8aec015f
Fix allocation of context buffers on frame resize

The patch:
https://gerrit.chromium.org/gerrit/#/c/70814/
changed the test that determined whether the context
frame buffers needed to be reallocated or not.

The code checked for a change in total frame area
to signal the need to reallocate context buffers.
However, the above_context buffer needs to be
resized i:xf only the width of the frame has increased.

Change-Id: Ib89d75651af252908144cf662578d84f16cf30e6
vp9/decoder/vp9_decodeframe.c