|
|
@ -1,5 +1,4 @@ |
|
|
|
#ifndef TRANSFORM_H |
|
|
|
#pragma once |
|
|
|
#define TRANSFORM_H |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <inttypes.h> |
|
|
|
#include <inttypes.h> |
|
|
|
#include <stdbool.h> |
|
|
|
#include <stdbool.h> |
|
|
@ -13,10 +12,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "common/mat.h" |
|
|
|
#include "common/mat.h" |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
|
|
extern "C" { |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct { |
|
|
|
typedef struct { |
|
|
|
cl_kernel krnl; |
|
|
|
cl_kernel krnl; |
|
|
|
cl_mem m_y_cl, m_uv_cl; |
|
|
|
cl_mem m_y_cl, m_uv_cl; |
|
|
@ -31,9 +26,3 @@ void transform_queue(Transform* s, cl_command_queue q, |
|
|
|
cl_mem out_y, cl_mem out_u, cl_mem out_v, |
|
|
|
cl_mem out_y, cl_mem out_u, cl_mem out_v, |
|
|
|
int out_width, int out_height, |
|
|
|
int out_width, int out_height, |
|
|
|
mat3 projection); |
|
|
|
mat3 projection); |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // TRANSFORM_H
|
|
|
|
|
|
|
|