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

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

Issue 1818023002: Delete class webrtc::VideoRenderer and its header file. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased. Created 4 years, 9 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/video_capture_input.cc ('k') | webrtc/video/video_receive_stream.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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 <stdio.h> 10 #include <stdio.h>
(...skipping 25 matching lines...) Expand all
36 36
37 namespace webrtc { 37 namespace webrtc {
38 38
39 static const int kSendStatsPollingIntervalMs = 1000; 39 static const int kSendStatsPollingIntervalMs = 1000;
40 static const int kPayloadTypeH264 = 122; 40 static const int kPayloadTypeH264 = 122;
41 static const int kPayloadTypeVP8 = 123; 41 static const int kPayloadTypeVP8 = 123;
42 static const int kPayloadTypeVP9 = 124; 42 static const int kPayloadTypeVP9 = 124;
43 43
44 class VideoAnalyzer : public PacketReceiver, 44 class VideoAnalyzer : public PacketReceiver,
45 public Transport, 45 public Transport,
46 public VideoRenderer, 46 public rtc::VideoSinkInterface<VideoFrame>,
47 public VideoCaptureInput, 47 public VideoCaptureInput,
48 public EncodedFrameObserver { 48 public EncodedFrameObserver {
49 public: 49 public:
50 VideoAnalyzer(test::LayerFilteringTransport* transport, 50 VideoAnalyzer(test::LayerFilteringTransport* transport,
51 const std::string& test_label, 51 const std::string& test_label,
52 double avg_psnr_threshold, 52 double avg_psnr_threshold,
53 double avg_ssim_threshold, 53 double avg_ssim_threshold,
54 int duration_frames, 54 int duration_frames,
55 FILE* graph_data_output_file, 55 FILE* graph_data_output_file,
56 const std::string& graph_title, 56 const std::string& graph_title,
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 video_send_stream_->Stop(); 1098 video_send_stream_->Stop();
1099 receive_stream->Stop(); 1099 receive_stream->Stop();
1100 1100
1101 call->DestroyVideoReceiveStream(receive_stream); 1101 call->DestroyVideoReceiveStream(receive_stream);
1102 call->DestroyVideoSendStream(video_send_stream_); 1102 call->DestroyVideoSendStream(video_send_stream_);
1103 1103
1104 transport.StopSending(); 1104 transport.StopSending();
1105 } 1105 }
1106 1106
1107 } // namespace webrtc 1107 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/video_capture_input.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698