9 #ifndef PACKAGER_MEDIA_CODECS_AC4_AUDIO_UTIL_H_
10 #define PACKAGER_MEDIA_CODECS_AC4_AUDIO_UTIL_H_
23 bool CalculateAC4ChannelMask(
const std::vector<uint8_t>& ac4_data,
24 uint32_t* ac4_channel_mask);
31 bool CalculateAC4ChannelMPEGValue(
const std::vector<uint8_t>& ac4_data,
32 uint32_t* ac4_channel_mpeg_value);
39 bool GetAc4CodecInfo(
const std::vector<uint8_t>& ac4_data,
40 uint8_t* ac4_codec_info);
45 bool GetAc4ImmersiveInfo(
const std::vector<uint8_t>& ac4_data,
All the methods that are virtual are virtual for mocking.