From a3314fcf4a8b2501363e7fac1c6d68b3151df04d Mon Sep 17 00:00:00 2001 From: chen0088 Date: Mon, 19 Jun 2023 16:09:09 +0800 Subject: [PATCH] fix:modify include file Signed-off-by: chen0088 --- bundle.json | 1 + services/data_process/BUILD.gn | 1 + .../multimedia_codec/encoder/encode_data_process.h | 3 +++ .../data_process/test/unittest/common/pipeline_node/BUILD.gn | 1 + 4 files changed, 6 insertions(+) diff --git a/bundle.json b/bundle.json index 958d4e38..60618b53 100644 --- a/bundle.json +++ b/bundle.json @@ -36,6 +36,7 @@ "graphic_standard", "distributed_hardware_fwk", "hdf_core", + "drivers_interface_display", "drivers_interface_distributed_camera", "c_utils", "dsoftbus", diff --git a/services/data_process/BUILD.gn b/services/data_process/BUILD.gn index 11de1cc9..7b32e70d 100644 --- a/services/data_process/BUILD.gn +++ b/services/data_process/BUILD.gn @@ -91,6 +91,7 @@ ohos_shared_library("distributed_camera_data_process") { external_deps = [ "c_utils:utils", + "drivers_interface_display:libdisplay_composer_stub_1.0", "eventhandler:libeventhandler", "graphic_standard:surface", "hitrace_native:hitrace_meter", diff --git a/services/data_process/include/pipeline_node/multimedia_codec/encoder/encode_data_process.h b/services/data_process/include/pipeline_node/multimedia_codec/encoder/encode_data_process.h index e880bfd2..e81ac8fb 100644 --- a/services/data_process/include/pipeline_node/multimedia_codec/encoder/encode_data_process.h +++ b/services/data_process/include/pipeline_node/multimedia_codec/encoder/encode_data_process.h @@ -35,8 +35,11 @@ #include "image_common_type.h" #include "distributed_camera_constants.h" +#include "v1_0/display_composer_type.h" + namespace OHOS { namespace DistributedHardware { +using namespace OHOS::HDI::Display::Composer::V1_0; class DCameraPipelineSink; class EncodeVideoCallback; diff --git a/services/data_process/test/unittest/common/pipeline_node/BUILD.gn b/services/data_process/test/unittest/common/pipeline_node/BUILD.gn index b8db0cb1..5ee54a2f 100644 --- a/services/data_process/test/unittest/common/pipeline_node/BUILD.gn +++ b/services/data_process/test/unittest/common/pipeline_node/BUILD.gn @@ -69,6 +69,7 @@ ohos_unittest("DCameraDataProcessPipelineNodeTest") { external_deps = [ "c_utils:utils", + "drivers_interface_display:libdisplay_composer_stub_1.0", "eventhandler:libeventhandler", "graphic_standard:surface", "hitrace_native:hitrace_meter", -- Gitee