BLImageEncoder Class Referencefinal

Image encoder [C++ API].

Member Functions

Construction & Destruction
Overloaded Operators
Common Functionality
Accessors
Properties
Encoder Functionality
- Public Member Functions inherited from BLImageEncoderCore

Additional Inherited Members

- Public Attributes inherited from BLObjectCore

Member Function Documentation

bool BLImageEncoder::isValid() const◆ 

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

BLResult BLImageEncoder::lastResult() const◆ 

Returns the last encoding 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::getProperty(const char* name, BLVarCore& valueOut) const[1/2]◆ 

Gets a property of the given name and assigns it to an initialized valueOut.

BLResult BLImageEncoder::getProperty(BLStringView name, BLVarCore& valueOut) const[2/2]◆ 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

BLResult BLImageEncoder::setProperty(const char* name, const BLObjectCore& value)[1/2]◆ 

Sets a property of the given name to value.

BLResult BLImageEncoder::setProperty(BLStringView name, const BLObjectCore& value)[2/2]◆ 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

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

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