#include <dspinterface.h>
|
| virtual void | ISGetProperties (const char *dev) |
| |
| virtual bool | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
| |
| virtual bool | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) |
| |
| virtual bool | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) |
| |
| virtual bool | ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) |
| |
| virtual bool | saveConfigItems (FILE *fp) |
| |
| virtual bool | updateProperties () |
| |
| virtual bool | processBLOB (uint8_t *buf, uint32_t ndims, int *dims, int bits_per_sample) |
| | processBLOB Propagate to Callback and generate BLOBs for parent device.
|
| |
| void | setSizes (uint32_t num, int *sizes) |
| | setSizes Set the returned file dimensions and corresponding sizes.
|
| |
| void | getSizes (uint32_t *num, int **sizes) |
| | getSizes Get the returned file dimensions and corresponding sizes.
|
| |
| void | setBPS (int bps) |
| | setBPS Set the returned file bit depth/sample size.
|
| |
| int | getBPS () |
| | getBPS Get the returned file bit depth/sample size.
|
| |
| void | setCaptureFileExtension (const char *ext) |
| | setIntegrationFileExtension Set the returned file extension.
|
| |
|
| virtual void | Activated () |
| | Activated Called after activation from client application.
|
| |
| virtual void | Deactivated () |
| | Deactivated Called after deactivation from client application.
|
| |
| virtual uint8_t * | Callback (uint8_t *buf, uint32_t ndims, int *dims, int bits_per_sample) |
| | Callback Called by processBLOB.
|
| |
| dsp_stream_p | loadFITS (char *buf, int len) |
| | loadFITS Converts FITS data into a dsp_stream structure pointer.
|
| |
| | Interface (INDI::DefaultDevice *dev, Type type=DSP_NONE, const char *name="DSP_PLUGIN", const char *label="DSP Plugin") |
| |
| virtual | ~Interface () |
| |
| const char * | getDeviceName () |
| |
| bool | setStream (void *buf, uint32_t dims, int *sizes, int bits_per_sample) |
| |
| bool | setMagnitude (void *buf, uint32_t dims, int *sizes, int bits_per_sample) |
| |
| bool | setPhase (void *buf, uint32_t dims, int *sizes, int bits_per_sample) |
| |
| bool | setReal (void *buf, uint32_t dims, int *sizes, int bits_per_sample) |
| |
| bool | setImaginary (void *buf, uint32_t dims, int *sizes, int bits_per_sample) |
| |
| uint8_t * | getStream () |
| |
| uint8_t * | getMagnitude () |
| |
| uint8_t * | getPhase () |
| |
| uint8_t * | getReal () |
| |
| uint8_t * | getImaginary () |
| |
| uint8_t * | getBuffer (dsp_stream_p in, uint32_t *dims, int **sizes) |
| |
Definition at line 44 of file dspinterface.h.
◆ Type
| Enumerator |
|---|
| DSP_NONE | |
| DSP_DFT | |
| DSP_IDFT | |
| DSP_CONVOLUTION | |
| DSP_WAVELETS | |
| DSP_SPECTRUM | |
| DSP_HISTOGRAM | |
Definition at line 72 of file dspinterface.h.
◆ Interface()
◆ ~Interface()
| DSP::Interface::~Interface |
( |
| ) |
|
|
protectedvirtual |
◆ Activated()
| void DSP::Interface::Activated |
( |
| ) |
|
|
protectedvirtual |
◆ Callback()
| uint8_t * DSP::Interface::Callback |
( |
uint8_t * |
buf, |
|
|
uint32_t |
ndims, |
|
|
int * |
dims, |
|
|
int |
bits_per_sample |
|
) |
| |
|
protectedvirtual |
Callback Called by processBLOB.
- Parameters
-
| buf | The input buffer |
| ndims | Number of the dimensions of the input buffer |
| dims | Sizes of the dimensions of the input buffer |
| bits_per_sample | original bit depth of the input buffer |
- Returns
- The processed buffer
Definition at line 184 of file dspinterface.cpp.
◆ Deactivated()
| void DSP::Interface::Deactivated |
( |
| ) |
|
|
protectedvirtual |
◆ getBPS()
| int DSP::Interface::getBPS |
( |
| ) |
|
|
inline |
getBPS Get the returned file bit depth/sample size.
- Returns
- Bit depth / sample size.
Definition at line 137 of file dspinterface.h.
◆ getBuffer()
| uint8_t * DSP::Interface::getBuffer |
( |
dsp_stream_p |
in, |
|
|
uint32_t * |
dims, |
|
|
int ** |
sizes |
|
) |
| |
|
protected |
◆ getDeviceName()
| const char * DSP::Interface::getDeviceName |
( |
| ) |
|
|
protected |
◆ getImaginary()
| uint8_t * DSP::Interface::getImaginary |
( |
| ) |
|
|
protected |
◆ getMagnitude()
| uint8_t * DSP::Interface::getMagnitude |
( |
| ) |
|
|
protected |
◆ getPhase()
| uint8_t * DSP::Interface::getPhase |
( |
| ) |
|
|
protected |
◆ getReal()
| uint8_t * DSP::Interface::getReal |
( |
| ) |
|
|
protected |
◆ getSizes()
| void DSP::Interface::getSizes |
( |
uint32_t * |
num, |
|
|
int ** |
sizes |
|
) |
| |
|
inline |
getSizes Get the returned file dimensions and corresponding sizes.
- Parameters
-
| num | Number of dimensions. |
| sizes | Sizes of the dimensions. |
Definition at line 118 of file dspinterface.h.
◆ getStream()
| uint8_t * DSP::Interface::getStream |
( |
| ) |
|
|
protected |
◆ ISGetProperties()
| void DSP::Interface::ISGetProperties |
( |
const char * |
dev | ) |
|
|
virtual |
◆ ISNewBLOB()
| bool DSP::Interface::ISNewBLOB |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
int |
sizes[], |
|
|
int |
blobsizes[], |
|
|
char * |
blobs[], |
|
|
char * |
formats[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
virtual |
◆ ISNewNumber()
| bool DSP::Interface::ISNewNumber |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
double |
values[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
virtual |
◆ ISNewSwitch()
| bool DSP::Interface::ISNewSwitch |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
ISState * |
states, |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
virtual |
◆ ISNewText()
| bool DSP::Interface::ISNewText |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
char * |
texts[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
virtual |
◆ loadFITS()
| dsp_stream_p DSP::Interface::loadFITS |
( |
char * |
buf, |
|
|
int |
len |
|
) |
| |
|
protected |
loadFITS Converts FITS data into a dsp_stream structure pointer.
- Parameters
-
| buf | The input buffer |
| len | Size of the FIT in bytes |
- Returns
- A dsp_stream_p structure containing the data of the loaded FITS
Definition at line 343 of file dspinterface.cpp.
◆ processBLOB()
| bool DSP::Interface::processBLOB |
( |
uint8_t * |
buf, |
|
|
uint32_t |
ndims, |
|
|
int * |
dims, |
|
|
int |
bits_per_sample |
|
) |
| |
|
virtual |
◆ saveConfigItems()
| bool DSP::Interface::saveConfigItems |
( |
FILE * |
fp | ) |
|
|
virtual |
◆ setBPS()
| void DSP::Interface::setBPS |
( |
int |
bps | ) |
|
|
inline |
setBPS Set the returned file bit depth/sample size.
- Parameters
-
| bps | Bit depth / sample size. |
Definition at line 128 of file dspinterface.h.
◆ setCaptureFileExtension()
| void DSP::Interface::setCaptureFileExtension |
( |
const char * |
ext | ) |
|
setIntegrationFileExtension Set the returned file extension.
- Parameters
-
Definition at line 910 of file dspinterface.cpp.
◆ setImaginary()
| bool DSP::Interface::setImaginary |
( |
void * |
buf, |
|
|
uint32_t |
dims, |
|
|
int * |
sizes, |
|
|
int |
bits_per_sample |
|
) |
| |
|
protected |
◆ setMagnitude()
| bool DSP::Interface::setMagnitude |
( |
void * |
buf, |
|
|
uint32_t |
dims, |
|
|
int * |
sizes, |
|
|
int |
bits_per_sample |
|
) |
| |
|
protected |
◆ setPhase()
| bool DSP::Interface::setPhase |
( |
void * |
buf, |
|
|
uint32_t |
dims, |
|
|
int * |
sizes, |
|
|
int |
bits_per_sample |
|
) |
| |
|
protected |
◆ setReal()
| bool DSP::Interface::setReal |
( |
void * |
buf, |
|
|
uint32_t |
dims, |
|
|
int * |
sizes, |
|
|
int |
bits_per_sample |
|
) |
| |
|
protected |
◆ setSizes()
| void DSP::Interface::setSizes |
( |
uint32_t |
num, |
|
|
int * |
sizes |
|
) |
| |
|
inline |
setSizes Set the returned file dimensions and corresponding sizes.
- Parameters
-
| num | Number of dimensions. |
| sizes | Sizes of the dimensions. |
Definition at line 107 of file dspinterface.h.
◆ setStream()
| bool DSP::Interface::setStream |
( |
void * |
buf, |
|
|
uint32_t |
dims, |
|
|
int * |
sizes, |
|
|
int |
bits_per_sample |
|
) |
| |
|
protected |
◆ updateProperties()
| bool DSP::Interface::updateProperties |
( |
| ) |
|
|
virtual |
◆ ActivateS
| ISwitch DSP::Interface::ActivateS[2] |
|
protected |
◆ ActivateSP
◆ ActiveDeviceT
| IText DSP::Interface::ActiveDeviceT[4] {} |
|
protected |
◆ ActiveDeviceTP
◆ EqN
◆ EqNP
◆ FitsB
| IBLOB DSP::Interface::FitsB |
|
protected |
◆ FitsBP
◆ m_Device
◆ m_Label
| const char* DSP::Interface::m_Label { nullptr } |
|
protected |
◆ m_Name
| const char* DSP::Interface::m_Name { nullptr } |
|
protected |
◆ m_Type
◆ PluginActive
| bool DSP::Interface::PluginActive |
|
protected |
◆ stream
The documentation for this class was generated from the following files: