TwiceAsNice
2019-02-18
|
The RawEncoder class sends the image as-is (lossless) to the client. More...
#include <rawencoder.h>
Public Member Functions | |
RawEncoder () | |
~RawEncoder () | |
virtual bool | upload (IBLOB *bp, const uint8_t *buffer, uint32_t nbytes, bool isCompressed=false) override |
![]() | |
EncoderInterface ()=default | |
virtual | ~EncoderInterface ()=default |
virtual void | init (CCD *activeCCD) |
virtual bool | setPixelFormat (INDI_PIXEL_FORMAT pixelFormat, uint8_t pixelDepth) |
virtual bool | setSize (uint16_t width, uint16_t height) |
const char * | getName () |
Private Member Functions | |
const char * | getDeviceName () |
Private Attributes | |
uint8_t * | compressedFrame = nullptr |
Additional Inherited Members | |
![]() | |
const char * | name |
CCD * | currentCCD = nullptr |
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)
INDI::RawEncoder::RawEncoder | ( | ) |
INDI::RawEncoder::~RawEncoder | ( | ) |
|
private |
|
overridevirtual |
Implements INDI::EncoderInterface.
|
private |