• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosImageSourceOps
2<!--Kit: Image Kit-->
3<!--Subsystem: Multimedia-->
4<!--Owner: @aulight02-->
5<!--SE: @liyang_bryan-->
6<!--TSE: @xchaosioda-->
7
8## Overview
9
10The OhosImageSourceOps struct describes the image source options. It is used in [OH_ImageSource_Create](capi-image-source-mdk-h.md#oh_imagesource_create) and [OH_ImageSource_CreateIncremental](capi-image-source-mdk-h.md#oh_imagesource_createincremental).
11
12**Since**: 10
13
14**Related module**: [Image](capi-image.md)
15
16**Header file**: [image_source_mdk.h](capi-image-source-mdk-h.md)
17
18## Summary
19
20### Member Variables
21
22| Name| Description|
23| -- | -- |
24| int32_t density | Pixel density of the image source.|
25| int32_t pixelFormat | Pixel format of the image source. It is usually used to describe the YUV buffer.|
26| struct [OhosImageSize](capi-image-ohosimagesize.md) size | Pixel width and height of the image source.|
27