digiKam
|
Public Member Functions | |
bool | add_plane (heif_channel channel, int width, int height, int bit_depth) |
void | copy_new_plane_from (const std::shared_ptr< const HeifPixelImage > &src_image, heif_channel src_channel, heif_channel dst_channel) |
void | create (int width, int height, heif_colorspace colorspace, heif_chroma chroma) |
Error | crop (int left, int right, int top, int bottom, std::shared_ptr< HeifPixelImage > &out_img) const |
void | fill_new_plane (heif_channel dst_channel, uint8_t value, int width, int height) |
Error | fill_RGB_16bit (uint16_t r, uint16_t g, uint16_t b, uint16_t a) |
int | get_bits_per_pixel (enum heif_channel channel) const |
std::set< enum heif_channel > | get_channel_set () const |
heif_chroma | get_chroma_format () const |
std::shared_ptr< const color_profile > | get_color_profile () |
heif_colorspace | get_colorspace () const |
const char * | get_error () const |
int | get_height () const |
int | get_height (enum heif_channel channel) const |
uint8_t * | get_plane (enum heif_channel channel, int *out_stride) |
const uint8_t * | get_plane (enum heif_channel channel, int *out_stride) const |
int | get_storage_bits_per_pixel (enum heif_channel channel) const |
int | get_width () const |
int | get_width (enum heif_channel channel) const |
bool | has_alpha () const |
bool | has_channel (heif_channel channel) const |
HeifPixelImage () | |
Error | mirror_inplace (bool horizontal) |
Error | overlay (std::shared_ptr< HeifPixelImage > &overlay, int dx, int dy) |
Error | rotate_ccw (int angle_degrees, std::shared_ptr< HeifPixelImage > &out_img) |
Error | scale_nearest_neighbor (std::shared_ptr< HeifPixelImage > &output, int width, int height) const |
void | set_color_profile (std::shared_ptr< const color_profile > profile) |
void | set_error (std::string err) |
void | set_success () |
void | transfer_plane_from_image_as (std::shared_ptr< HeifPixelImage > source, heif_channel src_channel, heif_channel dst_channel) |
~HeifPixelImage () | |
|
explicit |
heif::HeifPixelImage::~HeifPixelImage | ( | ) |
bool heif::HeifPixelImage::add_plane | ( | heif_channel | channel, |
int | width, | ||
int | height, | ||
int | bit_depth | ||
) |
void heif::HeifPixelImage::copy_new_plane_from | ( | const std::shared_ptr< const HeifPixelImage > & | src_image, |
heif_channel | src_channel, | ||
heif_channel | dst_channel | ||
) |
void heif::HeifPixelImage::create | ( | int | width, |
int | height, | ||
heif_colorspace | colorspace, | ||
heif_chroma | chroma | ||
) |
Error heif::HeifPixelImage::crop | ( | int | left, |
int | right, | ||
int | top, | ||
int | bottom, | ||
std::shared_ptr< HeifPixelImage > & | out_img | ||
) | const |
void heif::HeifPixelImage::fill_new_plane | ( | heif_channel | dst_channel, |
uint8_t | value, | ||
int | width, | ||
int | height | ||
) |
Error heif::HeifPixelImage::fill_RGB_16bit | ( | uint16_t | r, |
uint16_t | g, | ||
uint16_t | b, | ||
uint16_t | a | ||
) |
int heif::HeifPixelImage::get_bits_per_pixel | ( | enum heif_channel | channel | ) | const |
std::set<enum heif_channel> heif::HeifPixelImage::get_channel_set | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
int heif::HeifPixelImage::get_height | ( | enum heif_channel | channel | ) | const |
uint8_t* heif::HeifPixelImage::get_plane | ( | enum heif_channel | channel, |
int * | out_stride | ||
) |
const uint8_t* heif::HeifPixelImage::get_plane | ( | enum heif_channel | channel, |
int * | out_stride | ||
) | const |
int heif::HeifPixelImage::get_storage_bits_per_pixel | ( | enum heif_channel | channel | ) | const |
|
inline |
int heif::HeifPixelImage::get_width | ( | enum heif_channel | channel | ) | const |
bool heif::HeifPixelImage::has_alpha | ( | ) | const |
bool heif::HeifPixelImage::has_channel | ( | heif_channel | channel | ) | const |
Error heif::HeifPixelImage::mirror_inplace | ( | bool | horizontal | ) |
Error heif::HeifPixelImage::overlay | ( | std::shared_ptr< HeifPixelImage > & | overlay, |
int | dx, | ||
int | dy | ||
) |
Error heif::HeifPixelImage::rotate_ccw | ( | int | angle_degrees, |
std::shared_ptr< HeifPixelImage > & | out_img | ||
) |
Error heif::HeifPixelImage::scale_nearest_neighbor | ( | std::shared_ptr< HeifPixelImage > & | output, |
int | width, | ||
int | height | ||
) | const |
|
inline |
|
inlineinherited |
|
inlineinherited |
void heif::HeifPixelImage::transfer_plane_from_image_as | ( | std::shared_ptr< HeifPixelImage > | source, |
heif_channel | src_channel, | ||
heif_channel | dst_channel | ||
) |