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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc

Issue 2381013002: Sort #includes that got unsorted when gmock.h and gtest.h moved to webrtc/test/ (Closed)
Patch Set: rebase Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 #include "vpx/vp8cx.h"
12 #include "vpx/vpx_encoder.h"
13 #include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h"
14 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
11 #include "webrtc/test/gtest.h" 15 #include "webrtc/test/gtest.h"
12 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
13 #include "webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h"
14
15 #include "vpx/vpx_encoder.h"
16 #include "vpx/vp8cx.h"
17 16
18 namespace webrtc { 17 namespace webrtc {
19 18
20 enum { 19 enum {
21 kTemporalUpdateLast = VP8_EFLAG_NO_UPD_GF | VP8_EFLAG_NO_UPD_ARF | 20 kTemporalUpdateLast = VP8_EFLAG_NO_UPD_GF | VP8_EFLAG_NO_UPD_ARF |
22 VP8_EFLAG_NO_REF_GF | 21 VP8_EFLAG_NO_REF_GF |
23 VP8_EFLAG_NO_REF_ARF, 22 VP8_EFLAG_NO_REF_ARF,
24 kTemporalUpdateGoldenWithoutDependency = 23 kTemporalUpdateGoldenWithoutDependency =
25 VP8_EFLAG_NO_REF_GF | VP8_EFLAG_NO_REF_ARF | VP8_EFLAG_NO_UPD_ARF | 24 VP8_EFLAG_NO_REF_GF | VP8_EFLAG_NO_REF_ARF | VP8_EFLAG_NO_UPD_ARF |
26 VP8_EFLAG_NO_UPD_LAST, 25 VP8_EFLAG_NO_UPD_LAST,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 EXPECT_EQ(expected_temporal_idx[i], vp8_info.temporalIdx); 196 EXPECT_EQ(expected_temporal_idx[i], vp8_info.temporalIdx);
198 EXPECT_EQ(true, vp8_info.layerSync); 197 EXPECT_EQ(true, vp8_info.layerSync);
199 timestamp += 3000; 198 timestamp += 3000;
200 } 199 }
201 EXPECT_EQ(expected_flags[7], tl.EncodeFlags(timestamp)); 200 EXPECT_EQ(expected_flags[7], tl.EncodeFlags(timestamp));
202 tl.PopulateCodecSpecific(false, &vp8_info, 0); 201 tl.PopulateCodecSpecific(false, &vp8_info, 0);
203 EXPECT_EQ(expected_temporal_idx[7], vp8_info.temporalIdx); 202 EXPECT_EQ(expected_temporal_idx[7], vp8_info.temporalIdx);
204 EXPECT_EQ(true, vp8_info.layerSync); 203 EXPECT_EQ(true, vp8_info.layerSync);
205 } 204 }
206 } // namespace webrtc 205 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698