diff --git a/en/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md b/en/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md
index d35bed7457c70bc19d6c66cdbca1267b7da37aec..d7b772d0cc9907e2c68637ae7e3cd906518470a8 100644
--- a/en/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md
+++ b/en/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md
@@ -57,6 +57,13 @@ Use the camera module APIs to capture frames \(photographing\).
Creates a Camera instance.
|
+CameraKit
+ |
+const CameraInfo *GetCameraInfo(std::string cameraId);
+ |
+Creates a CameraInfo instance.
+ |
+
Camera
|
string GetCameraId()
@@ -141,6 +148,20 @@ Use the camera module APIs to capture frames \(photographing\).
| Obtains the parameter value range based on a specified parameter key.
|
+CameraAbility
+ |
+std::list<int32_t> GetSupportedAfModes() const;
+ |
+Gets a list of supported autofocus modes.
+ |
+
+CameraAbility
+ |
+std::list<int32_t> GetSupportedAeModes() const;
+ |
+Gets a list of supported auto exposure modes.
+ |
+
CameraDevice
|
CameraDeviceCallback()
@@ -246,6 +267,34 @@ Use the camera module APIs to capture frames \(photographing\).
| Removes a surface.
|
+FrameConfig
+ |
+void GetVendorParameter(uint8_t *value, uint32_t len);
+ |
+Gets a vendor parameter.
+ |
+
+FrameConfig
+ |
+void SetVendorParameter(uint8_t *value, uint32_t len);
+ |
+Sets a vendor parameter.
+ |
+
+CameraInfo
+ |
+int32_t GetCameraType() const;
+ |
+Gets a camera type.
+ |
+
+CameraInfo
+ |
+int32_t GetCameraFacingType() const;
+ |
+Gets a camera facing type.
+ |
+
diff --git a/en/device-dev/subsystems/subsys-multimedia-video-overview.md b/en/device-dev/subsystems/subsys-multimedia-video-overview.md
index 98b5b4ad048a507a0a4fe21297b86ca6b158995d..9f3b0433a261a99a1b0e1b54d3301af09adad541 100644
--- a/en/device-dev/subsystems/subsys-multimedia-video-overview.md
+++ b/en/device-dev/subsystems/subsys-multimedia-video-overview.md
@@ -51,7 +51,7 @@ Available audio and video encoding and decoding capabilities vary depending on d
Hi3516
|
-- Audio: The MPEG-4 AAC Profile (AAC LC), mono and dual channels, and the MPEG-4 (.mp4 and .m4a) container format are supported.
- Video: The H.265 (HEVC) and H.264 (AVC) (for streams encoded using a chip of the same type) and the MPEG-4 (.mp4) container format are supported.
+ | - Audio: MPEG-4 AAC Profile (AAC LC), MPEG Audio Layer 3 (MP3), mono and dual channels, MPEG-4 (.mp4 and .m4a), and MP3 (.mp3) are supported.
- Video: The H.265 (HEVC) and H.264 (AVC) (for streams encoded using a chip of the same type) and the MPEG-4 (.mp4) container format are supported.
|
- Audio: AAC-LC encoding, mono and dual channels, and the MPEG-4 (.mp4) container format are supported.
- Video: H.264 and H.265 encoding and the MPEG-4 (.mp4) container format are supported.
|
@@ -60,7 +60,7 @@ Available audio and video encoding and decoding capabilities vary depending on d
Hi3518
|
-- Audio: The MPEG-4 AAC Profile (AAC LC), mono and dual channels, and the MPEG-4 (.mp4 and .m4a) container format are supported.
- Video: none
+ | - Audio: MPEG-4 AAC Profile (AAC LC), MPEG Audio Layer 3 (MP3), mono and dual channels, MPEG-4 (.mp4 and .m4a), and MP3 (.mp3) are supported.
- Video: none
|
- Audio: AAC-LC encoding, mono and dual channels, and the MPEG-4 (.mp4) container format are supported.
- Video: H.264 and H.265 encoding and the MPEG-4 (.mp4) container format are supported.
|
diff --git a/zh-cn/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md b/zh-cn/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md
index 0e1ebbfecfc56b1d4eecf483c07c4c646cb85e0b..e0b36aed77c40460af653c70f6f2de1c96ef7baf 100644
--- a/zh-cn/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md
+++ b/zh-cn/device-dev/subsystems/subsys-multimedia-camera-photo-guide.md
@@ -57,6 +57,13 @@
创建camera实例
|
+CameraKit
+ |
+const CameraInfo *GetCameraInfo(std::string cameraId);
+ |
+创建cameraInfo实例
+ |
+
Camera
|
string GetCameraId()
@@ -141,6 +148,20 @@
| 获取支持的参数范围
|
+CameraAbility
+ |
+std::list<int32_t> GetSupportedAfModes() const;
+ |
+获取支持的自动对焦模式列表
+ |
+
+CameraAbility
+ |
+std::list<int32_t> GetSupportedAeModes() const;
+ |
+获取支持的自动曝光模式列表
+ |
+
CameraDevice
|
CameraDeviceCallback()
@@ -246,6 +267,34 @@
| 删除surface
|
+FrameConfig
+ |
+void GetVendorParameter(uint8_t *value, uint32_t len);
+ |
+获取自定义参数
+ |
+
+FrameConfig
+ |
+void SetVendorParameter(uint8_t *value, uint32_t len);
+ |
+设置自定义参数
+ |
+
+CameraInfo
+ |
+int32_t GetCameraType() const;
+ |
+获取相机类型
+ |
+
+CameraInfo
+ |
+int32_t GetCameraFacingType() const;
+ |
+获取相机朝向
+ |
+
diff --git a/zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md b/zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md
index af7a50e52aaee91fae662c7ec4e02da7d042eeff..442d452b40bbc88fe73ed2f290efc278711f5fa3 100755
--- a/zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md
+++ b/zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md
@@ -51,7 +51,7 @@ OpenHarmony音视频编解码能力取决于具体设备类型,以当前已支
Hi3516
|
-- 音频解码:支持MPEG-4 AAC Profile (AAC LC)格式解码,支持单/双声道,支持MPEG-4(.mp4,.m4a)容器格式。
- 视频解码:支持H.265 HEVC/H.264 AVC格式解码(限自身编码码流),支持MPEG-4(.mp4)容器格式。
+ | - 音频解码:支持MPEG-4 AAC Profile (AAC LC)、MPEG Audio Layer 3 (MP3)格式解码,支持单/双声道,支持MPEG-4(.mp4,.m4a)、MP3(.mp3)容器格式。
- 视频解码:支持H.265 HEVC/H.264 AVC格式解码(限自身编码码流),支持MPEG-4(.mp4)容器格式。
|
- 音频编码:支持音频AAC_LC编码,支持单/双声道,支持MPEG-4(.mp4)容器格式。
- 视频编码:支持视频H.264/H.265编码,支持MPEG-4(.mp4)容器格式。
|
@@ -60,7 +60,7 @@ OpenHarmony音视频编解码能力取决于具体设备类型,以当前已支
Hi3518
|
-- 音频解码:支持MPEG-4 AAC Profile (AAC LC)格式解码,支持单/双声道,支持MPEG-4(.mp4,.m4a)容器格式。
- 视频解码:-
+ | - 音频解码:支持MPEG-4 AAC Profile (AAC LC)、MPEG Audio Layer 3 (MP3)格式解码,支持单/双声道,支持MPEG-4(.mp4,.m4a)、MP3(.mp3)容器格式。
- 视频解码:-
|
- 音频编码:支持音频AAC_LC编码,支持单/双声道,支持MPEG-4(.mp4)容器格式。
- 视频编码:支持视频H.264/H.265编码,支持MPEG-4(.mp4)容器格式。
|