src/itmf/CoverArtBox.h Source File
24 #ifndef MP4V2_IMPL_ITMF_COVERARTBOX_H
25 #define MP4V2_IMPL_ITMF_COVERARTBOX_H
27 namespace mp4v2 {
namespace impl {
namespace itmf {
82 static bool add( MP4FileHandle hFile,
const Item& item );
92 static bool set( MP4FileHandle hFile,
const Item& item, uint32_t index );
104 static bool get( MP4FileHandle hFile,
Item& item, uint32_t index );
114 static bool remove( MP4FileHandle hFile, uint32_t index = numeric_limits<uint32_t>::max() );
121 #endif // MP4V2_IMPL_ITMF_COVERARTBOX_H
BasicType type
covr-box type.
Definition: CoverArtBox.h:54
Data object for covr-box item.
Definition: CoverArtBox.h:41
bool autofree
when true invoke free(buffer) upon destruction.
Definition: CoverArtBox.h:57
void reset()
Reset to state of newly constructed object.
static bool remove(MP4FileHandle hFile, uint32_t index=numeric_limits< uint32_t >::max())
Remove covr-box item from file.
static bool get(MP4FileHandle hFile, Item &item, uint32_t index)
Fetch covr-box item from file.
BasicType
Basic set of types as detailed in spec.
Definition: type.h:33
static bool list(MP4FileHandle hFile, ItemList &out)
Fetch list of covr-box items from file.
static bool add(MP4FileHandle hFile, const Item &item)
Add covr-box item to file.
uint8_t * buffer
buffer point to raw covr-box data.
Definition: CoverArtBox.h:55
static bool set(MP4FileHandle hFile, const Item &item, uint32_t index)
Replace covr-box item in file.
vector< Item > ItemList
Object representing a list of covr-box items.
Definition: CoverArtBox.h:61
uint32_t size
size of covr-box buffer size in bytes.
Definition: CoverArtBox.h:56
Functional class for covr-box (Cover-art Box) support.
Definition: CoverArtBox.h:34