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

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

Issue 1417773002: Remove system_wrappers/interface/trace_event.h (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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) 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/vp8/vp8_impl.h" 11 #include "webrtc/modules/video_coding/codecs/vp8/vp8_impl.h"
12 12
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <string.h> 14 #include <string.h>
15 #include <time.h> 15 #include <time.h>
16 #include <algorithm> 16 #include <algorithm>
17 17
18 // NOTE(ajm): Path provided by gyp. 18 // NOTE(ajm): Path provided by gyp.
19 #include "libyuv/scale.h" // NOLINT 19 #include "libyuv/scale.h" // NOLINT
20 #include "libyuv/convert.h" // NOLINT 20 #include "libyuv/convert.h" // NOLINT
21 21
22 #include "webrtc/base/checks.h" 22 #include "webrtc/base/checks.h"
23 #include "webrtc/base/trace_event.h"
23 #include "webrtc/common.h" 24 #include "webrtc/common.h"
24 #include "webrtc/common_types.h" 25 #include "webrtc/common_types.h"
25 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 26 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
26 #include "webrtc/modules/interface/module_common_types.h" 27 #include "webrtc/modules/interface/module_common_types.h"
27 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" 28 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h"
28 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" 29 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h"
29 #include "webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h" 30 #include "webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h"
30 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" 31 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h"
31 #include "webrtc/system_wrappers/interface/tick_util.h" 32 #include "webrtc/system_wrappers/interface/tick_util.h"
32 #include "webrtc/system_wrappers/interface/trace_event.h"
33 33
34 namespace webrtc { 34 namespace webrtc {
35 namespace { 35 namespace {
36 36
37 enum { kVp8ErrorPropagationTh = 30 }; 37 enum { kVp8ErrorPropagationTh = 30 };
38 enum { kVp832ByteAlign = 32 }; 38 enum { kVp832ByteAlign = 32 };
39 39
40 // VP8 denoiser states. 40 // VP8 denoiser states.
41 enum denoiserState { 41 enum denoiserState {
42 kDenoiserOff, 42 kDenoiserOff,
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 return -1; 1407 return -1;
1408 } 1408 }
1409 if (vpx_codec_control(copy->decoder_, VP8_SET_REFERENCE, ref_frame_) 1409 if (vpx_codec_control(copy->decoder_, VP8_SET_REFERENCE, ref_frame_)
1410 != VPX_CODEC_OK) { 1410 != VPX_CODEC_OK) {
1411 return -1; 1411 return -1;
1412 } 1412 }
1413 return 0; 1413 return 0;
1414 } 1414 }
1415 1415
1416 } // namespace webrtc 1416 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/video_capture_impl.cc ('k') | webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698