arduino-audio-tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Attributes | Friends | List of all members
MP4Parser::Box Struct Reference

Represents an individual box in the MP4 file. More...

#include <MP4Parser.h>

Public Attributes

int available = 0
 Number of bytes available as data.
 
const uint8_t * data
 Pointer to box payload (not including header)
 
size_t data_size = 0
 Size of payload (not including header)
 
uint64_t file_offset = 0
 File offset where box starts.
 
size_t id = 0
 Unique box ID.
 
bool is_complete = false
 True if the box data is complete.
 
bool is_container = false
 True if the box is a container.
 
bool is_incremental = false
 True if the box is being parsed incrementally.
 
int level = 0
 Nesting depth.
 
size_t seq = 0
 Sequence number for the box per id.
 
size_t size
 Size of payload including subboxes (not including header)
 
char type [5]
 4-character box type (null-terminated)
 

Friends

class MP4Parser
 Allow MP4Parser to access private members.
 
class MP4ParserExt
 

Detailed Description

Represents an individual box in the MP4 file.

Friends And Related Symbol Documentation

◆ MP4ParserExt

friend class MP4ParserExt
friend

Allow MP4ParserExt to access private members

Member Data Documentation

◆ data

const uint8_t* data
Initial value:
=
nullptr

Pointer to box payload (not including header)

◆ size

size_t size
Initial value:
=
0

Size of payload including subboxes (not including header)


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