GNU Radio's TEST Package
|
Files | |
file | fosphor.h |
Main fosphor entry point. | |
Classes | |
class | gr::fosphor::base_sink_c |
Base fosphor sink API interface. More... | |
class | gr::fosphor::glfw_sink_c |
GLFW version of fosphor sink. More... | |
class | gr::fosphor::qt_sink_c |
Qt version of fosphor sink. More... | |
class | gr::fosphor::base_sink_c_impl |
Base class for fosphor sink implementation. More... | |
struct | fosphor_channel |
struct | fosphor_render |
fosphor render options More... | |
class | gr::fosphor::glfw_sink_c_impl |
GLFW version of fosphor sink (implementation) More... | |
class | gr::fosphor::qt_sink_c_impl |
Qt version of fosphor sink (implementation) More... | |
Macros | |
#define | FOSPHOR_MAX_CHANNELS 8 |
#define | FRO_LIVE (1<<0) |
Display live spectrum. More... | |
#define | FRO_MAX_HOLD (1<<1) |
Display max-hold spectrum. More... | |
#define | FRO_HISTO (1<<2) |
Display histogram. More... | |
#define | FRO_WATERFALL (1<<3) |
Display waterfall. More... | |
#define | FRO_LABEL_FREQ (1<<4) |
Display frequency labels. More... | |
#define | FRO_LABEL_PWR (1<<5) |
Display power labels. More... | |
#define | FRO_LABEL_TIME (1<<6) |
Display time labels. More... | |
#define | FRO_CHANNELS (1<<7) |
Display channels. More... | |
#define | FRO_COLOR_SCALE (1<<8) |
Display intensity color scale. More... | |
Functions | |
struct fosphor * | fosphor_init (void) |
void | fosphor_release (struct fosphor *self) |
int | fosphor_process (struct fosphor *self, void *samples, int len) |
void | fosphor_draw (struct fosphor *self, struct fosphor_render *render) |
void | fosphor_set_fft_window_default (struct fosphor *self) |
void | fosphor_set_fft_window (struct fosphor *self, float *win) |
void | fosphor_set_power_range (struct fosphor *self, int db_ref, int db_per_div) |
void | fosphor_set_frequency_range (struct fosphor *self, double center, double span) |
void | fosphor_render_defaults (struct fosphor_render *render) |
void | fosphor_render_refresh (struct fosphor_render *render) |
double | fosphor_pos2freq (struct fosphor *self, struct fosphor_render *render, int x) |
float | fosphor_pos2pwr (struct fosphor *self, struct fosphor_render *render, int y) |
int | fosphor_pos2samp (struct fosphor *self, struct fosphor_render *render, int y) |
int | fosphor_freq2pos (struct fosphor *self, struct fosphor_render *render, double freq) |
int | fosphor_pwr2pos (struct fosphor *self, struct fosphor_render *render, float pwr) |
int | fosphor_samp2pos (struct fosphor *self, struct fosphor_render *render, int time) |
int | fosphor_render_pos_inside (struct fosphor_render *render, int x, int y) |
#define FOSPHOR_MAX_CHANNELS 8 |
#define FRO_CHANNELS (1<<7) |
Display channels.
#define FRO_COLOR_SCALE (1<<8) |
Display intensity color scale.
#define FRO_HISTO (1<<2) |
Display histogram.
#define FRO_LABEL_FREQ (1<<4) |
Display frequency labels.
#define FRO_LABEL_PWR (1<<5) |
Display power labels.
#define FRO_LABEL_TIME (1<<6) |
Display time labels.
#define FRO_LIVE (1<<0) |
Display live spectrum.
#define FRO_MAX_HOLD (1<<1) |
Display max-hold spectrum.
#define FRO_WATERFALL (1<<3) |
Display waterfall.
void fosphor_draw | ( | struct fosphor * | self, |
struct fosphor_render * | render | ||
) |
int fosphor_freq2pos | ( | struct fosphor * | self, |
struct fosphor_render * | render, | ||
double | freq | ||
) |
struct fosphor * fosphor_init | ( | void | ) |
double fosphor_pos2freq | ( | struct fosphor * | self, |
struct fosphor_render * | render, | ||
int | x | ||
) |
float fosphor_pos2pwr | ( | struct fosphor * | self, |
struct fosphor_render * | render, | ||
int | y | ||
) |
int fosphor_pos2samp | ( | struct fosphor * | self, |
struct fosphor_render * | render, | ||
int | y | ||
) |
int fosphor_process | ( | struct fosphor * | self, |
void * | samples, | ||
int | len | ||
) |
int fosphor_pwr2pos | ( | struct fosphor * | self, |
struct fosphor_render * | render, | ||
float | pwr | ||
) |
void fosphor_release | ( | struct fosphor * | self | ) |
void fosphor_render_defaults | ( | struct fosphor_render * | render | ) |
int fosphor_render_pos_inside | ( | struct fosphor_render * | render, |
int | x, | ||
int | y | ||
) |
void fosphor_render_refresh | ( | struct fosphor_render * | render | ) |
int fosphor_samp2pos | ( | struct fosphor * | self, |
struct fosphor_render * | render, | ||
int | time | ||
) |
void fosphor_set_fft_window | ( | struct fosphor * | self, |
float * | win | ||
) |
void fosphor_set_fft_window_default | ( | struct fosphor * | self | ) |
void fosphor_set_frequency_range | ( | struct fosphor * | self, |
double | center, | ||
double | span | ||
) |
void fosphor_set_power_range | ( | struct fosphor * | self, |
int | db_ref, | ||
int | db_per_div | ||
) |