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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h

Issue 2751133002: Remove dead code in vp8_impl files. (Closed)
Patch Set: rebase Created 3 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
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
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 ConfigureStream(kDefaultWidth / 2, kDefaultHeight / 2, kMaxBitrates[1], 217 ConfigureStream(kDefaultWidth / 2, kDefaultHeight / 2, kMaxBitrates[1],
218 kMinBitrates[1], kTargetBitrates[1], 218 kMinBitrates[1], kTargetBitrates[1],
219 &settings->simulcastStream[1], temporal_layer_profile[1]); 219 &settings->simulcastStream[1], temporal_layer_profile[1]);
220 ConfigureStream(kDefaultWidth, kDefaultHeight, kMaxBitrates[2], 220 ConfigureStream(kDefaultWidth, kDefaultHeight, kMaxBitrates[2],
221 kMinBitrates[2], kTargetBitrates[2], 221 kMinBitrates[2], kTargetBitrates[2],
222 &settings->simulcastStream[2], temporal_layer_profile[2]); 222 &settings->simulcastStream[2], temporal_layer_profile[2]);
223 settings->VP8()->resilience = kResilientStream; 223 settings->VP8()->resilience = kResilientStream;
224 settings->VP8()->denoisingOn = true; 224 settings->VP8()->denoisingOn = true;
225 settings->VP8()->errorConcealmentOn = false; 225 settings->VP8()->errorConcealmentOn = false;
226 settings->VP8()->automaticResizeOn = false; 226 settings->VP8()->automaticResizeOn = false;
227 settings->VP8()->feedbackModeOn = false;
228 settings->VP8()->frameDroppingOn = true; 227 settings->VP8()->frameDroppingOn = true;
229 settings->VP8()->keyFrameInterval = 3000; 228 settings->VP8()->keyFrameInterval = 3000;
230 } 229 }
231 230
232 static void ConfigureStream(int width, 231 static void ConfigureStream(int width,
233 int height, 232 int height,
234 int max_bitrate, 233 int max_bitrate,
235 int min_bitrate, 234 int min_bitrate,
236 int target_bitrate, 235 int target_bitrate,
237 SimulcastStream* stream, 236 SimulcastStream* stream,
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 VideoCodec settings_; 889 VideoCodec settings_;
891 rtc::scoped_refptr<I420Buffer> input_buffer_; 890 rtc::scoped_refptr<I420Buffer> input_buffer_;
892 std::unique_ptr<VideoFrame> input_frame_; 891 std::unique_ptr<VideoFrame> input_frame_;
893 std::unique_ptr<SimulcastRateAllocator> rate_allocator_; 892 std::unique_ptr<SimulcastRateAllocator> rate_allocator_;
894 }; 893 };
895 894
896 } // namespace testing 895 } // namespace testing
897 } // namespace webrtc 896 } // namespace webrtc
898 897
899 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ 898 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698