From 366e8f6f9835be02366b26fe1e154e5803d6394d Mon Sep 17 00:00:00 2001 From: Takuro Iizuka Date: Wed, 8 Dec 2021 02:58:09 -0800 Subject: [PATCH] Fixed parameter list --- include/ion-bb-image-io/bb.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/ion-bb-image-io/bb.h b/include/ion-bb-image-io/bb.h index 6ce3926d..8c84db6a 100644 --- a/include/ion-bb-image-io/bb.h +++ b/include/ion-bb-image-io/bb.h @@ -594,7 +594,7 @@ class U3VCamera1 : public ion::BuildingBlock> { std::memcpy(pixel_format_buf_cpy.data(), pixel_format.c_str(), pixel_format.size()); Func camera_frame_count; - camera_frame_count.define_extern("camera_frame_count", { static_cast(frame_sync), pixel_format_buf_cpy}, type_of(), 1); + camera_frame_count.define_extern("camera_frame_count", { 1, static_cast(frame_sync), pixel_format_buf_cpy}, type_of(), 1); camera_frame_count.compute_root(); frame_count(_) = camera_frame_count(_); } @@ -656,8 +656,7 @@ class U3VCamera2 : public ion::BuildingBlock> { std::memcpy(pixel_format_buf_cpy.data(), pixel_format.c_str(), pixel_format.size()); Func camera_frame_count; - camera_frame_count.define_extern("camera_frame_count", - { static_cast(frame_sync), pixel_format_buf_cpy}, type_of(), 1); + camera_frame_count.define_extern("camera_frame_count", { 2, static_cast(frame_sync), pixel_format_buf_cpy}, type_of(), 1); camera_frame_count.compute_root(); frame_count(_) = camera_frame_count(_); }