|
Instrument Neutral Distributed Interface INDI 2.2.5
|
The RawEncoder class sends the image as-is (lossless) to the client. More...
#include <rawencoder.h>
Public Member Functions | |
| RawEncoder () | |
| ~RawEncoder () | |
| virtual bool | upload (INDI::WidgetViewBlob *bp, const uint8_t *buffer, uint32_t nbytes, bool isCompressed=false) override |
Public Member Functions inherited from INDI::EncoderInterface | |
| EncoderInterface ()=default | |
| virtual | ~EncoderInterface ()=default |
| virtual void | init (INDI::DefaultDevice *mainDevice) |
| virtual bool | setPixelFormat (INDI_PIXEL_FORMAT pixelFormat, uint8_t pixelDepth) |
| virtual bool | setSize (uint16_t width, uint16_t height) |
| const char * | getName () |
Additional Inherited Members | |
Protected Attributes inherited from INDI::EncoderInterface | |
| INDI::DefaultDevice * | currentDevice |
| const char * | name |
| INDI_PIXEL_FORMAT | pixelFormat |
| uint8_t | pixelDepth = 8 |
| uint16_t | rawWidth |
| uint16_t | rawHeight |
The RawEncoder class sends the image as-is (lossless) to the client.
It supports compression via zlib (.stream.z)
Definition at line 34 of file rawencoder.h.
| INDI::RawEncoder::RawEncoder | ( | ) |
Definition at line 31 of file rawencoder.cpp.
| INDI::RawEncoder::~RawEncoder | ( | ) |
Definition at line 36 of file rawencoder.cpp.
|
overridevirtual |
Implements INDI::EncoderInterface.
Definition at line 45 of file rawencoder.cpp.