OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <algorithm> | 5 #include <algorithm> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/time.h" | 12 #include "base/time/time.h" |
13 #include "media/base/audio_decoder_config.h" | 13 #include "media/base/audio_decoder_config.h" |
14 #include "media/base/decoder_buffer.h" | 14 #include "media/base/decoder_buffer.h" |
15 #include "media/base/stream_parser_buffer.h" | 15 #include "media/base/stream_parser_buffer.h" |
16 #include "media/base/test_data_util.h" | 16 #include "media/base/test_data_util.h" |
17 #include "media/base/video_decoder_config.h" | 17 #include "media/base/video_decoder_config.h" |
18 #include "media/mp4/es_descriptor.h" | 18 #include "media/mp4/es_descriptor.h" |
19 #include "media/mp4/mp4_stream_parser.h" | 19 #include "media/mp4/mp4_stream_parser.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 | 21 |
22 using base::TimeDelta; | 22 using base::TimeDelta; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 EXPECT_TRUE(AppendDataInPieces(buffer->GetData() + kFirstMoofOffset, | 204 EXPECT_TRUE(AppendDataInPieces(buffer->GetData() + kFirstMoofOffset, |
205 buffer->GetDataSize() - kFirstMoofOffset, | 205 buffer->GetDataSize() - kFirstMoofOffset, |
206 512)); | 206 512)); |
207 } | 207 } |
208 | 208 |
209 // TODO(strobe): Create and test media which uses CENC auxiliary info stored | 209 // TODO(strobe): Create and test media which uses CENC auxiliary info stored |
210 // inside a private box | 210 // inside a private box |
211 | 211 |
212 } // namespace mp4 | 212 } // namespace mp4 |
213 } // namespace media | 213 } // namespace media |
OLD | NEW |