diff --git a/en/device-dev/driver/driver-peripherals-camera-des.md b/en/device-dev/driver/driver-peripherals-camera-des.md
index 51667b52f5d0f509c409ed0cba529a31ec5249d7..9105ff4a834873f0280864657e0f5fbbf50ea8a4 100644
--- a/en/device-dev/driver/driver-peripherals-camera-des.md
+++ b/en/device-dev/driver/driver-peripherals-camera-des.md
@@ -96,7 +96,7 @@ The camera module encapsulates camera operations in camera preview, photographin
| API | Description |
| ------------------------------------------------------------ | -------------------------------- |
- | CamRetCode IsStreamsSupported(
OperationMode mode,
const std::shared_ptr\ &modeSetting,
const std::vector<std::shared_ptr<StreamInfo>> &info,
StreamSupportType &type) | Checks whether a stream can be added. |
+ | CamRetCode IsStreamsSupported(
OperationMode mode,
const std::shared_ptr\ &modeSetting,
const std::vector<std::shared_ptr<StreamInfo>> &info,
StreamSupportType &type) | Checks whether a stream can be added. |
| CamRetCode CreateStreams(const std::vector> &streamInfos) | Creates streams. |
| CamRetCode ReleaseStreams(const std::vector &streamIds) | Releases streams. |
| CamRetCode CommitStreams(OperationMode mode,
const std::shared_ptr &modeSetting) | Configure streams. |
@@ -363,7 +363,7 @@ To camera driver development procedure is as follows:
Use the **CommitStreams()** interface to configure the stream, including PipelineCore initialization and creation. It must be called after the stream is created.
```
- CamRetCode StreamOperatorImpl::CommitStreams(OperationMode mode, const std::shared_ptr& modeSetting)
+ CamRetCode StreamOperatorImpl::CommitStreams(OperationMode mode, const std::shared_ptr& modeSetting)
{
auto cameraDevice = cameraDevice_.lock();
if (cameraDevice == nullptr) {
@@ -404,7 +404,7 @@ To camera driver development procedure is as follows:
```
using CaptureInfo = struct _CaptureInfo {
std::vector streamIds_; // IDs of streams to be captured
- std::shared_ptr captureSetting_; // Camera ability can be obtained through the GetCameraAbility() interface of CameraHost.
+ std::shared_ptr captureSetting_; // Camera ability can be obtained through the GetCameraAbility() interface of CameraHost.
bool enableShutterCallback_;
};
```
diff --git a/zh-cn/device-dev/driver/driver-peripherals-camera-des.md b/zh-cn/device-dev/driver/driver-peripherals-camera-des.md
index 80a9b814b83dc2ffb60be9b72eeb81e04f738f64..4b529c1588a2b2960f1142e07b0a1c127fbc9819 100755
--- a/zh-cn/device-dev/driver/driver-peripherals-camera-des.md
+++ b/zh-cn/device-dev/driver/driver-peripherals-camera-des.md
@@ -96,7 +96,7 @@ Camera模块主要用以相机预览、拍照、视频流等场景下对相机
| 功能描述 | 接口名称 |
| -------------------------------- | ------------------------------------------------------------ |
- | 查询是否支持添加参数对应的流 | CamRetCode IsStreamsSupported(
OperationMode mode,
const std::shared_ptr\ &modeSetting,
const std::vector<std::shared_ptr<StreamInfo>> &info,
StreamSupportType &type) |
+ | 查询是否支持添加参数对应的流 | CamRetCode IsStreamsSupported(
OperationMode mode,
const std::shared_ptr\ &modeSetting,
const std::vector<std::shared_ptr<StreamInfo>> &info,
StreamSupportType &type) |
| 创建流 | CamRetCode CreateStreams(const std::vector> &streamInfos) |
| 释放流 | CamRetCode ReleaseStreams(const std::vector &streamIds) |
| 配置流 | CamRetCode CommitStreams(OperationMode mode,
const std::shared_ptr &modeSetting) |
@@ -363,7 +363,7 @@ Camera驱动的开发过程主要包含以下步骤:
CommitStreams()是配置流的接口,必须在创建流之后调用,其主要作用是初始化Pipeline和创建Pipeline。
```
- CamRetCode StreamOperatorImpl::CommitStreams(OperationMode mode, const std::shared_ptr& modeSetting)
+ CamRetCode StreamOperatorImpl::CommitStreams(OperationMode mode, const std::shared_ptr& modeSetting)
{
auto cameraDevice = cameraDevice_.lock();
if (cameraDevice == nullptr) {
@@ -404,7 +404,7 @@ Camera驱动的开发过程主要包含以下步骤:
```
using CaptureInfo = struct _CaptureInfo {
std::vector streamIds_; //需要Capture的streamIds
- std::shared_ptr captureSetting_; // 这里填充camera ability 可通过CameraHost 的GetCameraAbility()接口获取
+ std::shared_ptr captureSetting_; // 这里填充camera ability 可通过CameraHost 的GetCameraAbility()接口获取
bool enableShutterCallback_;
};
```