digiKam
heif Namespace Reference

Classes

class  BitReader
 
class  BitstreamRange
 
class  Box
 
class  Box_auxC
 
class  Box_clap
 
class  Box_colr
 
class  Box_dinf
 
class  Box_dref
 
class  Box_ftyp
 
class  Box_grpl
 
class  Box_hdlr
 
class  Box_hvcC
 
class  Box_idat
 
class  Box_iinf
 
class  Box_iloc
 
class  Box_imir
 
class  Box_infe
 
class  Box_ipco
 
class  Box_ipma
 
class  Box_iprp
 
class  Box_iref
 
class  Box_irot
 
class  Box_ispe
 
class  Box_meta
 
class  Box_pitm
 
class  Box_pixi
 
class  Box_url
 
class  BoxHeader
 
class  color_profile
 
class  color_profile_nclx
 
class  color_profile_raw
 
struct  ColorConversionCosts
 
class  ColorConversionOperation
 
struct  ColorConversionOptions
 
class  ColorConversionPipeline
 
struct  ColorState
 
struct  ColorStateWithCost
 
class  Context
 
class  Encoder
 
class  EncoderDescriptor
 
class  EncoderParameter
 
class  Error
 
class  ErrorBuffer
 
class  Fraction
 
class  HeifContext
 
class  HeifFile
 
class  HeifPixelImage
 
class  Image
 
class  ImageHandle
 
class  ImageMetadata
 
class  Indent
 
class  SEIMessage
 
class  SEIMessage_depth_representation_info
 
class  StreamReader
 
class  StreamReader_CApi
 
class  StreamReader_istream
 
class  StreamReader_memory
 
class  StreamWriter
 

Enumerations

enum class  ColorConversionCriterion { Speed , Quality , Memory , Balanced }
 

Functions

int chroma_h_subsampling (heif_chroma c)
 
int chroma_v_subsampling (heif_chroma c)
 
std::shared_ptr< HeifPixelImageconvert_colorspace (const std::shared_ptr< HeifPixelImage > &input, heif_colorspace colorspace, heif_chroma chroma)
 
Error decode_hevc_aux_sei_messages (const std::vector< uint8_t > &data, std::vector< std::shared_ptr< SEIMessage >> &msgs)
 
const struct heif_decoder_pluginget_decoder (enum heif_compression_format type)
 
const struct heif_encoder_pluginget_encoder (enum heif_compression_format type)
 
std::vector< const struct heif_encoder_descriptor * > get_filtered_encoder_descriptors (enum heif_compression_format, const char *name)
 
int64_t heif_reader_trampoline_get_position (void *userdata)
 
int heif_reader_trampoline_read (void *data, size_t size, void *userdata)
 
int heif_reader_trampoline_seek (int64_t position, void *userdata)
 
heif_reader_grow_status heif_reader_trampoline_wait_for_file_size (int64_t target_size, void *userdata)
 
struct ::heif_error heif_writer_trampoline_write (struct heif_context *ctx, const void *data, size_t size, void *userdata)
 
std::ostream & operator<< (std::ostream &ostr, const Error &err)
 
std::ostream & operator<< (std::ostream &ostr, const Indent &indent)
 
Error parse_sps_for_hvcC_configuration (const uint8_t *sps, size_t size, Box_hvcC::configuration *inout_config, int *width, int *height)
 
void register_decoder (const heif_decoder_plugin *decoder_plugin)
 
void register_encoder (const heif_encoder_plugin *encoder_plugin)
 

Variables

std::set< const struct heif_decoder_plugin * > s_decoder_plugins
 

Enumeration Type Documentation

◆ ColorConversionCriterion

Enumerator
Speed 
Quality 
Memory 
Balanced 

Function Documentation

◆ chroma_h_subsampling()

int heif::chroma_h_subsampling ( heif_chroma  c)

◆ chroma_v_subsampling()

int heif::chroma_v_subsampling ( heif_chroma  c)

◆ convert_colorspace()

std::shared_ptr<HeifPixelImage> heif::convert_colorspace ( const std::shared_ptr< HeifPixelImage > &  input,
heif_colorspace  colorspace,
heif_chroma  chroma 
)

◆ decode_hevc_aux_sei_messages()

Error heif::decode_hevc_aux_sei_messages ( const std::vector< uint8_t > &  data,
std::vector< std::shared_ptr< SEIMessage >> &  msgs 
)

◆ get_decoder()

const struct heif_decoder_plugin* heif::get_decoder ( enum heif_compression_format  type)

◆ get_encoder()

const struct heif_encoder_plugin* heif::get_encoder ( enum heif_compression_format  type)

◆ get_filtered_encoder_descriptors()

std::vector<const struct heif_encoder_descriptor*> heif::get_filtered_encoder_descriptors ( enum  heif_compression_format,
const char *  name 
)

◆ heif_reader_trampoline_get_position()

int64_t heif::heif_reader_trampoline_get_position ( void *  userdata)
inline

◆ heif_reader_trampoline_read()

int heif::heif_reader_trampoline_read ( void *  data,
size_t  size,
void *  userdata 
)
inline

◆ heif_reader_trampoline_seek()

int heif::heif_reader_trampoline_seek ( int64_t  position,
void *  userdata 
)
inline

◆ heif_reader_trampoline_wait_for_file_size()

heif_reader_grow_status heif::heif_reader_trampoline_wait_for_file_size ( int64_t  target_size,
void *  userdata 
)
inline

◆ heif_writer_trampoline_write()

struct ::heif_error heif::heif_writer_trampoline_write ( struct heif_context ctx,
const void *  data,
size_t  size,
void *  userdata 
)
inline

◆ operator<<() [1/2]

std::ostream& heif::operator<< ( std::ostream &  ostr,
const Error err 
)
inline

◆ operator<<() [2/2]

std::ostream& heif::operator<< ( std::ostream &  ostr,
const Indent indent 
)
inline

◆ parse_sps_for_hvcC_configuration()

Error heif::parse_sps_for_hvcC_configuration ( const uint8_t *  sps,
size_t  size,
Box_hvcC::configuration inout_config,
int *  width,
int *  height 
)

◆ register_decoder()

void heif::register_decoder ( const heif_decoder_plugin decoder_plugin)

◆ register_encoder()

void heif::register_encoder ( const heif_encoder_plugin encoder_plugin)

Variable Documentation

◆ s_decoder_plugins

std::set<const struct heif_decoder_plugin*> heif::s_decoder_plugins
extern