BLImageEncoder Class Reference

Image encoder [C++ API].

Member Functions

Construction & Destruction
Operator Overloads
Common Functionality
Encoder Functionality

Static Functions

Additional Inherited Members

- Public Attributes inherited from BLImageEncoderCore

Member Function Documentation

bool BLImageEncoder::isNone() const

Tests whether the image encoder is a built-in null instance.

BLResult BLImageEncoder::lastResult() const

Returns the last decoding result.

uint64_t BLImageEncoder::frameIndex() const

Returns the current frame index (yet to be written).

size_t BLImageEncoder::bufferIndex() const

Returns the position in destination buffer.

BLResult BLImageEncoder::writeFrame(BLArray<uint8_t>& dst, const BLImage& image)

Encodes the given image and writes the encoded data to the destination buffer dst.