Calulating stride for Android native image 84/247784/6
authorCheng-Shiun Tsai <cheng.tsai@samsung.com>
Mon, 16 Nov 2020 14:17:52 +0000 (14:17 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 20 Nov 2020 10:45:16 +0000 (10:45 +0000)
commit38072a2158bae28d2f81e550878eee400154f41e
treea9f90f16b41d532956c6398ed0967791306d8fe8
parent9216b95f29d7ef8e9e83e74f848d4fa87b01a74a
Calulating stride for Android native image

Android AHardwareBuffer_Desc.stride doesn't seem to mean width * pixelbytes like other OS
instead it appears to be width in pixels but with padding.
Adding clause to reflect this fact

Change-Id: I3aaeeea5436bb5be0e1d5defac1c40b214e8af22
dali/internal/imaging/android/native-image-source-impl-android.cpp