Skip to content

Commit

Permalink
Adding macro to lookup symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-iizuka committed Oct 31, 2023
1 parent 5fc44e6 commit a5bf2af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bb/image-io/rt_realsense.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ extern "C" int ION_EXPORT ion_bb_image_io_realsense_d435_infrared(halide_buffer_
return -1;
}
}
ION_REGISTER_EXTERN(ion_bb_image_io_realsense_d435_infrared)

extern "C" int ION_EXPORT ion_bb_image_io_realsense_d435_depth(halide_buffer_t *in, halide_buffer_t *out_d) {
try {
Expand Down Expand Up @@ -350,6 +351,7 @@ extern "C" int ION_EXPORT ion_bb_image_io_realsense_d435_depth(halide_buffer_t *
return -1;
}
}
ION_REGISTER_EXTERN(ion_bb_image_io_realsense_d435_depth)

extern "C" int ION_EXPORT ion_bb_image_io_realsense_d435_frameset(halide_buffer_t *out) {
try {
Expand Down Expand Up @@ -378,5 +380,6 @@ extern "C" int ION_EXPORT ion_bb_image_io_realsense_d435_frameset(halide_buffer_
return -1;
}
}
ION_REGISTER_EXTERN(ion_bb_image_io_realsense_d435_frameset)

#endif
2 changes: 2 additions & 0 deletions src/bb/image-io/rt_v4l2.h
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ extern "C" ION_EXPORT int ion_bb_image_io_v4l2(
return -1;
}
}
ION_REGISTER_EXTERN(ion_bb_image_io_v4l2)

extern "C" int ION_EXPORT ion_bb_image_io_camera(int32_t instance_id, int32_t index, int32_t fps, int32_t width, int32_t height, halide_buffer_t *url_buf, halide_buffer_t *out) {
try {
Expand All @@ -572,5 +573,6 @@ extern "C" int ION_EXPORT ion_bb_image_io_camera(int32_t instance_id, int32_t in
return -1;
}
}
ION_REGISTER_EXTERN(ion_bb_image_io_camera)

#endif

0 comments on commit a5bf2af

Please sign in to comment.