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
33struct fosphor;
34
35int fosphor_cl_init(struct fosphor *self);
36void fosphor_cl_release(struct fosphor *self);
37
38int fosphor_cl_process(struct fosphor *self,
39 void *samples, int len);
40int fosphor_cl_finish(struct fosphor *self);
41
42void fosphor_cl_load_fft_window(struct fosphor *self, float *win);
45 float scale, float offset);
46
47/*! @} */
48
49#endif /* __FOSPHOR_CL_H__ */
int fosphor_cl_finish(struct fosphor *self)
int fosphor_cl_init(struct fosphor *self)
void fosphor_cl_release(struct fosphor *self)
int fosphor_cl_get_waterfall_position(struct fosphor *self)
int fosphor_cl_process(struct fosphor *self, void *samples, int len)
void fosphor_cl_load_fft_window(struct fosphor *self, float *win)
void fosphor_cl_set_histogram_range(struct fosphor *self, float scale, float offset)
Definition: private.h:44
float scale
Definition: private.h:60
float offset
Definition: private.h:61