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

Side by Side Diff: media/cast/sender/external_video_encoder_unittest.cc

Issue 736233003: Renaming "incoming_feedback_ssrc" to "receiver_ssrc" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/cast/sender/audio_sender.cc ('k') | media/cast/sender/video_sender.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 // 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 <vector> 5 #include <vector>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 DISALLOW_COPY_AND_ASSIGN(TestVideoEncoderCallback); 101 DISALLOW_COPY_AND_ASSIGN(TestVideoEncoderCallback);
102 }; 102 };
103 } // namespace 103 } // namespace
104 104
105 class ExternalVideoEncoderTest : public ::testing::Test { 105 class ExternalVideoEncoderTest : public ::testing::Test {
106 protected: 106 protected:
107 ExternalVideoEncoderTest() 107 ExternalVideoEncoderTest()
108 : test_video_encoder_callback_(new TestVideoEncoderCallback()) { 108 : test_video_encoder_callback_(new TestVideoEncoderCallback()) {
109 video_config_.ssrc = 1; 109 video_config_.ssrc = 1;
110 video_config_.incoming_feedback_ssrc = 2; 110 video_config_.receiver_ssrc = 2;
111 video_config_.rtp_payload_type = 127; 111 video_config_.rtp_payload_type = 127;
112 video_config_.use_external_encoder = true; 112 video_config_.use_external_encoder = true;
113 video_config_.width = 320; 113 video_config_.width = 320;
114 video_config_.height = 240; 114 video_config_.height = 240;
115 video_config_.max_bitrate = 5000000; 115 video_config_.max_bitrate = 5000000;
116 video_config_.min_bitrate = 1000000; 116 video_config_.min_bitrate = 1000000;
117 video_config_.start_bitrate = 2000000; 117 video_config_.start_bitrate = 2000000;
118 video_config_.max_qp = 56; 118 video_config_.max_qp = 56;
119 video_config_.min_qp = 0; 119 video_config_.min_qp = 0;
120 video_config_.max_frame_rate = 30; 120 video_config_.max_frame_rate = 30;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 base::Unretained(&vea_factory)), 252 base::Unretained(&vea_factory)),
253 base::Bind(&CreateSharedMemory))); 253 base::Bind(&CreateSharedMemory)));
254 254
255 video_encoder.reset(); 255 video_encoder.reset();
256 vea_factory.FinishCreatingVideoEncodeAccelerator(); 256 vea_factory.FinishCreatingVideoEncodeAccelerator();
257 task_runner->RunTasks(); 257 task_runner->RunTasks();
258 } 258 }
259 259
260 } // namespace cast 260 } // namespace cast
261 } // namespace media 261 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/audio_sender.cc ('k') | media/cast/sender/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698