| 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 "media/formats/mp2t/es_parser_test_base.h" | 5 #include "media/formats/mp2t/es_parser_test_base.h" |
| 6 | 6 |
| 7 #include "base/files/memory_mapped_file.h" | 7 #include "base/files/memory_mapped_file.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/path_service.h" | |
| 10 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
| 11 #include "media/base/buffers.h" | 10 #include "media/base/buffers.h" |
| 12 #include "media/base/stream_parser_buffer.h" | 11 #include "media/base/stream_parser_buffer.h" |
| 13 #include "media/base/test_data_util.h" | 12 #include "media/base/test_data_util.h" |
| 14 #include "media/formats/mp2t/es_parser.h" | 13 #include "media/formats/mp2t/es_parser.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 15 |
| 17 namespace media { | 16 namespace media { |
| 18 namespace mp2t { | 17 namespace mp2t { |
| 19 | 18 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 pes_packets.push_back(cur_pes_packet); | 115 pes_packets.push_back(cur_pes_packet); |
| 117 cur_pes_packet.offset += pes_size; | 116 cur_pes_packet.offset += pes_size; |
| 118 } | 117 } |
| 119 ComputePacketSize(&pes_packets); | 118 ComputePacketSize(&pes_packets); |
| 120 | 119 |
| 121 return pes_packets; | 120 return pes_packets; |
| 122 } | 121 } |
| 123 | 122 |
| 124 } // namespace mp2t | 123 } // namespace mp2t |
| 125 } // namespace media | 124 } // namespace media |
| OLD | NEW |