GNU Radio's TEST Package
cl.h
Go to the documentation of this file.
1 /*
2  * cl.h
3  *
4  * OpenCL base routines
5  *
6  * Copyright (C) 2013-2014 Sylvain Munaut
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef __FOSPHOR_CL_H__
23 #define __FOSPHOR_CL_H__
24 
25 /*! \defgroup cl
26  * @{
27  */
28 
29 /*! \file cl.h
30  * \brief OpenCL base routines
31  */
32 
33 struct fosphor;
34 
35 int fosphor_cl_init(struct fosphor *self);
36 void fosphor_cl_release(struct fosphor *self);
37 
38 int fosphor_cl_process(struct fosphor *self,
39  void *samples, int len);
40 int fosphor_cl_finish(struct fosphor *self);
41 
42 void fosphor_cl_load_fft_window(struct fosphor *self, float *win);
45  float scale, float offset);
46 
47 /*! @} */
48 
49 #endif /* __FOSPHOR_CL_H__ */
fosphor_cl_load_fft_window
void fosphor_cl_load_fft_window(struct fosphor *self, float *win)
fosphor_cl_get_waterfall_position
int fosphor_cl_get_waterfall_position(struct fosphor *self)
fosphor_cl_finish
int fosphor_cl_finish(struct fosphor *self)
fosphor
Definition: private.h:44
fosphor_cl_release
void fosphor_cl_release(struct fosphor *self)
fosphor_cl_set_histogram_range
void fosphor_cl_set_histogram_range(struct fosphor *self, float scale, float offset)
fosphor_cl_init
int fosphor_cl_init(struct fosphor *self)
fosphor_cl_process
int fosphor_cl_process(struct fosphor *self, void *samples, int len)
fosphor::scale
float scale
Definition: private.h:60
fosphor::offset
float offset
Definition: private.h:61