commit | 42f9d154b9c3bafed79545e886beb12ef29f243b | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Wed Oct 08 09:56:33 2014 -0700 |
committer | Zhijun He <zhijunhe@google.com> | Wed Oct 08 17:01:34 2014 +0000 |
tree | 8986c9c0f92bd281d7dcb423d9045ff25418ab2e | |
parent | 7ef034d4b1d6bcf38e720c32ed7dfd131675bd25 [diff] |
Camera2: fix data copy array out of bound issue We assumed that the Y stride was always larger or equal to chroma stride for YUV. This isn't a reasonable assumption as the chroma stride could be larger for interleaved UV format. This change uses the max row stride across all planes as the intermediate array size. Bug: 17913095 Change-Id: Idb390d27c39c364265f3a55c6ac4eaaa0b26bcf5