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

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

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" 11 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h"
12 12
13 #include <string.h> 13 #include <string.h>
14 14
15 #include <limits> 15 #include <limits>
16 #include <memory> 16 #include <memory>
17 #include <utility> 17 #include <utility>
18 #include <vector> 18 #include <vector>
19 19
20 #include "webrtc/api/video/i420_buffer.h" 20 #include "webrtc/api/video/i420_buffer.h"
21 #include "webrtc/base/checks.h"
22 #include "webrtc/base/timeutils.h"
21 #include "webrtc/common_types.h" 23 #include "webrtc/common_types.h"
24 #include "webrtc/modules/video_coding/include/video_codec_initializer.h"
22 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h" 25 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h"
23 #include "webrtc/modules/video_coding/include/video_codec_initializer.h"
24 #include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h" 26 #include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h"
25 #include "webrtc/rtc_base/checks.h"
26 #include "webrtc/rtc_base/timeutils.h"
27 #include "webrtc/system_wrappers/include/cpu_info.h" 27 #include "webrtc/system_wrappers/include/cpu_info.h"
28 28
29 namespace webrtc { 29 namespace webrtc {
30 namespace test { 30 namespace test {
31 31
32 namespace { 32 namespace {
33 33
34 // TODO(brandtr): Update this to use the real frame rate. 34 // TODO(brandtr): Update this to use the real frame rate.
35 const int k90khzTimestampFrameDiff = 3000; // Assuming 30 fps. 35 const int k90khzTimestampFrameDiff = 3000; // Assuming 30 fps.
36 36
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 if (decoded_frame_writer_) { 482 if (decoded_frame_writer_) {
483 RTC_DCHECK_EQ(extracted_length, decoded_frame_writer_->FrameLength()); 483 RTC_DCHECK_EQ(extracted_length, decoded_frame_writer_->FrameLength());
484 RTC_CHECK(decoded_frame_writer_->WriteFrame(extracted_buffer.data())); 484 RTC_CHECK(decoded_frame_writer_->WriteFrame(extracted_buffer.data()));
485 } 485 }
486 486
487 last_decoded_frame_buffer_ = std::move(extracted_buffer); 487 last_decoded_frame_buffer_ = std::move(extracted_buffer);
488 } 488 }
489 489
490 } // namespace test 490 } // namespace test
491 } // namespace webrtc 491 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698