From dd442d40feaefcf26ebe21c42c498923f7fe514f Mon Sep 17 00:00:00 2001 From: wangdongyusky <15222869+wangdongyusky@user.noreply.gitee.com> Date: Fri, 30 May 2025 10:04:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BD=E5=B9=B3=E8=A1=A1=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wang --- multimedia/camera_framework/camera.h | 4 +-- multimedia/camera_framework/capture_session.h | 32 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/multimedia/camera_framework/camera.h b/multimedia/camera_framework/camera.h index 5dace12f1..ea4231224 100644 --- a/multimedia/camera_framework/camera.h +++ b/multimedia/camera_framework/camera.h @@ -1160,7 +1160,7 @@ typedef struct Camera_ConcurrentInfo { */ typedef enum Camera_WhiteBalanceMode { /** - * Auto white balance mode. + * Automatic white balance mode. */ CAMERA_WHITE_BALANCE_MODE_AUTO = 0, @@ -1190,7 +1190,7 @@ typedef enum Camera_WhiteBalanceMode { CAMERA_WHITE_BALANCE_MODE_MANUAL = 5, /** - * Locked white balance mode. + * Lock white balance mode. */ CAMERA_WHITE_BALANCE_MODE_LOCKED = 6 } Camera_WhiteBalanceMode; diff --git a/multimedia/camera_framework/capture_session.h b/multimedia/camera_framework/capture_session.h index 34ea4d17f..6448626cf 100644 --- a/multimedia/camera_framework/capture_session.h +++ b/multimedia/camera_framework/capture_session.h @@ -959,7 +959,7 @@ Camera_ErrorCode OH_CaptureSession_EnableMacro(Camera_CaptureSession* session, b /** * @brief Checks whether the specified white balance mode is supported. * - * @param session Pointer to an {@link Camera_CaptureSession} instance. + * @param session Pointer to a {@link Camera_CaptureSession} instance. * @param whiteBalanceMode White balance mode. * @param isSupported Pointer to the check result. * @return Result code. @@ -974,12 +974,12 @@ Camera_ErrorCode OH_CaptureSession_IsWhiteBalanceModeSupported( /** * @brief Obtains the white balance mode in use. * - * @param session Pointer to an {@link Camera_CaptureSession} instance. + * @param session Pointer to a {@link Camera_CaptureSession} instance. * @param whiteBalanceMode Pointer to the white balance mode. * @return Result code. * {@link #CAMERA_OK} is returned if the function is called successfully. - * {@link #CAMERA_INVALID_ARGUMENT} is returned if the input parameter is missing or the parameter type is incorrect. - * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the camera session is not configured. + * {@link #CAMERA_INVALID_ARGUMENT} is returned if an input parameter is missing or the parameter type is incorrect. + * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the session is not configured when the function is called. * @since 20 */ Camera_ErrorCode OH_CaptureSession_GetWhiteBalanceMode( @@ -988,13 +988,13 @@ Camera_ErrorCode OH_CaptureSession_GetWhiteBalanceMode( /** * @brief Obtains the supported white balance color temperature range. * - * @param session Pointer to an {@link Camera_CaptureSession} instance. + * @param session Pointer to a {@link Camera_CaptureSession} instance. * @param minColorTemperature Pointer to the minimum color temperature. * @param maxColorTemperature Pointer to the maximum color temperature. * @return Result code. * {@link #CAMERA_OK} is returned if the function is called successfully. - * {@link #CAMERA_INVALID_ARGUMENT} is returned if the input parameter is missing or the parameter type is incorrect. - * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the camera session is not configured. + * {@link #CAMERA_INVALID_ARGUMENT} is returned if an input parameter is missing or the parameter type is incorrect. + * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the session is not configured when the function is called. * @since 20 */ Camera_ErrorCode OH_CaptureSession_GetWhiteBalanceRange( @@ -1003,12 +1003,12 @@ Camera_ErrorCode OH_CaptureSession_GetWhiteBalanceRange( /** * @brief Obtains the white balance color temperature. * - * @param session Pointer to an {@link Camera_CaptureSession} instance. + * @param session Pointer to a {@link Camera_CaptureSession} instance. * @param colorTemperature Pointer to the color temperature. * @return Result code. * {@link #CAMERA_OK} is returned if the function is called successfully. - * {@link #CAMERA_INVALID_ARGUMENT} is returned if the input parameter is missing or the parameter type is incorrect. - * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the camera session is not configured. + * {@link #CAMERA_INVALID_ARGUMENT} is returned if an input parameter is missing or the parameter type is incorrect. + * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the session is not configured when the function is called. * @since 20 */ Camera_ErrorCode OH_CaptureSession_GetWhiteBalance(Camera_CaptureSession *session, int32_t *colorTemperature); @@ -1016,12 +1016,12 @@ Camera_ErrorCode OH_CaptureSession_GetWhiteBalance(Camera_CaptureSession *sessio /** * @brief Sets the white balance color temperature. * - * @param session Pointer to an {@link Camera_CaptureSession} instance. + * @param session Pointer to a {@link Camera_CaptureSession} instance. * @param colorTemperature Color temperature. * @return Result code. * {@link #CAMERA_OK} is returned if the function is called successfully. - * {@link #CAMERA_INVALID_ARGUMENT} is returned if the input parameter is missing or the parameter type is incorrect. - * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the camera session is not configured. + * {@link #CAMERA_INVALID_ARGUMENT} is returned if an input parameter is missing or the parameter type is incorrect. + * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the session is not configured when the function is called. * @since 20 */ Camera_ErrorCode OH_CaptureSession_SetWhiteBalance(Camera_CaptureSession *session, int32_t colorTemperature); @@ -1029,12 +1029,12 @@ Camera_ErrorCode OH_CaptureSession_SetWhiteBalance(Camera_CaptureSession *sessio /** * @brief Sets a white balance mode. * - * @param session Pointer to an {@link Camera_CaptureSession} instance. + * @param session Pointer to a {@link Camera_CaptureSession} instance. * @param whiteBalanceMode White balance mode. * @return Result code. * {@link #CAMERA_OK} is returned if the function is called successfully. - * {@link #CAMERA_INVALID_ARGUMENT} is returned if the input parameter is missing or the parameter type is incorrect. - * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the camera session is not configured. + * {@link #CAMERA_INVALID_ARGUMENT} is returned if an input parameter is missing or the parameter type is incorrect. + * {@link #CAMERA_SESSION_NOT_CONFIG} is returned if the session is not configured when the function is called. * @since 20 */ Camera_ErrorCode OH_CaptureSession_SetWhiteBalanceMode( -- Gitee