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 2026年08月27日 UTC.