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-2021 Sylvain Munaut
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 */
9
10#pragma once
11
12/*! \defgroup cl
13 * @{
14 */
15
16/*! \file cl.h
17 * \brief OpenCL base routines
18 */
19
20struct fosphor;
21
22int fosphor_cl_init(struct fosphor *self);
23void fosphor_cl_release(struct fosphor *self);
24
25int fosphor_cl_process(struct fosphor *self,
26 void *samples, int len);
27int fosphor_cl_finish(struct fosphor *self);
28
29void fosphor_cl_load_fft_window(struct fosphor *self, float *win);
32 float scale, float offset);
33
34/*! @} */
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:31
float scale
Definition private.h:47
float offset
Definition private.h:48