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

Side by Side Diff: webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h

Issue 3009963002: Add ability to instantiate VideoEncoderSoftwareFallback in VP tests. (Closed)
Patch Set: srte comments 1. Created 3 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void PrintAndMaybeVerifyRateControlMetrics( 143 void PrintAndMaybeVerifyRateControlMetrics(
144 int rate_update_index, 144 int rate_update_index,
145 const std::vector<RateControlThresholds>* rc_thresholds, 145 const std::vector<RateControlThresholds>* rc_thresholds,
146 const std::vector<int>& num_dropped_frames, 146 const std::vector<int>& num_dropped_frames,
147 const std::vector<int>& num_resize_actions); 147 const std::vector<int>& num_resize_actions);
148 int TemporalLayerIndexForFrame(int frame_number) const; 148 int TemporalLayerIndexForFrame(int frame_number) const;
149 void ResetRateControlMetrics(int rate_update_index, 149 void ResetRateControlMetrics(int rate_update_index,
150 const RateProfile& rate_profile); 150 const RateProfile& rate_profile);
151 151
152 // Codecs. 152 // Codecs.
153 std::unique_ptr<cricket::WebRtcVideoEncoderFactory> encoder_factory_; 153 std::unique_ptr<VideoEncoder> encoder_;
154 VideoEncoder* encoder_;
155 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> decoder_factory_; 154 std::unique_ptr<cricket::WebRtcVideoDecoderFactory> decoder_factory_;
156 VideoDecoder* decoder_; 155 VideoDecoder* decoder_;
157 156
158 // Helper objects. 157 // Helper objects.
159 std::unique_ptr<FrameReader> analysis_frame_reader_; 158 std::unique_ptr<FrameReader> analysis_frame_reader_;
160 std::unique_ptr<FrameWriter> analysis_frame_writer_; 159 std::unique_ptr<FrameWriter> analysis_frame_writer_;
161 std::unique_ptr<IvfFileWriter> encoded_frame_writer_; 160 std::unique_ptr<IvfFileWriter> encoded_frame_writer_;
162 std::unique_ptr<FrameWriter> decoded_frame_writer_; 161 std::unique_ptr<FrameWriter> decoded_frame_writer_;
163 PacketReader packet_reader_; 162 PacketReader packet_reader_;
164 std::unique_ptr<PacketManipulator> packet_manipulator_; 163 std::unique_ptr<PacketManipulator> packet_manipulator_;
(...skipping 19 matching lines...) Expand all
184 float target_size_key_frame_initial_; 183 float target_size_key_frame_initial_;
185 float target_size_key_frame_; 184 float target_size_key_frame_;
186 float sum_key_frame_size_mismatch_; 185 float sum_key_frame_size_mismatch_;
187 int num_key_frames_; 186 int num_key_frames_;
188 }; 187 };
189 188
190 } // namespace test 189 } // namespace test
191 } // namespace webrtc 190 } // namespace webrtc
192 191
193 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_INTEGRATIONTES T_H_ 192 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_INTEGRATIONTES T_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698