Camera Plugin Upgrade Guide
If you are a camera maker producing an event-based device compatible with Metavision SDK, you will need to build and maintain a camera plugin using the HAL API.
In this page, we list the changes of the HAL API that affect the code of the camera plugins, to support the upgrade of 3rd party plugins to new Metavision SDK versions.
You can also browse Prophesee Camera Plugin source code in OpenEB to see the current state of the code along with the history by release.
Note
In addition to this HAL API Release Note, you can check out the full Metavision SDK Release Note
V5.1 Change Logs
No Changes in HAL API
V5.0 Change Logs
Changes in HAL API:
Renamed:
DataTransferclass intoMetavision::DataTransfer::RawDataProducerwhich is now the base class of all classes gathering raw data from the device. The derivedRawDataProducerclass now owns its buffer pool to give plugin’s implementers finer controls over memory layout/allocation. The objectMetavision::DataTransfer::DefaultBufferPoolis the default buffer pool type of choice. Please refer to theSampleDataTransferclass in the Camera Plugin Toy Sample for an example of how to use the new API.Renamed
reset_timestamp()intoreset_last_timestamp()inMetavision::I_EventsStreamDecoder
Removal in HAL API:
All the functions that were deprecated in previous 4.x SDK versions were removed in 5.0 (e.g. I_RegistrableFacility::set_thresholds, I_RegistrableFacility::get_thresholds etc.)
Removed
get_system_id()fromI_HW_Identificationclass
V4.6 Change Logs
No Changes in HAL API
V4.5 Change Logs
Changes in HAL API:
Added
get_lines()inI_ROIclass
V4.4 Change Logs
Changes in HAL API:
Renamed
I_EventRateNoiseFilterModuleintoMetavision::I_EventRateActivityFilterModuleDeprecated
Metavision::I_EventRateActivityFilterModule::set_event_rate_thresholdin favor ofMetavision::I_EventRateActivityFilterModule::set_thresholds()Deprecated
Metavision::I_EventRateActivityFilterModule::get_event_rate_thresholdin favor ofMetavision::I_EventRateActivityFilterModule::get_thresholds()
Additions in HAL API:
Added
I_RoiPixelMaskclass to handle ROI (Region Of Interest) pixel mask on GenX320Added new functions in
I_EventRateActivityFilterModule:Added new functions in
I_ROI:Added
is_enabled()Added
get_mode()Added
get_windows()
V4.3 Change Logs
Changes in HAL API:
changed
void I_AntiFlickerModule::is_enabled()intovoid I_AntiFlickerModule::is_enabled() constchanged
I_CameraSynchronization::SyncMode I_CameraSynchronization::get_mode()intoI_CameraSynchronization::SyncMode I_CameraSynchronization::get_mode() constchanged
bool I_DigitalCrop::is_enabled()intobool I_DigitalCrop::is_enabled() constchanged
I_DigitalCrop::Region I_DigitalCrop::get_window_region()intoI_DigitalCrop::Region I_DigitalCrop::get_window_region() constchanged
bool I_ErcModule::is_enabled()intobool I_ErcModule::is_enabled() constchanged
uint32_t I_ErcModule::get_min_supported_cd_event_rate()intouint32_t I_ErcModule::get_min_supported_cd_event_rate() constchanged
uint32_t I_ErcModule::get_max_supported_cd_event_rate()intouint32_t I_ErcModule::get_max_supported_cd_event_rate() constchanged
uint32_t I_ErcModule::get_cd_event_rate()intouint32_t I_ErcModule::get_cd_event_rate() constchanged
uint32_t I_ErcModule::get_cd_event_count()intouint32_t I_ErcModule::get_cd_event_count() constchanged
uint32_t I_EventRateNoiseFilterModule::get_event_rate_threshold()intouint32_t I_EventRateNoiseFilterModule::get_event_rate_threshold() constchanged
int I_LL_Biases::get(const std::string &bias_name)intoint I_LL_Biases::get(const std::string &bias_name) constchanged
std::map<std::string, int> I_LL_Biases::get_all_biases()intostd::map<std::string, int> I_LL_Biases::get_all_biases() constchanged
int I_LL_Biases::get_impl(const std::string &bias_name)intoint I_LL_Biases::get_impl(const std::string &bias_name) constchanged
bool I_TriggerOut::is_enabled()intobool I_TriggerOut::is_enabled() const
Additions in HAL API:
Added
bool I_EventRateNoiseFilterModule::is_enabled() constAdded
bool I_ROI::get_lines(std::vector<bool> &cols, std::vector<bool> &rows) const