Stay organized with collections
Save and categorize content based on your preferences.
AHardwareBuffer_Plane
Holds data for a single image plane.
Summary
Public attributes
|
data
|
void *_Nullable
Points to first byte in plane.
|
pixelStride
|
uint32_t
Distance in bytes from the color channel of one pixel to the next.
|
rowStride
|
uint32_t
Distance in bytes from the first value of one row of the image to the first value of the next row.
|
Public attributes
data
Declared in android/hardware_buffer.h
void *_Nullable AHardwareBuffer_Plane::data
Points to first byte in plane.
pixelStride
Declared in android/hardware_buffer.h
uint32_t AHardwareBuffer_Plane::pixelStride
Distance in bytes from the color channel of one pixel to the next.
rowStride
Declared in android/hardware_buffer.h
uint32_t AHardwareBuffer_Plane::rowStride
Distance in bytes from the first value of one row of the image to the first value of the next row.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[],null,["# AHardwareBuffer_Plane Struct Reference\n\nAHardwareBuffer_Plane\n=====================\n\nHolds data for a single image plane.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|\n| [data](#struct_a_hardware_buffer___plane_1a5148dfe291cc78d9ffecdee806f38713) | `void *_Nullable` Points to first byte in plane. |\n| [pixelStride](#struct_a_hardware_buffer___plane_1a9ecfef2d28a6c9e6936f25e50ddfc108) | `uint32_t` Distance in bytes from the color channel of one pixel to the next. |\n| [rowStride](#struct_a_hardware_buffer___plane_1a1bf66c412aafd59924d434d5e00e306c) | `uint32_t` Distance in bytes from the first value of one row of the image to the first value of the next row. |\n\nPublic attributes\n-----------------\n\n### data\n\nDeclared in `android/hardware_buffer.h` \n\n```scdoc\nvoid *_Nullable AHardwareBuffer_Plane::data\n``` \nPoints to first byte in plane. \n\n### pixelStride\n\nDeclared in `android/hardware_buffer.h` \n\n```scdoc\nuint32_t AHardwareBuffer_Plane::pixelStride\n``` \nDistance in bytes from the color channel of one pixel to the next. \n\n### rowStride\n\nDeclared in `android/hardware_buffer.h` \n\n```scdoc\nuint32_t AHardwareBuffer_Plane::rowStride\n``` \nDistance in bytes from the first value of one row of the image to the first value of the next row."]]