Skip to content

Commit

Permalink
Fixed parameter list
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-iizuka committed Dec 8, 2021
1 parent f441320 commit 366e8f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/ion-bb-image-io/bb.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ class U3VCamera1 : public ion::BuildingBlock<U3VCamera1<T, D>> {
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<bool>(frame_sync), pixel_format_buf_cpy}, type_of<uint32_t>(), 1);
camera_frame_count.define_extern("camera_frame_count", { 1, static_cast<bool>(frame_sync), pixel_format_buf_cpy}, type_of<uint32_t>(), 1);
camera_frame_count.compute_root();
frame_count(_) = camera_frame_count(_);
}
Expand Down Expand Up @@ -656,8 +656,7 @@ class U3VCamera2 : public ion::BuildingBlock<U3VCamera2<T, D>> {
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<bool>(frame_sync), pixel_format_buf_cpy}, type_of<uint32_t>(), 1);
camera_frame_count.define_extern("camera_frame_count", { 2, static_cast<bool>(frame_sync), pixel_format_buf_cpy}, type_of<uint32_t>(), 1);
camera_frame_count.compute_root();
frame_count(_) = camera_frame_count(_);
}
Expand Down

0 comments on commit 366e8f6

Please sign in to comment.