// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_FORMATS_MP4_AC4_H_ #define MEDIA_FORMATS_MP4_AC4_H_ #include <stdint.h> #include <vector> #include "build/build_config.h" #include "media/base/audio_codecs.h" #include "media/base/bit_reader.h" #include "media/base/channel_layout.h" #include "media/base/media_export.h" #include "media/base/media_log.h" #include "media/media_buildflags.h" namespace media { namespace mp4 { struct AC4StreamInfo { … }; // This class parses the AC4 information from decoder specific information // embedded in the dac4 box in an ISO BMFF file. // Please refer to ETSI TS 103 190-2 V1.2.1 (2018-02) // https://www.etsi.org/deliver/etsi_ts/103100_103199/10319002/01.02.01_60/ts_10319002v010201p.pdf // E.5 AC4SpecificBox // for more details. // For IMS, Please refer to // https://ott.dolby.com/OnDelKits/AC-4/Dolby_AC-4_Online_Delivery_Kit_1.5/Documentation/Specs/AC4_DASH/help_files/topics/ac4_in_mpeg_dash_c_signaling_ac4_in_iso.html class MEDIA_EXPORT AC4 { … }; } // namespace mp4 } // namespace media #endif // MEDIA_FORMATS_MP4_AC4_H_