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

Side by Side Diff: webrtc/modules/video_processing/video_denoiser.cc

Issue 2020593002: Refactor scaling. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Trivial rebase. Created 4 years, 6 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
« no previous file with comments | « webrtc/modules/video_processing/spatial_resampler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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/common_video/libyuv/include/scaler.h"
12 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 11 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
13 #include "webrtc/modules/video_processing/video_denoiser.h" 12 #include "webrtc/modules/video_processing/video_denoiser.h"
14 13
15 namespace webrtc { 14 namespace webrtc {
16 15
17 #if DISPLAY || DISPLAYNEON 16 #if DISPLAY || DISPLAYNEON
18 static void CopyMem8x8(const uint8_t* src, 17 static void CopyMem8x8(const uint8_t* src,
19 int src_stride, 18 int src_stride,
20 uint8_t* dst, 19 uint8_t* dst,
21 int dst_stride) { 20 int dst_stride) {
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 denoised_frame->set_render_time_ms(frame.render_time_ms()); 343 denoised_frame->set_render_time_ms(frame.render_time_ms());
345 344
346 #if DISPLAY || DISPLAYNEON 345 #if DISPLAY || DISPLAYNEON
347 // Show rectangular region 346 // Show rectangular region
348 ShowRect(filter_, moving_edge_, moving_object_, x_density_, y_density_, u_src, 347 ShowRect(filter_, moving_edge_, moving_object_, x_density_, y_density_, u_src,
349 v_src, u_dst, v_dst, mb_rows_, mb_cols_, stride_u_, stride_v_); 348 v_src, u_dst, v_dst, mb_rows_, mb_cols_, stride_u_, stride_v_);
350 #endif 349 #endif
351 } 350 }
352 351
353 } // namespace webrtc 352 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/spatial_resampler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698