• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosPixelMapInfos
2
3## Overview
4
5The OhosPixelMapInfos struct describes the information about a PixelMap.
6
7**Since**: 10
8
9**Related module**: [Image](capi-image.md)
10
11**Header file**: [image_pixel_map_mdk.h](capi-image-pixel-map-mdk-h.md)
12
13## Summary
14
15### Member Variables
16
17| Name| Description|
18| -- | -- |
19| uint32_t width | Image width, in pixels.|
20| uint32_t height | Image height, in pixels.|
21| uint32_t rowSize | Number of bytes that each row of the image occupies in the memory.<br>In the case of DMA, the formula is as follows: Image width * Number of bytes of each pixel + Number of padding bytes at the end of each row. In the case of other types of memory, the formula is as follows: Image width * Number of bytes of each pixel.|
22| int32_t pixelFormat | Pixel format.|
23