harmony 鸿蒙OH_NativeBuffer_Config

2023-10-30 浏览 (616)

OH_NativeBuffer_Config

Overview

The OH_NativeBuffer_Config struct defines the OH_NativeBuffer attribute configuration, which is used when you apply for a new OH_NativeBuffer instance or query the attributes of an existing instance.

@syscap SystemCapability.Graphic.Graphic2D.OH_NativeBuffer

Since

9

Related Modules

OH_NativeBuffer

Summary

Member Variables

NameDescription
widthWidth, in pixels.
heightHeight, in pixels.
formatPixel map format.
usageDescription of the buffer usage.
strideStride of the local window buffer.

Member Variable Description

format

int32_t OH_NativeBuffer_Config::format

Description

Pixel map format.

height

int32_t OH_NativeBuffer_Config::height

Description

Height, in pixels.

stride

int32_t OH_NativeBuffer_Config::stride

Description

Stride of the local window buffer.

Since

10

usage

int32_t OH_NativeBuffer_Config::usage

Description

Description of the buffer usage.

width

int32_t OH_NativeBuffer_Config::width

Description

Width, in pixels.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

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