digiKam
heif::Encoder Class Reference

Public Member Functions

 Encoder (enum heif_compression_format format)
 
bool get_boolean_parameter (std::string parameter_name) const
 
int get_integer_parameter (std::string parameter_name) const
 
std::string get_parameter (std::string parameter_name) const
 
std::string get_string_parameter (std::string parameter_name) const
 
std::vector< EncoderParameterlist_parameters () const noexcept
 
void set_boolean_parameter (std::string parameter_name, bool value)
 
void set_integer_parameter (std::string parameter_name, int value)
 
void set_lossless (bool enable_lossless)
 
void set_lossy_quality (int quality)
 
void set_parameter (std::string parameter_name, std::string parameter_value)
 
void set_string_parameter (std::string parameter_name, std::string value)
 

Friends

class Context
 
class EncoderDescriptor
 

Constructor & Destructor Documentation

◆ Encoder()

heif::Encoder::Encoder ( enum heif_compression_format  format)
inline

Member Function Documentation

◆ get_boolean_parameter()

bool heif::Encoder::get_boolean_parameter ( std::string  parameter_name) const
inline

◆ get_integer_parameter()

int heif::Encoder::get_integer_parameter ( std::string  parameter_name) const
inline

◆ get_parameter()

std::string heif::Encoder::get_parameter ( std::string  parameter_name) const
inline

◆ get_string_parameter()

std::string heif::Encoder::get_string_parameter ( std::string  parameter_name) const
inline

◆ list_parameters()

std::vector< EncoderParameter > heif::Encoder::list_parameters ( ) const
inlinenoexcept

◆ set_boolean_parameter()

void heif::Encoder::set_boolean_parameter ( std::string  parameter_name,
bool  value 
)
inline

◆ set_integer_parameter()

void heif::Encoder::set_integer_parameter ( std::string  parameter_name,
int  value 
)
inline

◆ set_lossless()

void heif::Encoder::set_lossless ( bool  enable_lossless)
inline

◆ set_lossy_quality()

void heif::Encoder::set_lossy_quality ( int  quality)
inline

◆ set_parameter()

void heif::Encoder::set_parameter ( std::string  parameter_name,
std::string  parameter_value 
)
inline

◆ set_string_parameter()

void heif::Encoder::set_string_parameter ( std::string  parameter_name,
std::string  value 
)
inline

Friends And Related Function Documentation

◆ Context

friend class Context
friend

◆ EncoderDescriptor

friend class EncoderDescriptor
friend

The documentation for this class was generated from the following file: