transform_queue: const mat3& projection (#20316)

This commit is contained in:
Dean Lee
2021-03-12 03:42:16 +08:00
committed by GitHub
parent d5c17723da
commit b32386cc35
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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);