• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_NativeBuffer_Plane
2
3
4## Overview
5
6The OH_NativeBuffer_Plane struct describes the plane information of an image.
7
8**System capability**: SystemCapability.Graphic.Graphic2D.NativeBuffer
9
10**Since**: 12
11
12**Related module**: [OH_NativeBuffer](_o_h___native_buffer.md)
13
14
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| uint64_t [offset](#offset) | Offset of the image plane, in bytes. |
23| uint32_t [rowStride](#rowstride) | Distance from the first value in an image row to the first value in the next row, in bytes. |
24| uint32_t [columnStride](#columnstride) | Distance from the first value in an image column to the first value in the next column, in bytes. |
25
26
27## Member Variable Description
28
29
30### columnStride
31
32```
33uint32_t OH_NativeBuffer_Plane::columnStride
34```
35**Description**
36
37Distance from the first value in an image column to the first value in the next column, in bytes.
38
39
40### offset
41
42```
43uint64_t OH_NativeBuffer_Plane::offset
44```
45**Description**
46
47Offset of the image plane, in bytes.
48
49
50### rowStride
51
52```
53uint32_t OH_NativeBuffer_Plane::rowStride
54```
55**Description**
56
57Distance from the first value in an image row to the first value in the next row, in bytes.
58