17 #ifndef ADTF_FILE_ADTF3_SAMPLE_INFO
18 #define ADTF_FILE_ADTF3_SAMPLE_INFO
Interface class for an output stream.
Definition: adtf_file_writer.h:39
Interface class for samples that are read from a Reader.
Definition: sample.h:72
Interface class for samples that are written.
Definition: sample.h:114
void deserializeSampleInfo(ReadSample &sample, InputStream &stream)
deserializes the sample info from stream as trailing data to the sample if hasSampleInfo returned wit...
void serializeSampleInfo(const WriteSample &sample, OutputStream &stream)
serializes the sample info as trailing data to the sample
HashedValueType
Value type identifier for sample info within adtf_file::ReadSample, adtf_file::WriteSample.
Definition: adtf3_sample_info.h:35
bool hasSampleInfo(const WriteSample &sample)
Checks wether the sample has trailing sample information or not.
namespace for ADTF File library
Definition: adtf2_adtf_core_media_sample_deserializer.h:25
Value Storage struct.
Definition: adtf3_sample_info.h:56
uint8_t storage_version
the version of storage (we using 8 bit for versioning)
Definition: adtf3_sample_info.h:73
uint32_t key
the hash key of the value (for accessing its important to have aligned value)
Definition: adtf3_sample_info.h:82
uint8_t byte_size
byte size of value (we using 8 bit to restrict the value size)
Definition: adtf3_sample_info.h:75
static uint8_t getVersion()
Get the Version.
Definition: adtf3_sample_info.h:61
HashedValueType type
the value type
Definition: adtf3_sample_info.h:77