openharmony 鸿蒙 capi-image-ohosimagesourceops

2026-08-25 浏览 (1)

OhosImageSourceOps

struct OhosImageSourceOps {...}

Overview

The struct describes the image source options. It is used in OH_ImageSource_CreateFromUri, OH_ImageSource_CreateFromFd, OH_ImageSource_CreateFromData, and OH_ImageSource_CreateIncremental.

Since: 10

Related module: Image

Header file: image_source_mdk.h

Summary

Member Variables

NameDescription
int32_t densityPixel density of the image source.
int32_t pixelFormatPixel format of the image source. It is usually used to describe the YUV buffer.
struct OhosImageSize sizePixel width and height of the image source.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue

openharmony 鸿蒙 capi-image-imagepacker-opts-

openharmony 鸿蒙 capi-image-nativemodule-image-region

openharmony 鸿蒙 capi-image-imagepacker-native-

openharmony 鸿蒙 capi-image-imagenative-

openharmony 鸿蒙 capi-image-processing-h

openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat

openharmony 鸿蒙 capi-image-nativemodule-image-size

openharmony 鸿蒙 capi-image-mdk-h

openharmony 鸿蒙 capi-image-ohosimagesourcedelaytimelist

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