GNU Radio's TEST Package
fosphor.h File Reference

Main fosphor entry point. More...

Go to the source code of this file.

Classes

struct  fosphor_channel
 
struct  fosphor_render
 fosphor render options More...
 

Macros

#define FOSPHOR_MAX_CHANNELS   8
 
#define FRO_LIVE   (1<<0)
 Display live spectrum.
 
#define FRO_MAX_HOLD   (1<<1)
 Display max-hold spectrum.
 
#define FRO_HISTO   (1<<2)
 Display histogram.
 
#define FRO_WATERFALL   (1<<3)
 Display waterfall.
 
#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_CHANNELS   (1<<7)
 Display channels.
 
#define FRO_COLOR_SCALE   (1<<8)
 Display intensity color scale.
 

Functions

struct fosphorfosphor_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)
 

Detailed Description

Main fosphor entry point.