OhosImageSourceOps

Overview

The OhosImageSourceOps struct defines the image source options. It is used in OH_ImageSource_Create and OH_ImageSource_CreateIncremental.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

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.