diff --git a/multimedia/camera_framework/camera.h b/multimedia/camera_framework/camera.h index 5dace12f1ffeb111228510ab4835efd27798f999..ea4231224401655ea6b19d80fb89017d684447f2 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 34ea4d17f5288707b307bb5394703ced8186b0b6..6448626cf260d966a518729a655bb15560ffa117 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(