89 uint64_t _totalUncompressedBytes = 0;
Lightweight error code wrapper for the promeki library.
Definition error.h:39
Compresses video frames to JPEG using libjpeg-turbo.
Definition jpegencodernode.h:34
void process() override
Compresses an input image to JPEG.
JpegEncoderNode(ObjectBase *parent=nullptr)
Constructs a JpegEncoderNode.
void setQuality(int quality)
Sets the JPEG compression quality.
Definition jpegencodernode.h:50
Map< String, Variant > extendedStats() const override
Returns node-specific statistics.
virtual ~JpegEncoderNode()=default
Destructor.
Error configure() override
Validates input format and configures the node.
int quality() const
Returns the JPEG compression quality.
Definition jpegencodernode.h:56
Dynamic array container wrapping std::vector.
Definition list.h:40
Base object for promeki.
Definition objectbase.h:129
ObjectBase * parent() const
Returns the parent object, if one. nullptr if none.
Definition objectbase.h:258
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19