Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: media/formats/mp2t/es_parser_h264_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/formats/mp2t/es_parser_h264.h ('k') | media/formats/mp2t/es_parser_mpeg1audio.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « media/formats/mp2t/es_parser_h264.h ('k') | media/formats/mp2t/es_parser_mpeg1audio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698