harmony 鸿蒙OH_NativeBuffer_Plane

2025-06-12 浏览 (1)

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

NameDescription
uint64_t offsetOffset of the image plane, in bytes.
uint32_t rowStrideDistance from the first value in an image row to the first value in the next row, in bytes.
uint32_t columnStrideDistance 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

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/midG63