harmony 鸿蒙OH_NativeBuffer_Config

  • 2022-10-28
  • 浏览 (395)

OH_NativeBuffer_Config

概述

OH_NativeBuffer的属性配置,用于申请新的OH_NativeBuffer实例或查询现有实例的相关属性。

\@syscap SystemCapability.Graphic.Graphic2D.OH_NativeBuffer

起始版本:

9

相关模块:

OH_NativeBuffer

汇总

成员变量

名称 描述
width 宽度(像素)。
height 高度(像素)。
format 像素格式。
usage buffer的用途说明。
stride 本地窗口缓冲区步幅。

结构体成员变量说明

format

int32_t OH_NativeBuffer_Config::format

描述:

像素格式

height

int32_t OH_NativeBuffer_Config::height

描述:

高度(像素)。

stride

int32_t OH_NativeBuffer_Config::stride

描述:

本地窗口缓冲区步幅。

起始版本:

10

usage

int32_t OH_NativeBuffer_Config::usage

描述:

buffer的用途说明。

width

int32_t OH_NativeBuffer_Config::width

描述:

宽度(像素)。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native API

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞