mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-02 20:08:29 +00:00
d/ht: blackar takes const input
This commit is contained in:
parent
32330d467c
commit
e84d948fb4
src/xrt/drivers/ht
|
@ -94,7 +94,7 @@ raycoord(struct ht_view *htv, struct xrt_vec3 model_out)
|
|||
}
|
||||
|
||||
cv::Matx23f
|
||||
blackbar(cv::Mat &in, cv::Mat &out, xrt_size out_size)
|
||||
blackbar(const cv::Mat &in, cv::Mat &out, xrt_size out_size)
|
||||
{
|
||||
#if 1
|
||||
// Easy to think about, always right, but pretty slow:
|
||||
|
|
|
@ -28,7 +28,7 @@ raycoord(struct ht_view *htv, struct xrt_vec3 model_out);
|
|||
* Returns a 2x3 transform matrix that takes you back from the blackbarred image to the original image.
|
||||
*/
|
||||
cv::Matx23f
|
||||
blackbar(cv::Mat &in, cv::Mat &out, xrt_size out_size);
|
||||
blackbar(const cv::Mat &in, cv::Mat &out, xrt_size out_size);
|
||||
|
||||
/*!
|
||||
* This is a template so that we can use xrt_vec3 or xrt_vec2.
|
||||
|
|
Loading…
Reference in a new issue