• 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**Header file**: [native_buffer.h](native__buffer_8h.md)
15
16## Summary
17
18
19### Member Variables
20
21| Name| Description|
22| -------- | -------- |
23| uint64_t [offset](#offset) | Offset of the image plane, in bytes. |
24| uint32_t [rowStride](#rowstride) | Distance from the first value in an image row to the first value in the next row, in bytes. |
25| uint32_t [columnStride](#columnstride) | Distance from the first value in an image column to the first value in the next column, in bytes. |
26
27
28## Member Variable Description
29
30
31### columnStride
32
33```
34uint32_t OH_NativeBuffer_Plane::columnStride
35```
36**Description**
37
38Distance from the first value in an image column to the first value in the next column, in bytes.
39
40
41### offset
42
43```
44uint64_t OH_NativeBuffer_Plane::offset
45```
46**Description**
47
48Offset of the image plane, in bytes.
49
50
51### rowStride
52
53```
54uint32_t OH_NativeBuffer_Plane::rowStride
55```
56**Description**
57
58Distance from the first value in an image row to the first value in the next row, in bytes.
59