]> granicus.if.org Git - libvpx/commit
vp9: Reduce stack usage of choose_partioning.
authorJerome Jiang <jianj@google.com>
Mon, 30 Oct 2017 20:24:29 +0000 (13:24 -0700)
committerJerome Jiang <jianj@google.com>
Mon, 30 Oct 2017 20:53:20 +0000 (13:53 -0700)
commitcc47231187c2b259ccbc4f0095f9940bc92d638c
tree9c857fdbd9ff7bb1aa61cdb50dc1ef937eef8da8
parent401e6d48bfd3cbf74a41da724d05c989e207662b
vp9: Reduce stack usage of choose_partioning.

Change type of sum_square_error from int64_t to uint32_t.
Change type of sum_error from int64_t to int32_t.

This reduces the stack usage from ~131K to ~87K.

BUG=b/68362457

Change-Id: I147d7c7b226bceb4f0817bb86848e1fa9d9ac149
vp9/encoder/vp9_encodeframe.c