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

Side by Side Diff: webrtc/video/end_to_end_tests.cc

Issue 2795163002: Reland of Move video_encoder.h and video_decoder.h to /api and create GN targets for them (Closed)
Patch Set: Fix typo Created 3 years, 8 months 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 | « webrtc/video/BUILD.gn ('k') | webrtc/video/payload_router.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 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include <algorithm> 10 #include <algorithm>
11 #include <list> 11 #include <list>
12 #include <map> 12 #include <map>
13 #include <memory> 13 #include <memory>
14 #include <sstream> 14 #include <sstream>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/api/video_codecs/video_encoder.h"
18 #include "webrtc/base/checks.h" 19 #include "webrtc/base/checks.h"
19 #include "webrtc/base/event.h" 20 #include "webrtc/base/event.h"
20 #include "webrtc/base/file.h" 21 #include "webrtc/base/file.h"
21 #include "webrtc/base/optional.h" 22 #include "webrtc/base/optional.h"
22 #include "webrtc/base/random.h" 23 #include "webrtc/base/random.h"
23 #include "webrtc/base/rate_limiter.h" 24 #include "webrtc/base/rate_limiter.h"
24 #include "webrtc/call/call.h" 25 #include "webrtc/call/call.h"
25 #include "webrtc/common_video/include/frame_callback.h" 26 #include "webrtc/common_video/include/frame_callback.h"
26 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 27 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
27 #include "webrtc/media/base/fakevideorenderer.h" 28 #include "webrtc/media/base/fakevideorenderer.h"
(...skipping 19 matching lines...) Expand all
47 #include "webrtc/test/frame_generator.h" 48 #include "webrtc/test/frame_generator.h"
48 #include "webrtc/test/frame_generator_capturer.h" 49 #include "webrtc/test/frame_generator_capturer.h"
49 #include "webrtc/test/gtest.h" 50 #include "webrtc/test/gtest.h"
50 #include "webrtc/test/gmock.h" 51 #include "webrtc/test/gmock.h"
51 #include "webrtc/test/null_transport.h" 52 #include "webrtc/test/null_transport.h"
52 #include "webrtc/test/rtcp_packet_parser.h" 53 #include "webrtc/test/rtcp_packet_parser.h"
53 #include "webrtc/test/rtp_rtcp_observer.h" 54 #include "webrtc/test/rtp_rtcp_observer.h"
54 #include "webrtc/test/testsupport/fileutils.h" 55 #include "webrtc/test/testsupport/fileutils.h"
55 #include "webrtc/test/testsupport/perf_test.h" 56 #include "webrtc/test/testsupport/perf_test.h"
56 #include "webrtc/video/transport_adapter.h" 57 #include "webrtc/video/transport_adapter.h"
57 #include "webrtc/video_encoder.h"
58 58
59 #if defined(MEMORY_SANITIZER) 59 #if defined(MEMORY_SANITIZER)
60 // Flaky under MemorySanitizer, see 60 // Flaky under MemorySanitizer, see
61 // https://bugs.chromium.org/p/webrtc/issues/detail?id=7419 61 // https://bugs.chromium.org/p/webrtc/issues/detail?id=7419
62 #define MAYBE_InitialProbing DISABLED_InitialProbing 62 #define MAYBE_InitialProbing DISABLED_InitialProbing
63 #else 63 #else
64 #define MAYBE_InitialProbing InitialProbing 64 #define MAYBE_InitialProbing InitialProbing
65 #endif 65 #endif
66 66
67 namespace webrtc { 67 namespace webrtc {
(...skipping 4275 matching lines...) Expand 10 before | Expand all | Expand 10 after
4343 std::unique_ptr<VideoEncoder> encoder_; 4343 std::unique_ptr<VideoEncoder> encoder_;
4344 std::unique_ptr<VideoDecoder> decoder_; 4344 std::unique_ptr<VideoDecoder> decoder_;
4345 rtc::CriticalSection crit_; 4345 rtc::CriticalSection crit_;
4346 int recorded_frames_ GUARDED_BY(crit_); 4346 int recorded_frames_ GUARDED_BY(crit_);
4347 } test(this); 4347 } test(this);
4348 4348
4349 RunBaseTest(&test); 4349 RunBaseTest(&test);
4350 } 4350 }
4351 4351
4352 } // namespace webrtc 4352 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/BUILD.gn ('k') | webrtc/video/payload_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698