1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_FORMATS_MP4_CENC_H_
6 #define MEDIA_FORMATS_MP4_CENC_H_
10 #include "base/basictypes.h"
11 #include "media/base/decrypt_config.h"
18 struct FrameCENCInfo
{
20 std::vector
<SubsampleEntry
> subsamples
;
24 bool Parse(int iv_size
, BufferReader
* r
) WARN_UNUSED_RESULT
;
25 bool GetTotalSizeOfSubsamples(size_t* total_size
) const WARN_UNUSED_RESULT
;
32 #endif // MEDIA_FORMATS_MP4_CENC_H_