harmony 鸿蒙OhosImageSource

2023-10-30 浏览 (501)

OhosImageSource

Overview

The OhosImageSource struct defines the input resource of an image source. Only one type of resource is accepted at a time. The image source is obtained by calling OH_ImageSource_Create.

@Syscap SystemCapability.Multimedia.Image

Since

10

Related Modules

Image

Summary

Member Variables

NameDescription
uri = nullptrDefines a pointer to the image source URI. Only a file URI or Base64 URI is accepted.
uriSize = 0Defines the length of the image source URI.
fd = -1Defines the descriptor of the image source.
buffer = nullptrDefines a pointer to the image source buffer. Only a formatted packet buffer or Base64 buffer is accepted.
bufferSize = 0Defines the size of the image source buffer.

你可能感兴趣的鸿蒙文章

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/d7c4cf30967e4be1b88886f56fa8f318