// Copyright 2014 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_AVC_H_ #define MEDIA_FORMATS_MP4_AVC_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include <vector> #include "media/base/media_export.h" #include "media/formats/mp4/bitstream_converter.h" namespace media { struct SubsampleEntry; namespace mp4 { struct AVCDecoderConfigurationRecord; class MEDIA_EXPORT AVC { … }; // AVCBitstreamConverter converts AVC/H.264 bitstream from MP4 container format // with embedded NALU lengths into AnnexB bitstream format (described in ISO/IEC // 14496-10) with 4-byte start codes. It also knows how to handle CENC-encrypted // streams and adjusts subsample data for those streams while converting. class AVCBitstreamConverter : public BitstreamConverter { … }; } // namespace mp4 } // namespace media #endif // MEDIA_FORMATS_MP4_AVC_H_