# AHardwareBuffer_Plane

Holds data for a single image plane.

## Summary

| ### Public attributes ||
|---|---|
| `https://developer.android.com/ndk/reference/struct/a-hardware-buffer-plane#struct_a_hardware_buffer___plane_1a5148dfe291cc78d9ffecdee806f38713` | `void *https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga0890a8f74983b96e76f6b8748543032d` Points to first byte in plane. |
| `https://developer.android.com/ndk/reference/struct/a-hardware-buffer-plane#struct_a_hardware_buffer___plane_1a9ecfef2d28a6c9e6936f25e50ddfc108` | `uint32_t` Distance in bytes from the color channel of one pixel to the next. |
| `https://developer.android.com/ndk/reference/struct/a-hardware-buffer-plane#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. |

## 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.