cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / media / mp4 / cenc.h
blobe558559a9394215428ac7b2e3366335a6ba96766
1 // Copyright (c) 2012 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_MP4_CENC_H_
6 #define MEDIA_MP4_CENC_H_
8 #include <vector>
10 #include "base/basictypes.h"
11 #include "media/base/decrypt_config.h"
13 namespace media {
14 namespace mp4 {
16 class BufferReader;
18 struct FrameCENCInfo {
19 uint8 iv[16];
20 std::vector<SubsampleEntry> subsamples;
22 FrameCENCInfo();
23 ~FrameCENCInfo();
24 bool Parse(int iv_size, BufferReader* r);
25 size_t GetTotalSizeOfSubsamples() const;
29 } // namespace mp4
30 } // namespace media
32 #endif // MEDIA_MP4_CENC_H_