OhosPixelMapInfos
typedef struct OhosPixelMapInfos {...} OhosPixelMapInfos
Overview
The struct describes the information about a PixelMap.
Since: 10
Related module: Image
Header file: image_pixel_map_mdk.h
Summary
Member Variables
| Name | Description |
|---|---|
| uint32_t width | Image width, in pixels. |
| uint32_t height | Image height, in pixels. |
| uint32_t rowSize | Number of bytes that each row of the image occupies in the memory. 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. |
| int32_t pixelFormat | Pixel format. |
你可能感兴趣的鸿蒙文章
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