未验证 提交 2ccfef45 编写于 作者: Z zengyawen 提交者: Gitee

update en/application-dev/reference/native-apis/image.md.

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 e296e1ce
......@@ -677,6 +677,31 @@ Returns OHOS_IMAGE_RESULT_SUCCESS if the operation is successful; returns an err
AccessPixels
### OH_PixelMap_AccessPixels()
```
int32_t OH_PixelMap_AccessPixels(const NativePixelMap* native, void** addr)
```
**Description:**<br/>
Obtains the memory address of a **NativePixelMap** object and locks the memory.
**Parameters**
| Name | Description |
| -------- | -------- |
| native | Indicates the pointer to a **NativePixelMap** object. |
| addr | Indicates the double pointer to the memory address. |
**Returns**
Returns OHOS_IMAGE_RESULT_SUCCESS if the operation is successful; returns an error code otherwise.
**See**
UnAccessPixels
### OH_UnAccessPixels()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册