digiKam
heif::Box_pixi Class Reference
+ Inheritance diagram for heif::Box_pixi:

Public Member Functions

int append_child_box (std::shared_ptr< Box > box)
 
 Box_pixi ()
 
 Box_pixi (const BoxHeader &hdr)
 
virtual void derive_box_version ()
 
void derive_box_version_recursive ()
 
std::string dump (Indent &) const override
 
const std::vector< std::shared_ptr< Box > > & get_all_child_boxes () const
 
int get_bits_per_channel (int channel) const
 
uint64_t get_box_size () const
 
std::shared_ptr< Boxget_child_box (uint32_t short_type) const
 
std::vector< std::shared_ptr< Box > > get_child_boxes (uint32_t short_type) const
 
uint32_t get_flags () const
 
uint32_t get_header_size () const
 
int get_num_channels () const
 
uint32_t get_short_type () const
 
std::vector< uint8_t > get_type () const
 
std::string get_type_string () const
 
uint8_t get_version () const
 
bool is_full_box_header () const
 
Error parse_full_box_header (BitstreamRange &range)
 
Error prepend_header (StreamWriter &, size_t box_start) const
 
size_t reserve_box_header_space (StreamWriter &writer) const
 
void set_flags (uint32_t flags)
 
void set_is_full_box (bool flag=true)
 
void set_short_type (uint32_t type)
 
void set_version (uint8_t version)
 
Error write (StreamWriter &writer) const override
 

Static Public Member Functions

static Error read (BitstreamRange &range, std::shared_ptr< heif::Box > *box)
 

Static Public Attributes

constexpr static uint64_t size_until_end_of_file = 0
 

Protected Member Functions

std::string dump_children (Indent &) const
 
Error parse (BitstreamRange &range) override
 
Error read_children (BitstreamRange &range, int number=READ_CHILDREN_ALL)
 
Error write_children (StreamWriter &writer) const
 

Protected Attributes

std::vector< std::shared_ptr< Box > > m_children
 

Static Protected Attributes

static const int READ_CHILDREN_ALL = -1
 

Constructor & Destructor Documentation

◆ Box_pixi() [1/2]

heif::Box_pixi::Box_pixi ( )
inline

◆ Box_pixi() [2/2]

heif::Box_pixi::Box_pixi ( const BoxHeader hdr)
inline

Member Function Documentation

◆ append_child_box()

int heif::Box::append_child_box ( std::shared_ptr< Box box)
inlineinherited

References heif::Box::m_children.

◆ derive_box_version()

virtual void heif::Box::derive_box_version ( )
inlinevirtualinherited

◆ derive_box_version_recursive()

void heif::Box::derive_box_version_recursive ( )
inherited

◆ dump()

std::string heif::Box_pixi::dump ( Indent ) const
overridevirtual

Reimplemented from heif::Box.

◆ dump_children()

std::string heif::Box::dump_children ( Indent ) const
protectedinherited

◆ get_all_child_boxes()

const std::vector<std::shared_ptr<Box> >& heif::Box::get_all_child_boxes ( ) const
inlineinherited

References heif::Box::m_children.

◆ get_bits_per_channel()

int heif::Box_pixi::get_bits_per_channel ( int  channel) const
inline

◆ get_box_size()

uint64_t heif::BoxHeader::get_box_size ( ) const
inlineinherited

◆ get_child_box()

std::shared_ptr<Box> heif::Box::get_child_box ( uint32_t  short_type) const
inherited

◆ get_child_boxes()

std::vector<std::shared_ptr<Box> > heif::Box::get_child_boxes ( uint32_t  short_type) const
inherited

◆ get_flags()

uint32_t heif::BoxHeader::get_flags ( ) const
inlineinherited

◆ get_header_size()

uint32_t heif::BoxHeader::get_header_size ( ) const
inlineinherited

◆ get_num_channels()

int heif::Box_pixi::get_num_channels ( ) const
inline

◆ get_short_type()

uint32_t heif::BoxHeader::get_short_type ( ) const
inlineinherited

◆ get_type()

std::vector<uint8_t> heif::BoxHeader::get_type ( ) const
inherited

◆ get_type_string()

std::string heif::BoxHeader::get_type_string ( ) const
inherited

◆ get_version()

uint8_t heif::BoxHeader::get_version ( ) const
inlineinherited

◆ is_full_box_header()

bool heif::BoxHeader::is_full_box_header ( ) const
inlineinherited

◆ parse()

Error heif::Box_pixi::parse ( BitstreamRange range)
overrideprotectedvirtual

Reimplemented from heif::Box.

◆ parse_full_box_header()

Error heif::BoxHeader::parse_full_box_header ( BitstreamRange range)
inherited

◆ prepend_header()

Error heif::BoxHeader::prepend_header ( StreamWriter ,
size_t  box_start 
) const
inherited

◆ read()

static Error heif::Box::read ( BitstreamRange range,
std::shared_ptr< heif::Box > *  box 
)
staticinherited

◆ read_children()

Error heif::Box::read_children ( BitstreamRange range,
int  number = READ_CHILDREN_ALL 
)
protectedinherited

◆ reserve_box_header_space()

size_t heif::BoxHeader::reserve_box_header_space ( StreamWriter writer) const
inherited

◆ set_flags()

void heif::BoxHeader::set_flags ( uint32_t  flags)
inlineinherited

◆ set_is_full_box()

◆ set_short_type()

◆ set_version()

void heif::BoxHeader::set_version ( uint8_t  version)
inlineinherited

◆ write()

Error heif::Box_pixi::write ( StreamWriter writer) const
overridevirtual

Reimplemented from heif::Box.

◆ write_children()

Error heif::Box::write_children ( StreamWriter writer) const
protectedinherited

Member Data Documentation

◆ m_children

std::vector<std::shared_ptr<Box> > heif::Box::m_children
protectedinherited

◆ READ_CHILDREN_ALL

const int heif::Box::READ_CHILDREN_ALL = -1
staticprotectedinherited

◆ size_until_end_of_file

constexpr static uint64_t heif::BoxHeader::size_until_end_of_file = 0
staticconstexprinherited

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