7 #ifndef PACKAGER_MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_
8 #define PACKAGER_MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_
12 #include <absl/log/check.h>
13 #include <absl/log/log.h>
15 #include <packager/macros/classes.h>
16 #include <packager/media/codecs/nalu_reader.h>
46 const Nalu&
nalu(
size_t i)
const {
return nalu_[i]; }
64 const uint8_t*
data()
const {
return data_.data(); }
91 virtual bool ParseInternal() = 0;
95 std::vector<uint8_t> data_;
96 std::vector<Nalu> nalu_;
97 uint8_t nalu_length_size_ = 0;
102 uint8_t transfer_characteristics_ = 0;
104 uint8_t color_primaries_ = 0;
105 uint8_t matrix_coefficients_ = 0;
All the methods that are virtual are virtual for mocking.