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

- + @@ -60,7 +60,7 @@ Available audio and video encoding and decoding capabilities vary depending on d

Hi3518

- + 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

- + @@ -60,7 +60,7 @@ OpenHarmony音视频编解码能力取决于具体设备类型,以当前已支

Hi3518

- +