commit | da227b901d5f97e1ffbbb7ffe3fddf8d015164cd | [log] [tgz] |
---|---|---|
author | Yunqing Wang <yunqingwang@google.com> | Wed Feb 16 12:00:25 2011 -0500 |
committer | Yunqing Wang <yunqingwang@google.com> | Wed Feb 16 12:57:17 2011 -0500 |
tree | c473fea6d5786c03643816dc5d6d4c48294720cc | |
parent | 7725a7eb56e74ebbdba14d01cfe85a151f81bf1c [diff] |
Allocate source buffers to be multiples of 16 Currently, when the video frame width is not multiples of 16, the source buffer has a stride of non-multiples of 16, which forces an unaligned load in SAD function and hurts the performance. To avoid that, this change allocates source buffers to be multiples of 16. Change-Id: Ib7506e3eb2cea06657d56be5a899f38dfe3eeb39