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

Side by Side Diff: test/call_test.h

Issue 3019593002: Reland of Add full stack tests for MediaCodec.
Patch Set: Created 3 years, 2 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 | « modules/video_coding/BUILD.gn ('k') | test/call_test.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 #ifndef TEST_CALL_TEST_H_ 10 #ifndef TEST_CALL_TEST_H_
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 std::vector<AudioReceiveStream*> audio_receive_streams_; 126 std::vector<AudioReceiveStream*> audio_receive_streams_;
127 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_; 127 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_;
128 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_; 128 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_;
129 129
130 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_; 130 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_;
131 test::FakeEncoder fake_encoder_; 131 test::FakeEncoder fake_encoder_;
132 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_; 132 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_;
133 size_t num_video_streams_; 133 size_t num_video_streams_;
134 size_t num_audio_streams_; 134 size_t num_audio_streams_;
135 size_t num_flexfec_streams_; 135 size_t num_flexfec_streams_;
136 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 136 rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory_;
137 rtc::scoped_refptr<AudioEncoderFactory> encoder_factory_; 137 rtc::scoped_refptr<AudioEncoderFactory> audio_encoder_factory_;
138 test::FakeVideoRenderer fake_renderer_; 138 test::FakeVideoRenderer fake_renderer_;
139 139
140 SingleThreadedTaskQueueForTesting task_queue_; 140 SingleThreadedTaskQueueForTesting task_queue_;
141 141
142 private: 142 private:
143 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API. 143 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API.
144 // These methods are used to set up legacy voice engines and channels which is 144 // These methods are used to set up legacy voice engines and channels which is
145 // necessary while voice engine is being refactored to the new stream API. 145 // necessary while voice engine is being refactored to the new stream API.
146 struct VoiceEngineState { 146 struct VoiceEngineState {
147 VoiceEngineState() 147 VoiceEngineState()
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 EndToEndTest(); 240 EndToEndTest();
241 explicit EndToEndTest(unsigned int timeout_ms); 241 explicit EndToEndTest(unsigned int timeout_ms);
242 242
243 bool ShouldCreateReceivers() const override; 243 bool ShouldCreateReceivers() const override;
244 }; 244 };
245 245
246 } // namespace test 246 } // namespace test
247 } // namespace webrtc 247 } // namespace webrtc
248 248
249 #endif // TEST_CALL_TEST_H_ 249 #endif // TEST_CALL_TEST_H_
OLDNEW
« no previous file with comments | « modules/video_coding/BUILD.gn ('k') | test/call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698