transform_queue: const mat3& projection (#20316)

old-commit-hash: b32386cc354f50eabed87ce206e0f3d6d9f50b93
This commit is contained in:
Dean Lee
2021-03-12 03:42:16 +08:00
committed by GitHub
parent e2f9e013a7
commit 355a3452ff
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);