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

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

Issue 3004583002: Change frame bookkeeping in VideoProcessorIntegrationTest. (Closed)
Patch Set: 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
« no previous file with comments | « webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h ('k') | no next file » | 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 16 matching lines...) Expand all
27 // Codec settings. 27 // Codec settings.
28 const bool kResilienceOn = true; 28 const bool kResilienceOn = true;
29 29
30 // Default sequence is foreman (CIF): may be better to use VGA for resize test. 30 // Default sequence is foreman (CIF): may be better to use VGA for resize test.
31 const int kCifWidth = 352; 31 const int kCifWidth = 352;
32 const int kCifHeight = 288; 32 const int kCifHeight = 288;
33 const char kForemanCif[] = "foreman_cif"; 33 const char kForemanCif[] = "foreman_cif";
34 #if !defined(WEBRTC_IOS) 34 #if !defined(WEBRTC_IOS)
35 const int kNumFramesShort = 100; 35 const int kNumFramesShort = 100;
36 #endif 36 #endif
37 const int kNumFramesLong = 299; 37 const int kNumFramesLong = 300;
38 38
39 const std::nullptr_t kNoVisualizationParams = nullptr; 39 const std::nullptr_t kNoVisualizationParams = nullptr;
40 40
41 } // namespace 41 } // namespace
42 42
43 #if defined(WEBRTC_USE_H264) 43 #if defined(WEBRTC_USE_H264)
44 44
45 // H264: Run with no packet loss and fixed bitrate. Quality should be very high. 45 // H264: Run with no packet loss and fixed bitrate. Quality should be very high.
46 // Note(hbos): The PacketManipulatorImpl code used to simulate packet loss in 46 // Note(hbos): The PacketManipulatorImpl code used to simulate packet loss in
47 // these unittests appears to drop "packets" in a way that is not compatible 47 // these unittests appears to drop "packets" in a way that is not compatible
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 432
433 std::vector<RateControlThresholds> rc_thresholds; 433 std::vector<RateControlThresholds> rc_thresholds;
434 AddRateControlThresholds(0, 20, 30, 10, 10, 0, 1, &rc_thresholds); 434 AddRateControlThresholds(0, 20, 30, 10, 10, 0, 1, &rc_thresholds);
435 AddRateControlThresholds(0, 0, 30, 15, 10, 0, 0, &rc_thresholds); 435 AddRateControlThresholds(0, 0, 30, 15, 10, 0, 0, &rc_thresholds);
436 436
437 ProcessFramesAndMaybeVerify(rate_profile, &rc_thresholds, &quality_thresholds, 437 ProcessFramesAndMaybeVerify(rate_profile, &rc_thresholds, &quality_thresholds,
438 kNoVisualizationParams); 438 kNoVisualizationParams);
439 } 439 }
440 } // namespace test 440 } // namespace test
441 } // namespace webrtc 441 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698