diff --git a/bundle.json b/bundle.json index 958d4e38d39286f11ea71944857c289ea9d7abf1..60618b53e4a68a44a9a472b15fe4d27615a96dd1 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 11de1cc9b8d9cc847fc97a0f91774b048b0063c6..7b32e70dcb742413be2a9a24d18689804d01a190 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 e880bfd22d651dc6a1d870300707aa995c693694..e81ac8fb696d476848fc8d577284109374ac1eaf 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 b8db0cb1741512c83ed6a2d53da96b101be5589f..5ee54a2f550323803161998cfd44ccad9203cbfe 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",