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

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

Issue 2794033002: Revert of Move video_encoder.h and video_decoder.h to /api and create GN targets for them (Closed)
Patch Set: 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/payload_router.h ('k') | webrtc/video/video_receive_stream_unittest.cc » ('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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 10
11 #include <stdio.h> 11 #include <stdio.h>
12 12
13 #include <map> 13 #include <map>
14 #include <memory> 14 #include <memory>
15 #include <sstream> 15 #include <sstream>
16 16
17 #include "gflags/gflags.h" 17 #include "gflags/gflags.h"
18 #include "webrtc/api/video_codecs/video_decoder.h"
19 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
20 #include "webrtc/call/call.h" 19 #include "webrtc/call/call.h"
21 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
22 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 21 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
23 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" 22 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
24 #include "webrtc/system_wrappers/include/clock.h" 23 #include "webrtc/system_wrappers/include/clock.h"
25 #include "webrtc/system_wrappers/include/sleep.h" 24 #include "webrtc/system_wrappers/include/sleep.h"
26 #include "webrtc/test/encoder_settings.h" 25 #include "webrtc/test/encoder_settings.h"
27 #include "webrtc/test/fake_decoder.h" 26 #include "webrtc/test/fake_decoder.h"
28 #include "webrtc/test/gtest.h" 27 #include "webrtc/test/gtest.h"
29 #include "webrtc/test/null_transport.h" 28 #include "webrtc/test/null_transport.h"
30 #include "webrtc/test/rtp_file_reader.h" 29 #include "webrtc/test/rtp_file_reader.h"
31 #include "webrtc/test/run_loop.h" 30 #include "webrtc/test/run_loop.h"
32 #include "webrtc/test/run_test.h" 31 #include "webrtc/test/run_test.h"
33 #include "webrtc/test/video_capturer.h" 32 #include "webrtc/test/video_capturer.h"
34 #include "webrtc/test/video_renderer.h" 33 #include "webrtc/test/video_renderer.h"
35 #include "webrtc/typedefs.h" 34 #include "webrtc/typedefs.h"
35 #include "webrtc/video_decoder.h"
36 36
37 namespace webrtc { 37 namespace webrtc {
38 namespace flags { 38 namespace flags {
39 39
40 // TODO(pbos): Multiple receivers. 40 // TODO(pbos): Multiple receivers.
41 41
42 // Flag for payload type. 42 // Flag for payload type.
43 static bool ValidatePayloadType(const char* flagname, int32_t payload_type) { 43 static bool ValidatePayloadType(const char* flagname, int32_t payload_type) {
44 return payload_type > 0 && payload_type <= 127; 44 return payload_type > 0 && payload_type <= 127;
45 } 45 }
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 } 327 }
328 } // namespace webrtc 328 } // namespace webrtc
329 329
330 int main(int argc, char* argv[]) { 330 int main(int argc, char* argv[]) {
331 ::testing::InitGoogleTest(&argc, argv); 331 ::testing::InitGoogleTest(&argc, argv);
332 google::ParseCommandLineFlags(&argc, &argv, true); 332 google::ParseCommandLineFlags(&argc, &argv, true);
333 333
334 webrtc::test::RunTest(webrtc::RtpReplay); 334 webrtc::test::RunTest(webrtc::RtpReplay);
335 return 0; 335 return 0;
336 } 336 }
OLDNEW
« no previous file with comments | « webrtc/video/payload_router.h ('k') | webrtc/video/video_receive_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698