| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
| 5 #include <sstream> | 8 #include <sstream> |
| 6 #include <string> | 9 #include <string> |
| 7 #include <vector> | 10 #include <vector> |
| 8 | 11 |
| 9 #include "base/bind.h" | 12 #include "base/bind.h" |
| 10 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
| 11 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 12 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 13 #include "media/base/stream_parser_buffer.h" | 17 #include "media/base/stream_parser_buffer.h" |
| 14 #include "media/filters/h264_parser.h" | 18 #include "media/filters/h264_parser.h" |
| 15 #include "media/formats/mp2t/es_parser_h264.h" | 19 #include "media/formats/mp2t/es_parser_h264.h" |
| 16 #include "media/formats/mp2t/es_parser_test_base.h" | 20 #include "media/formats/mp2t/es_parser_test_base.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 18 | 22 |
| 19 namespace media { | 23 namespace media { |
| 20 class VideoDecoderConfig; | 24 class VideoDecoderConfig; |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 EXPECT_TRUE(Process(pes_packets, false)); | 253 EXPECT_TRUE(Process(pes_packets, false)); |
| 250 CheckAccessUnits(); | 254 CheckAccessUnits(); |
| 251 | 255 |
| 252 // Process PES packets forcing timings for each PES packet. | 256 // Process PES packets forcing timings for each PES packet. |
| 253 EXPECT_TRUE(Process(pes_packets, true)); | 257 EXPECT_TRUE(Process(pes_packets, true)); |
| 254 CheckAccessUnits(); | 258 CheckAccessUnits(); |
| 255 } | 259 } |
| 256 | 260 |
| 257 } // namespace mp2t | 261 } // namespace mp2t |
| 258 } // namespace media | 262 } // namespace media |
| OLD | NEW |