commit | dfd5e33940375d3993831e682efbd6c539dc96d3 | [log] [tgz] |
---|---|---|
author | Naseer Ahmed <naseer@codeaurora.org> | Mon Mar 20 12:36:43 2017 -0400 |
committer | Naseer Ahmed <naseer@codeaurora.org> | Mon Mar 20 12:43:12 2017 -0400 |
tree | 9b1bcc73803a3436fa7137bc24650098a0cc3aec | |
parent | 29a86ddd3e31f55713c934aa9404487bde159820 [diff] [blame] |
gralloc1: Fix RAW10 stride CRs-Fixed: 2022063 Change-Id: Icb6fcc09e5eeea21d49c92b77b22fb2e4fabe615
diff --git a/libgralloc1/gr_allocator.cpp b/libgralloc1/gr_allocator.cpp index c044827..4b20fc3 100644 --- a/libgralloc1/gr_allocator.cpp +++ b/libgralloc1/gr_allocator.cpp
@@ -784,7 +784,7 @@ aligned_w = ALIGN(width, 16); break; case HAL_PIXEL_FORMAT_RAW10: - aligned_w = ALIGN(width * 10 / 8, 16); + aligned_w = ALIGN(width * 10 / 8, 8); break; case HAL_PIXEL_FORMAT_RAW8: aligned_w = ALIGN(width, 8);