提交 55838fde 编写于 作者: Z zengyawen

update docs

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 d015a23c
...@@ -55,7 +55,7 @@ Provides the common structs, character constants, and enums for running **OH_AVC ...@@ -55,7 +55,7 @@ Provides the common structs, character constants, and enums for running **OH_AVC
| [OH_AACProfile](#oh_aacprofile) { **AAC_PROFILE_LC** = 0 } | Enumerates the AAC profiles. | | [OH_AACProfile](#oh_aacprofile) { **AAC_PROFILE_LC** = 0 } | Enumerates the AAC profiles. |
### 变量 ### Variables
| Name | Description | | Name | Description |
| -------- | -------- | | -------- | -------- |
...@@ -316,7 +316,7 @@ Enumerates the media types. ...@@ -316,7 +316,7 @@ Enumerates the media types.
| MEDIA_TYPE_VID | Video track. | | MEDIA_TYPE_VID | Video track. |
## 变量说明 ## Variable Description
### flags ### flags
......
...@@ -761,7 +761,17 @@ Obtains the type information of the specified device. ...@@ -761,7 +761,17 @@ Obtains the type information of the specified device.
- **OH_NN_ACCELERATOR**: machine learning dedicated accelerator. - **OH_NN_ACCELERATOR**: machine learning dedicated accelerator.
- **OH_NN_OTHERS**: other hardware types. - **OH_NN_OTHERS**: other hardware types.
参数返回Execution result of the function. If the operation is successful, **OH_NN_SUCCESS** is returned. If the operation fails, an error code is returned. For details about the error codes, see [OH_NN_ReturnCode](#oh_nn_returncode). since 9 版本1.0
**Parameters**
| Name | Description |
| -------- | -------- |
| deviceID | Device ID. |
| deviceType | Pointer to the [OH_NN_DeviceType](#oh_nn_devicetype) instance. The device type information is returned. |
**Returns**
Execution result of the function. If the operation is successful, **OH_NN_SUCCESS** is returned. If the operation fails, an error code is returned. For details about the error codes, see [OH_NN_ReturnCode](#oh_nn_returncode). since 9 版本1.0
### OH_NNExecutor_AllocateInputMemory() ### OH_NNExecutor_AllocateInputMemory()
......
...@@ -42,4 +42,6 @@ struct Rect Region::*rects ...@@ -42,4 +42,6 @@ struct Rect Region::*rects
``` ```
**Description**<br> **Description**<br>
If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default. If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default.
\ No newline at end of file
<!--no_check-->
\ No newline at end of file
...@@ -50,7 +50,7 @@ Declares the common structs, character constants, and enums for running **OH_AVC ...@@ -50,7 +50,7 @@ Declares the common structs, character constants, and enums for running **OH_AVC
| [OH_AACProfile](_codec_base.md#oh_aacprofile) { AAC_PROFILE_LC = 0 } | Enumerates the AAC profiles. | | [OH_AACProfile](_codec_base.md#oh_aacprofile) { AAC_PROFILE_LC = 0 } | Enumerates the AAC profiles. |
### 变量 ### Variables
| Name | Description | | Name | Description |
| -------- | -------- | | -------- | -------- |
......
...@@ -29,7 +29,7 @@ You can use the resource manager to open a rawfile and perform operations such a ...@@ -29,7 +29,7 @@ You can use the resource manager to open a rawfile and perform operations such a
| Name | Description | | Name | Description |
| -------- | -------- | | -------- | -------- |
| [OH_ResourceManager_InitNativeResourceManager](#oh_resourcemanager_initnativeresourcemanager) (napi_env env, napi_value jsResMgr) | Obtains the native resource manager based on JavaScipt resource manager. | | [OH_ResourceManager_InitNativeResourceManager](rawfile.md#oh_resourcemanager_initnativeresourcemanager) (napi_env env, napi_value jsResMgr) | Obtains the native resource manager based on JavaScipt resource manager. |
| [OH_ResourceManager_ReleaseNativeResourceManager](#oh_resourcemanager_releasenativeresourcemanager) ([NativeResourceManager](#nativeresourcemanager) \*resMgr) | Releases a native resource manager. | | [OH_ResourceManager_ReleaseNativeResourceManager](rawfile.md#oh_resourcemanager_releasenativeresourcemanager) ([NativeResourceManager](rawfile.md#nativeresourcemanager) \*resMgr) | Releases a native resource manager. |
| [OH_ResourceManager_OpenRawDir](#oh_resourcemanager_openrawdir) (const [NativeResourceManager](#nativeresourcemanager) \*mgr, const char \*dirName) | Opens a rawfile directory. | | [OH_ResourceManager_OpenRawDir](rawfile.md#oh_resourcemanager_openrawdir) (const [NativeResourceManager](rawfile.md#nativeresourcemanager) \*mgr, const char \*dirName) | Opens a rawfile directory. |
| [OH_ResourceManager_OpenRawFile](#oh_resourcemanager_openrawfile) (const [NativeResourceManager](#nativeresourcemanager) \*mgr, const char \*fileName) | Opens a rawfile. | | [OH_ResourceManager_OpenRawFile](rawfile.md#oh_resourcemanager_openrawfile) (const [NativeResourceManager](rawfile.md#nativeresourcemanager) \*mgr, const char \*fileName) | Opens a rawfile. |
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册