transform_queue: const mat3& projection (#20316)

pull/20322/head
Dean Lee 5 years ago committed by GitHub
parent d5c17723da
commit b32386cc35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/modeld/transforms/transform.cc
  2. 2
      selfdrive/modeld/transforms/transform.h

@ -28,7 +28,7 @@ void transform_queue(Transform* s,
cl_mem in_yuv, int in_width, int in_height,
cl_mem out_y, cl_mem out_u, cl_mem out_v,
int out_width, int out_height,
mat3 projection) {
const mat3& projection) {
const int zero = 0;
// sampled using pixel center origin

@ -25,4 +25,4 @@ void transform_queue(Transform* s, cl_command_queue q,
cl_mem yuv, int in_width, int in_height,
cl_mem out_y, cl_mem out_u, cl_mem out_v,
int out_width, int out_height,
mat3 projection);
const mat3& projection);

Loading…
Cancel
Save