From 73071c10d27923212f7893899f3e2ebc0c60f3bf Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Sat, 14 Mar 2026 16:09:57 +0800 Subject: [PATCH] Avoid dma sync dependency in shoe plugin --- plugins/ai_shoe_det/ai_shoe_det_node.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/ai_shoe_det/ai_shoe_det_node.cpp b/plugins/ai_shoe_det/ai_shoe_det_node.cpp index 3d289ea..26c20d1 100644 --- a/plugins/ai_shoe_det/ai_shoe_det_node.cpp +++ b/plugins/ai_shoe_det/ai_shoe_det_node.cpp @@ -592,13 +592,11 @@ private: const size_t packed_size = static_cast(model_w_) * static_cast(model_h_) * 3; if (resized_data && resized_stride > 0) { if (packed_size > input_buf_.size()) input_buf_.resize(packed_size); - if (resized_frame.DmaFd() >= 0) resized_frame.SyncStart(); for (int row = 0; row < model_h_; ++row) { memcpy(input_buf_.data() + static_cast(row) * static_cast(model_w_) * 3, resized_data + static_cast(row) * static_cast(resized_stride), static_cast(model_w_) * 3); } - if (resized_frame.DmaFd() >= 0) resized_frame.SyncEnd(); model_input_data = input_buf_.data(); model_input_size = packed_size; }