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

Side by Side Diff: webrtc/modules/video_coding/qm_select_unittest.cc

Issue 1922103002: Remove "This file includes unit tests" comments. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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) 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
11 /*
12 * This file includes unit tests the QmResolution class
13 * In particular, for the selection of spatial and/or temporal down-sampling.
14 */
15
16 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
17 12
18 #include "webrtc/modules/include/module_common_types.h" 13 #include "webrtc/modules/include/module_common_types.h"
19 #include "webrtc/modules/video_coding/qm_select.h" 14 #include "webrtc/modules/video_coding/qm_select.h"
20 15
21 namespace webrtc { 16 namespace webrtc {
22 17
23 // Representative values of content metrics for: low/high/medium(default) state, 18 // Representative values of content metrics for: low/high/medium(default) state,
24 // based on parameters settings in qm_select_data.h. 19 // based on parameters settings in qm_select_data.h.
25 const float kSpatialLow = 0.01f; 20 const float kSpatialLow = 0.01f;
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 qm_scale->temporal_fact == fac_temp && 1293 qm_scale->temporal_fact == fac_temp &&
1299 qm_scale->codec_width == new_width && 1294 qm_scale->codec_width == new_width &&
1300 qm_scale->codec_height == new_height && 1295 qm_scale->codec_height == new_height &&
1301 qm_scale->frame_rate == new_frame_rate) { 1296 qm_scale->frame_rate == new_frame_rate) {
1302 return true; 1297 return true;
1303 } else { 1298 } else {
1304 return false; 1299 return false;
1305 } 1300 }
1306 } 1301 }
1307 } // namespace webrtc 1302 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc ('k') | webrtc/video/encoder_state_feedback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698