mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +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
|
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!
|
// output better be the right size, because we are not doing any bounds checking!
|
||||||
assert(input.isContinuous());
|
assert(input.isContinuous());
|
||||||
|
|
|
@ -61,4 +61,4 @@ struct DetectionModelOutput
|
||||||
rotatedRectFromJoints(struct ht_view *htv, xrt_vec2 center, xrt_vec2 wrist_to_middle, DetectionModelOutput *out);
|
rotatedRectFromJoints(struct ht_view *htv, xrt_vec2 center, xrt_vec2 wrist_to_middle, DetectionModelOutput *out);
|
||||||
|
|
||||||
void
|
void
|
||||||
planarize(cv::Mat &input, uint8_t *output);
|
planarize(const cv::Mat &input, uint8_t *output);
|
||||||
|
|
Loading…
Reference in a new issue