From da1d03c36ceb61ac881b27ae4f1b12c9e3621443 Mon Sep 17 00:00:00 2001 From: chen0088 Date: Wed, 14 May 2025 17:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B8=B8=E9=87=8F=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chen0088 --- services/channel/include/dcamera_low_latency.h | 4 +++- services/channel/src/dcamera_low_latency.cpp | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/services/channel/include/dcamera_low_latency.h b/services/channel/include/dcamera_low_latency.h index ce89428a..8e412446 100644 --- a/services/channel/include/dcamera_low_latency.h +++ b/services/channel/include/dcamera_low_latency.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -35,6 +35,8 @@ private: private: constexpr static int32_t REF_INITIAL = 0; constexpr static int32_t REF_NORMAL = 1; + const std::string DH_TYPE = "dh_type"; + const std::string LOW_LATENCY_ENABLE = "low_latency_enable"; std::shared_ptr dHFwkKit_; std::mutex dHFwkKitMutex_; std::atomic refCount_ = 0; diff --git a/services/channel/src/dcamera_low_latency.cpp b/services/channel/src/dcamera_low_latency.cpp index a528c1a7..24e4824f 100644 --- a/services/channel/src/dcamera_low_latency.cpp +++ b/services/channel/src/dcamera_low_latency.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -13,7 +13,6 @@ * limitations under the License. */ -#include "constants.h" #include "dcamera_low_latency.h" #include "device_type.h" #include "distributed_camera_errno.h" -- Gitee