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
| Name | Description |
|---|---|
| int32_t density | Pixel density of the image source. |
| int32_t pixelFormat | Pixel format of the image source. It is usually used to describe the YUV buffer. |
| struct OhosImageSize size | Pixel 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