commit | 0bd8b9cca67abefec5391d784c5412f58c0471b1 | [log] [tgz] |
---|---|---|
author | mtk10721 <Edward-HC.Tsai@mediatek.com> | Fri Jun 14 16:43:35 2019 +0800 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Tue Jun 18 11:42:46 2019 -0700 |
tree | d8d91a8f6ba38503deca13974c313560741b5b43 | |
parent | 94d4b6a63746836224a1e8cead0ea5cdac03fb11 [diff] |
Camera: fix more image copy/compare logic For image copy, use min(srcRowPitch, dstRowPitch) to avoid BufferOverflowException. For image compare, handle the case of different strides on Y plane properly. BUG: 122707142 Test: build pass and test the testcase for about 25 times, all passed. Change-Id: I43d3ba04cc3fd0cabdfd09be0c51b8a4338c6347