From c2b0dc46fc434ba83e5417b5ae731d41b0bc589e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=B8=85?= Date: Tue, 17 Aug 2021 12:13:01 +0000 Subject: [PATCH 1/4] Signed-off-by: mamingshuai --- .../subsys-multimedia-camera-photo-guide.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) 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 0e1ebbfecfc..f88cea1e0d6 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 GetCameraType() const;

+ +

获取相机朝向

+ + -- Gitee From 25fa8b907c2a0092f64bb9c9a96d5f1fa2195631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=B8=85?= Date: Tue, 17 Aug 2021 12:38:19 +0000 Subject: [PATCH 2/4] Signed-off-by: mamingshuai --- .../subsys-multimedia-camera-photo-guide.md | 49 +++++++++++++++++++ .../subsys-multimedia-camera-photo-guide.md | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) 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 d35bed7457c..e6484ac65b6 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;

+ +

Get 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);

+ +

Get vendor parameter.

+ + +

FrameConfig

+ +

void SetVendorParameter(uint8_t *value, uint32_t len);

+ +

Set vendor parameter.

+ + +

CameraInfo

+ +

int32_t GetCameraType() const;

+ +

Get camera type.

+ + +

CameraInfo

+ +

int32_t GetCameraFacingType() const;

+ +

Get camera facing type.

+ + 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 f88cea1e0d6..e0b36aed77c 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 @@ -290,7 +290,7 @@

CameraInfo

-

int32_t GetCameraType() const;

+

int32_t GetCameraFacingType() const;

获取相机朝向

-- Gitee From 9fccb3b728d352cb155f7f1811f03c816eddc9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=B8=85?= Date: Tue, 17 Aug 2021 12:59:14 +0000 Subject: [PATCH 3/4] Signed-off-by: mamingshuai --- en/device-dev/subsystems/subsys-multimedia-video-overview.md | 4 ++-- .../device-dev/subsystems/subsys-multimedia-video-overview.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/device-dev/subsystems/subsys-multimedia-video-overview.md b/en/device-dev/subsystems/subsys-multimedia-video-overview.md index 98b5b4ad048..421695541a5 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: The MPEG-4 AAC Profile (AAC LC), MPEG-3, mono and dual channels, and the MPEG-4 (.mp4 and .m4a), MPEG-3, 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: 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: The MPEG-4 AAC Profile (AAC LC), MPEG-3, mono and dual channels, and the MPEG-4 (.mp4 and .m4a), MPEG-3, container format 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-video-overview.md b/zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md index af7a50e52aa..db884c3989c 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-4格式解码,支持单/双声道,支持MPEG-3(.mp4,.m4a)、MPEG-3(.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-4格式解码,支持单/双声道,支持MPEG-4(.mp4,.m4a)、MPEG-3(.mp3)容器格式。
  • 视频解码:-
  • 音频编码:支持音频AAC_LC编码,支持单/双声道,支持MPEG-4(.mp4)容器格式。
  • 视频编码:支持视频H.264/H.265编码,支持MPEG-4(.mp4)容器格式。
-- Gitee From c16e23d6623ac7637a0af4d19e9172cce75232be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=B8=85?= Date: Wed, 18 Aug 2021 03:44:34 +0000 Subject: [PATCH 4/4] update zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md. mamingshuai --- zh-cn/device-dev/subsystems/subsys-multimedia-video-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 db884c3989c..82bef868c1d 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格式解码,支持单/双声道,支持MPEG-3(.mp4,.m4a)、MPEG-3(.mp3)容器格式。
  • 视频解码:支持H.265 HEVC/H.264 AVC格式解码(限自身编码码流),支持MPEG-4(.mp4)容器格式。
+
  • 音频解码:支持MPEG-4 AAC Profile (AAC LC)、MPEG-4格式解码,支持单/双声道,支持MPEG-4(.mp4,.m4a)、MPEG-3(.mp3)容器格式。
  • 视频解码:支持H.265 HEVC/H.264 AVC格式解码(限自身编码码流),支持MPEG-4(.mp4)容器格式。
  • 音频编码:支持音频AAC_LC编码,支持单/双声道,支持MPEG-4(.mp4)容器格式。
  • 视频编码:支持视频H.264/H.265编码,支持MPEG-4(.mp4)容器格式。
-- Gitee