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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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) 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 */
11 11
12 #include "webrtc/modules/video_coding/codecs/vp9/vp9_impl.h" 12 #include "webrtc/modules/video_coding/codecs/vp9/vp9_impl.h"
13 13
14 #include <stdlib.h> 14 #include <stdlib.h>
15 #include <string.h> 15 #include <string.h>
16 #include <time.h> 16 #include <time.h>
17 #include <vector> 17 #include <vector>
18 18
19 #include "vpx/vpx_encoder.h" 19 #include "vpx/vpx_encoder.h"
20 #include "vpx/vpx_decoder.h" 20 #include "vpx/vpx_decoder.h"
21 #include "vpx/vp8cx.h" 21 #include "vpx/vp8cx.h"
22 #include "vpx/vp8dx.h" 22 #include "vpx/vp8dx.h"
23 23
24 #include "webrtc/base/checks.h"
25 #include "webrtc/base/keep_ref_until_done.h"
26 #include "webrtc/base/logging.h"
27 #include "webrtc/base/random.h"
28 #include "webrtc/base/timeutils.h"
29 #include "webrtc/base/trace_event.h"
30 #include "webrtc/common_video/include/video_frame_buffer.h" 24 #include "webrtc/common_video/include/video_frame_buffer.h"
31 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 25 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
32 #include "webrtc/modules/video_coding/codecs/vp9/screenshare_layers.h" 26 #include "webrtc/modules/video_coding/codecs/vp9/screenshare_layers.h"
27 #include "webrtc/rtc_base/checks.h"
28 #include "webrtc/rtc_base/keep_ref_until_done.h"
29 #include "webrtc/rtc_base/logging.h"
30 #include "webrtc/rtc_base/random.h"
31 #include "webrtc/rtc_base/timeutils.h"
32 #include "webrtc/rtc_base/trace_event.h"
33 33
34 namespace webrtc { 34 namespace webrtc {
35 35
36 // Only positive speeds, range for real-time coding currently is: 5 - 8. 36 // Only positive speeds, range for real-time coding currently is: 5 - 8.
37 // Lower means slower/better quality, higher means fastest/lower quality. 37 // Lower means slower/better quality, higher means fastest/lower quality.
38 int GetCpuSpeed(int width, int height) { 38 int GetCpuSpeed(int width, int height) {
39 #if defined(WEBRTC_ARCH_ARM) || defined(WEBRTC_ARCH_ARM64) || defined(ANDROID) 39 #if defined(WEBRTC_ARCH_ARM) || defined(WEBRTC_ARCH_ARM64) || defined(ANDROID)
40 return 8; 40 return 8;
41 #else 41 #else
42 // For smaller resolutions, use lower speed setting (get some coding gain at 42 // For smaller resolutions, use lower speed setting (get some coding gain at
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 frame_buffer_pool_.ClearPool(); 1008 frame_buffer_pool_.ClearPool();
1009 inited_ = false; 1009 inited_ = false;
1010 return WEBRTC_VIDEO_CODEC_OK; 1010 return WEBRTC_VIDEO_CODEC_OK;
1011 } 1011 }
1012 1012
1013 const char* VP9DecoderImpl::ImplementationName() const { 1013 const char* VP9DecoderImpl::ImplementationName() const {
1014 return "libvpx"; 1014 return "libvpx";
1015 } 1015 }
1016 1016
1017 } // namespace webrtc 1017 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9_frame_buffer_pool.cc ('k') | webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698