summaryrefslogtreecommitdiff
path: root/gralloc4/src/core/mali_gralloc_bufferdescriptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc4/src/core/mali_gralloc_bufferdescriptor.h')
-rw-r--r--gralloc4/src/core/mali_gralloc_bufferdescriptor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gralloc4/src/core/mali_gralloc_bufferdescriptor.h b/gralloc4/src/core/mali_gralloc_bufferdescriptor.h
index 826af79..657b2af 100644
--- a/gralloc4/src/core/mali_gralloc_bufferdescriptor.h
+++ b/gralloc4/src/core/mali_gralloc_bufferdescriptor.h
@@ -51,7 +51,7 @@ struct buffer_descriptor_t
* allocate the buffer.
*/
uint64_t alloc_sizes[MAX_PLANES];
- int pixel_stride;
+ uint64_t pixel_stride;
uint64_t alloc_format;
uint32_t fd_count;
uint32_t plane_count;
@@ -86,11 +86,11 @@ struct buffer_descriptor_t
"name(%s)"
"reserved_size(%" PRIu64 ") "
"alloc_sizes(%" PRIu64 ", %" PRIu64 ", %" PRIu64 ")"
- "pixel_stride(%d) alloc_format(0x%" PRIx64 ") fd_count(%d) "
+ "pixel_stride(%" PRIu64 ") alloc_format(0x%" PRIx64 ") fd_count(%d) "
"plane_count(%u) "
- "plane[0](offset %" PRId64 ", idx %u, size %" PRIu64 " byte_stride %u, wh %u %u)"
- "plane[1](offset %" PRId64 ", idx %u, size %" PRIu64 " byte_stride %u, wh %u %u)"
- "plane[2](offset %" PRId64 ", idx %u, size %" PRIu64 " byte_stride %u, wh %u %u)"
+ "plane[0](offset %" PRId64 ", idx %u, size %" PRIu64 " byte_stride %" PRIu64 ", wh %" PRIu64 " %" PRIu64 ")"
+ "plane[1](offset %" PRId64 ", idx %u, size %" PRIu64 " byte_stride %" PRIu64 ", wh %" PRIu64 " %" PRIu64 ")"
+ "plane[2](offset %" PRId64 ", idx %u, size %" PRIu64 " byte_stride %" PRIu64 ", wh %" PRIu64 " %" PRIu64 ")"
"\n",
str.c_str(),
width, height,