diff --git a/example/u3v_camera1_opencv/u3v_camera1_opencv.cc b/example/u3v_camera1_opencv/u3v_camera1_opencv.cc index a48aa68a..8734ca45 100644 --- a/example/u3v_camera1_opencv/u3v_camera1_opencv.cc +++ b/example/u3v_camera1_opencv/u3v_camera1_opencv.cc @@ -53,7 +53,7 @@ int main(int argc, char *argv[]) Param("frame_sync", false), Param("gain_key", FEATURE_GAIN_KEY), Param("exposure_key", FEATURE_EXPOSURE_KEY), - Param("realtime_diaplay_mode", true), + Param("realtime_display_mode", true), Param("enable_control", true) ); diff --git a/example/u3v_camera1_opencv/u3v_camera1_opencv.py b/example/u3v_camera1_opencv/u3v_camera1_opencv.py index fa1e25de..7147774f 100644 --- a/example/u3v_camera1_opencv/u3v_camera1_opencv.py +++ b/example/u3v_camera1_opencv/u3v_camera1_opencv.py @@ -36,13 +36,13 @@ frame_sync = Param('frame_sync', 'false') gain_key = Param('gain_key', feature_gain_key) exposure_key = Param('exposure_key', feature_exposure_key) - realtime_diaplay_mode = Param('realtime_diaplay_mode', 'true') + realtime_display_mode = Param('realtime_display_mode', 'true') enable_control = Param('enable_control', 'true') # Add node and connect the input port to the node instance node = builder.add('image_io_u3v_cameraN_u16x2')\ .set_iport([gain0_p, exposure0_p])\ - .set_param([num_devices, frame_sync, gain_key, exposure_key, realtime_diaplay_mode, enable_control]) + .set_param([num_devices, frame_sync, gain_key, exposure_key, realtime_display_mode, enable_control]) # Define Output Port out_p = node.get_port('output') diff --git a/example/u3v_camera2_opencv/u3v_camera2_opencv.cc b/example/u3v_camera2_opencv/u3v_camera2_opencv.cc index 40ef8cd3..309e0202 100644 --- a/example/u3v_camera2_opencv/u3v_camera2_opencv.cc +++ b/example/u3v_camera2_opencv/u3v_camera2_opencv.cc @@ -53,7 +53,7 @@ int main(int argc, char *argv[]) Param("frame_sync", false), Param("gain_key", FEATURE_GAIN_KEY), Param("exposure_key", FEATURE_EXPOSURE_KEY), - Param("realtime_diaplay_mode", true), + Param("realtime_display_mode", true), Param("enable_control", true) ); diff --git a/example/u3v_camera2_opencv/u3v_camera2_opencv.py b/example/u3v_camera2_opencv/u3v_camera2_opencv.py index 871a5032..82dfe595 100644 --- a/example/u3v_camera2_opencv/u3v_camera2_opencv.py +++ b/example/u3v_camera2_opencv/u3v_camera2_opencv.py @@ -39,13 +39,13 @@ frame_sync = Param('frame_sync', 'false') gain_key = Param('gain_key', feature_gain_key) exposure_key = Param('exposure_key', feature_exposure_key) - realtime_diaplay_mode = Param('realtime_diaplay_mode', 'true') + realtime_display_mode = Param('realtime_display_mode', 'true') enable_control = Param('enable_control', 'true') # Add node and connect the input port to the node instance node = builder.add('image_io_u3v_cameraN_u16x2')\ .set_iport([gain0_p, gain1_p, exposure0_p, exposure1_p, ])\ - .set_param([num_devices, frame_sync, gain_key, exposure_key, realtime_diaplay_mode, enable_control]) + .set_param([num_devices, frame_sync, gain_key, exposure_key, realtime_display_mode, enable_control]) # Define Output Port diff --git a/src/bb/image-io/bb.h b/src/bb/image-io/bb.h index 0547b20f..ce7a2886 100644 --- a/src/bb/image-io/bb.h +++ b/src/bb/image-io/bb.h @@ -714,7 +714,7 @@ class U3VCamera1 : public ion::BuildingBlock> { BuildingBlockParam frame_sync{"frame_sync", false}; BuildingBlockParam gain_key_ptr{"gain_key", "Gain"}; BuildingBlockParam exposure_key_ptr{"exposure_key", "Exposure"}; - BuildingBlockParam realtime_diaplay_mode{"realtime_diaplay_mode", false}; + BuildingBlockParam realtime_display_mode{"realtime_display_mode", false}; Input gain0{ "gain0" }; Input exposure0{ "exposure0" }; @@ -740,7 +740,7 @@ class U3VCamera1 : public ion::BuildingBlock> { std::memcpy(exposure_key_buf.data(), exposure_key.c_str(), exposure_key.size()); std::vector params{ - static_cast(frame_sync), static_cast(realtime_diaplay_mode), + static_cast(frame_sync), static_cast(realtime_display_mode), gain0, exposure0, id_buf, gain_key_buf, exposure_key_buf }; @@ -752,7 +752,7 @@ class U3VCamera1 : public ion::BuildingBlock> { Func camera1_frame_count; { Buffer id_buf = this->get_id(); - camera1_frame_count.define_extern("ion_bb_image_io_u3v_camera1_frame_count",{camera1, 1, static_cast(frame_sync), static_cast(realtime_diaplay_mode), id_buf}, type_of(), 1); + camera1_frame_count.define_extern("ion_bb_image_io_u3v_camera1_frame_count",{camera1, 1, static_cast(frame_sync), static_cast(realtime_display_mode), id_buf}, type_of(), 1); camera1_frame_count.compute_root(); frame_count(_) = camera1_frame_count(_); } @@ -773,7 +773,7 @@ class U3VCamera2 : public ion::BuildingBlock> { BuildingBlockParam frame_sync{"frame_sync", false}; BuildingBlockParam gain_key_ptr{"gain_key", "Gain"}; BuildingBlockParam exposure_key_ptr{"exposure_key", "Exposure"}; - BuildingBlockParam realtime_diaplay_mode{"realtime_diaplay_mode", false}; + BuildingBlockParam realtime_display_mode{"realtime_display_mode", false}; Input gain0{ "gain0" }; Input gain1{ "gain1" }; @@ -802,7 +802,7 @@ class U3VCamera2 : public ion::BuildingBlock> { std::memcpy(exposure_key_buf.data(), exposure_key.c_str(), exposure_key.size()); std::vector params{ - static_cast(frame_sync), static_cast(realtime_diaplay_mode), + static_cast(frame_sync), static_cast(realtime_display_mode), gain0, gain1, exposure0, exposure1, id_buf, gain_key_buf, exposure_key_buf }; @@ -814,7 +814,7 @@ class U3VCamera2 : public ion::BuildingBlock> { Func camera2_frame_count;{ Buffer id_buf = this->get_id(); - camera2_frame_count.define_extern("ion_bb_image_io_u3v_camera2_frame_count", { camera2, 2, static_cast(frame_sync), static_cast(realtime_diaplay_mode), id_buf}, type_of(), 1); + camera2_frame_count.define_extern("ion_bb_image_io_u3v_camera2_frame_count", { camera2, 2, static_cast(frame_sync), static_cast(realtime_display_mode), id_buf}, type_of(), 1); camera2_frame_count.compute_root(); frame_count(_) = camera2_frame_count(_); } @@ -831,7 +831,7 @@ class U3VCameraN : public ion::BuildingBlock> { public: BuildingBlockParam num_devices{"num_devices", 2}; BuildingBlockParam frame_sync{"frame_sync", false}; - BuildingBlockParam realtime_diaplay_mode{"realtime_diaplay_mode", false}; + BuildingBlockParam realtime_display_mode{"realtime_display_mode", false}; BuildingBlockParam enable_control{"enable_control", false}; BuildingBlockParam gain_key_ptr{"gain_key", "Gain"}; @@ -885,7 +885,7 @@ class U3VCameraN : public ion::BuildingBlock> { id_buf, static_cast(force_sim_mode), static_cast(width), static_cast(height),static_cast(fps), - static_cast(frame_sync), static_cast(realtime_diaplay_mode), + static_cast(frame_sync), static_cast(realtime_display_mode), static_cast(enable_control), gain_key_buf, exposure_key_buf, pixel_format_buf }; @@ -928,7 +928,7 @@ class U3VCameraN : public ion::BuildingBlock> { cameraN, id_buf, static_cast(num_devices), static_cast(force_sim_mode), static_cast(width), static_cast(height), static_cast(fps), - static_cast(frame_sync), static_cast(realtime_diaplay_mode), + static_cast(frame_sync), static_cast(realtime_display_mode), pixel_format_buf }; @@ -960,7 +960,7 @@ class U3VCameraN : public ion::BuildingBlock> { cameraN, id_buf, static_cast(num_devices), static_cast(force_sim_mode), static_cast(width), static_cast(height), static_cast(fps), - static_cast(frame_sync), static_cast(realtime_diaplay_mode), + static_cast(frame_sync), static_cast(realtime_display_mode), pixel_format_buf }; @@ -992,7 +992,7 @@ class U3VCameraGenDC : public ion::BuildingBlock { public: BuildingBlockParam num_devices{"num_devices", 2}; BuildingBlockParam frame_sync{"frame_sync", false}; - BuildingBlockParam realtime_diaplay_mode{"realtime_diaplay_mode", false}; + BuildingBlockParam realtime_display_mode{"realtime_display_mode", false}; BuildingBlockParam enable_control{"enable_control", false}; BuildingBlockParam gain_key_ptr{"gain_key", "Gain"}; @@ -1045,7 +1045,7 @@ class U3VCameraGenDC : public ion::BuildingBlock { id_buf, static_cast(force_sim_mode), static_cast(width), static_cast(height),static_cast(fps), - static_cast(frame_sync), static_cast(realtime_diaplay_mode), + static_cast(frame_sync), static_cast(realtime_display_mode), static_cast(enable_control), gain_key_buf, exposure_key_buf, pixel_format_buf }; @@ -1092,7 +1092,7 @@ class U3VCameraGenDC : public ion::BuildingBlock { u3v_gendc, id_buf, static_cast(num_devices), static_cast(force_sim_mode), static_cast(width), static_cast(height), static_cast(fps), - static_cast(frame_sync), static_cast(realtime_diaplay_mode), + static_cast(frame_sync), static_cast(realtime_display_mode), pixel_format_buf };