9 #ifndef PACKAGER_MEDIA_CODECS_EC3_AUDIO_UTIL_H_
10 #define PACKAGER_MEDIA_CODECS_EC3_AUDIO_UTIL_H_
22 bool CalculateEC3ChannelMap(
const std::vector<uint8_t>& ec3_data,
23 uint32_t* channel_map);
28 size_t GetEc3NumChannels(
const std::vector<uint8_t>& ec3_data);
34 bool CalculateEC3ChannelMPEGValue(
const std::vector<uint8_t>& ec3_data,
35 uint32_t* ec3_channel_mpeg_value);
40 bool GetEc3JocComplexity(
const std::vector<uint8_t>& ec3_data,
41 uint32_t* ec3_joc_complexity);
All the methods that are virtual are virtual for mocking.