-
Notifications
You must be signed in to change notification settings - Fork 0
/
SSDBasicKernels.h
49 lines (38 loc) · 1.03 KB
/
SSDBasicKernels.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Copyright (C) 2017 GreenWaves Technologies
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*
*/
#ifndef __IIBASICKERNELS_H__
#define __IIBASICKERNELS_H__
#include "Gap.h"
#define Max(a, b) (((a)>(b))?(a):(b))
#define Min(a, b) (((a)<(b))?(a):(b))
typedef struct {
short * __restrict__ In;
unsigned int Win;
unsigned int Hin;
short * __restrict__ Out;
unsigned int Wout;
unsigned int Hout;
unsigned char Q;
unsigned short n_classes;
} KerSDD3Dto2DShort_ArgT;
void KerSDD3Dto2DShort(KerSDD3Dto2DShort_ArgT *Arg);
typedef struct {
short * __restrict__ Classes;
short * __restrict__ Boxes;
unsigned int Classes_W;
unsigned int Classes_H;
unsigned int Classes_TileIndex;
unsigned int Classes_Std_H;
void * Ancor_layer;
void * BoundingBoxes;
int Boxes_Q;
unsigned int n_classes;
} KerPredecoderShort_ArgT;
void KerPredecoderShort(KerPredecoderShort_ArgT *Arg);
#endif //__IIBASICKERNELS_H__