54 virtual bool setSize(uint16_t width, uint16_t height);
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
The EncoderInterface class is the base class for video streaming encoders.
virtual bool setSize(uint16_t width, uint16_t height)
virtual void init(INDI::DefaultDevice *mainDevice)
EncoderInterface()=default
INDI::DefaultDevice * currentDevice
virtual bool setPixelFormat(INDI_PIXEL_FORMAT pixelFormat, uint8_t pixelDepth)
INDI_PIXEL_FORMAT pixelFormat
virtual ~EncoderInterface()=default
virtual bool upload(INDI::WidgetViewBlob *bp, const uint8_t *buffer, uint32_t nbytes, bool isCompressed=false)=0
Interface to the reference INDI C API device implementation on the Device Driver side.
std::vector< uint8_t > buffer
Namespace to encapsulate INDI client, drivers, and mediator classes.