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

old-commit-hash: 0fcfb07f1f
commatwo_master
Dean Lee 5 years ago committed by GitHub
parent 4728ad22b0
commit 252b63ba15
  1. 13
      selfdrive/modeld/transforms/transform.h

@ -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

Loading…
Cancel
Save