mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/ht: planarize takes const input
This commit is contained in:
parent
986cde6750
commit
32330d467c
|
@ -224,7 +224,7 @@ rotatedRectFromJoints(struct ht_view *htv, xrt_vec2 center, xrt_vec2 wrist_to_mi
|
|||
}
|
||||
|
||||
void
|
||||
planarize(cv::Mat &input, uint8_t *output)
|
||||
planarize(const cv::Mat &input, uint8_t *output)
|
||||
{
|
||||
// output better be the right size, because we are not doing any bounds checking!
|
||||
assert(input.isContinuous());
|
||||
|
|
|
@ -61,4 +61,4 @@ struct DetectionModelOutput
|
|||
rotatedRectFromJoints(struct ht_view *htv, xrt_vec2 center, xrt_vec2 wrist_to_middle, DetectionModelOutput *out);
|
||||
|
||||
void
|
||||
planarize(cv::Mat &input, uint8_t *output);
|
||||
planarize(const cv::Mat &input, uint8_t *output);
|
||||
|
|
Loading…
Reference in a new issue