{
namespace ROITracker
{
+// LCOV_EXCL_START
cv::Ptr<cv::Tracker> createTrackerByName(mv_roi_tracker_type_e type)
{
switch (type) {
throw std::runtime_error("Unexpected type");
}
}
+// LCOV_EXCL_STOP
} /* ROITracker */
} /* MediaVision */
\ No newline at end of file
using namespace std;
using namespace MediaVision::ROITracker;
+// LCOV_EXCL_START
static cv::Mat getTrackerFrame(mv_colorspace_e colorspace, unsigned int width, unsigned int height,
unsigned char *buffer)
{
throw std::invalid_argument("not support format.");
}
}
+// LCOV_EXCL_STOP
int mv_roi_tracker_create_open(mv_roi_tracker_h *handle)
{
; /* NULL */
}
+// LCOV_EXCL_START
int EventTrigger::getVideoStreamId() const
{
return __videoStreamId;
return true;
}
+// LCOV_EXCL_STOP
bool EventTrigger::unsubscribeCallback(long int triggerId)
{
#include <arm_neon.h>
#endif
+// LCOV_EXCL_START
int mv_apply_mask(uint8_t *src_buffer, uint8_t *__restrict mask, int width, int height, int stride, uint8_t *dst_buffer)
{
if (src_buffer == NULL || mask == NULL || width <= 0 || height <= 0 || stride <= 0 || dst_buffer == NULL) {
return MEDIA_VISION_ERROR_NONE;
}
+// LCOV_EXCL_STOP
\ No newline at end of file
#include <stdio.h>
#include <stdlib.h>
+// LCOV_EXCL_START
int mv_get_mask_buffer(unsigned int buffer_width, unsigned int buffer_height, mv_point_s *polygon,
unsigned int points_number, unsigned char **mask_buffer)
{
*mask_buffer = buffer;
return MEDIA_VISION_ERROR_NONE;
}
+// LCOV_EXCL_STOP
\ No newline at end of file