harmony 鸿蒙OH_NativeBuffer_Plane

  • 2025-06-12
  • 浏览 (5)

OH_NativeBuffer_Plane

Overview

The OH_NativeBuffer_Plane struct describes the plane information of an image.

System capability: SystemCapability.Graphic.Graphic2D.NativeBuffer

Since: 12

Related module: OH_NativeBuffer

Header file: native_buffer.h

Summary

Member Variables

Name Description
uint64_t offset Offset of the image plane, in bytes.
uint32_t rowStride Distance from the first value in an image row to the first value in the next row, in bytes.
uint32_t columnStride Distance from the first value in an image column to the first value in the next column, in bytes.

Member Variable Description

columnStride

uint32_t OH_NativeBuffer_Plane::columnStride

Description

Distance from the first value in an image column to the first value in the next column, in bytes.

offset

uint64_t OH_NativeBuffer_Plane::offset

Description

Offset of the image plane, in bytes.

rowStride

uint32_t OH_NativeBuffer_Plane::rowStride

Description

Distance from the first value in an image row to the first value in the next row, in bytes.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

0  赞