diff --git a/services/channel/include/dcamera_low_latency.h b/services/channel/include/dcamera_low_latency.h index ce89428a70937a2e4e615c6c9b0be597588ece09..8e412446add157479233ef1ceb09af3fab2ee38f 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 a528c1a78b43662daa1d02cf13afb325725c1a67..24e4824f5201b74f33fae0f3b86d75f6e6a2a453 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"