cl.h
Go to the documentation of this file.
/*
* cl.h
*
* OpenCL base routines
*
* Copyright (C) 2013-2021 Sylvain Munaut
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
/*! \defgroup cl
* @{
*/
/*! \file cl.h
* \brief OpenCL base routines
*/
struct fosphor;
int fosphor_cl_init(struct fosphor *self);
void fosphor_cl_release(struct fosphor *self);
int fosphor_cl_process(struct fosphor *self,
void *samples, int len);
int fosphor_cl_finish(struct fosphor *self);
void fosphor_cl_load_fft_window(struct fosphor *self, float *win);
int fosphor_cl_get_waterfall_position(struct fosphor *self);
void fosphor_cl_set_histogram_range(struct fosphor *self,
float scale, float offset);
/*! @} */
fosphor_cl_finish
int fosphor_cl_finish(struct fosphor *self)
fosphor_cl_init
int fosphor_cl_init(struct fosphor *self)
fosphor_cl_release
void fosphor_cl_release(struct fosphor *self)
fosphor_cl_get_waterfall_position
int fosphor_cl_get_waterfall_position(struct fosphor *self)
fosphor_cl_process
int fosphor_cl_process(struct fosphor *self, void *samples, int len)
fosphor_cl_load_fft_window
void fosphor_cl_load_fft_window(struct fosphor *self, float *win)
fosphor_cl_set_histogram_range
void fosphor_cl_set_histogram_range(struct fosphor *self, float scale, float offset)
fosphor
Definition private.h:31
fosphor::scale
float scale
Definition private.h:47
fosphor::offset
float offset
Definition private.h:48