transform.h: remove extern "C" (#2755)

This commit is contained in:
Dean Lee
2020-12-12 16:00:07 +08:00
committed by GitHub
parent 44bedaa73b
commit 0fcfb07f1f
+1 -12
View File
@@ -1,5 +1,4 @@
#ifndef TRANSFORM_H
#define TRANSFORM_H
#pragma once
#include <inttypes.h>
#include <stdbool.h>
@@ -13,10 +12,6 @@
#include "common/mat.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
cl_kernel krnl;
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,
int out_width, int out_height,
mat3 projection);
#ifdef __cplusplus
}
#endif
#endif // TRANSFORM_H