]> granicus.if.org Git - libvpx/commit
postproc: allocate enough memory for limits buffer
authorJohn Koleszar <jkoleszar@google.com>
Mon, 22 Oct 2012 21:21:59 +0000 (14:21 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Mon, 22 Oct 2012 22:07:52 +0000 (15:07 -0700)
commit861a6bbbfdbaf7e1aedff0be9078b76fd0f214b1
tree2545cd48bd21a87d8c29742572c60bcaf5569081
parent4cf4c94ad1668dd140e2185497192d92c35d98ea
postproc: allocate enough memory for limits buffer

The vp8_post_proc_down_and_across_mb_row_sse2() needs space for an
even number of macroblocks, as they are read two at a time for the
chroma planes. Round up the width during the allocation of
pp_limits_buffer to support this.

Change-Id: Ibfc10c7be290d961ab23ac3dde12a7bb96c12af0
vp8/common/alloccommon.c