|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <transforms.h>
Public Member Functions | |
| InverseFourierTransform (INDI::DefaultDevice *dev) | |
| bool | ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) override |
| virtual bool | processBLOB (uint8_t *out, uint32_t dims, int *sizes, int bits_per_sample) override |
| processBLOB Propagate to Callback and generate BLOBs for parent device. | |
Public Member Functions inherited from DSP::Interface | |
| 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 | saveConfigItems (FILE *fp) |
| virtual bool | updateProperties () |
| 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. | |
Protected Member Functions | |
| ~InverseFourierTransform () | |
| void | Activated () override |
| Activated Called after activation from client application. | |
| void | Deactivated () override |
| Deactivated Called after deactivation from client application. | |
Protected Member Functions inherited from DSP::Interface | |
| 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) |
Additional Inherited Members | |
Public Types inherited from DSP::Interface | |
| enum | Type { DSP_NONE = 0 , DSP_DFT , DSP_IDFT , DSP_CONVOLUTION , DSP_WAVELETS , DSP_SPECTRUM , DSP_HISTOGRAM } |
Protected Attributes inherited from DSP::Interface | |
| bool | PluginActive |
| IBLOBVectorProperty | FitsBP |
| IBLOB | FitsB |
| ISwitchVectorProperty | ActivateSP |
| ISwitch | ActivateS [2] |
| INumberVectorProperty | EqNP |
| INumber | EqN [2] |
| ITextVectorProperty | ActiveDeviceTP |
| IText | ActiveDeviceT [4] {} |
| INDI::DefaultDevice * | m_Device { nullptr } |
| const char * | m_Name { nullptr } |
| const char * | m_Label { nullptr } |
| Type | m_Type { DSP_NONE } |
| dsp_stream_p | stream |
Definition at line 40 of file transforms.h.
| DSP::InverseFourierTransform::InverseFourierTransform | ( | INDI::DefaultDevice * | dev | ) |
Definition at line 52 of file transforms.cpp.
|
protected |
Definition at line 58 of file transforms.cpp.
|
overrideprotectedvirtual |
Activated Called after activation from client application.
Reimplemented from DSP::Interface.
Definition at line 62 of file transforms.cpp.
|
overrideprotectedvirtual |
Deactivated Called after deactivation from client application.
Reimplemented from DSP::Interface.
Definition at line 68 of file transforms.cpp.
|
overridevirtual |
Reimplemented from DSP::Interface.
Definition at line 90 of file transforms.cpp.
|
overridevirtual |
processBLOB Propagate to Callback and generate BLOBs for parent device.
| 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 |
Reimplemented from DSP::Interface.
Definition at line 74 of file transforms.cpp.