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

Side by Side Diff: source/libvpx/vp9/encoder/vp9_denoiser.c

Issue 1339513003: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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 | « source/libvpx/vp9/encoder/vp9_bitstream.c ('k') | source/libvpx/vp9/encoder/vp9_encodeframe.c » ('j') | 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) 2012 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebM 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 <assert.h> 11 #include <assert.h>
12 #include <limits.h> 12 #include <limits.h>
13 #include "./vpx_dsp_rtcd.h" 13 #include "./vpx_dsp_rtcd.h"
14 #include "vpx_dsp/vpx_dsp_common.h"
14 #include "vpx_scale/yv12config.h" 15 #include "vpx_scale/yv12config.h"
15 #include "vpx/vpx_integer.h" 16 #include "vpx/vpx_integer.h"
16 #include "vp9/common/vp9_reconinter.h" 17 #include "vp9/common/vp9_reconinter.h"
17 #include "vp9/encoder/vp9_context_tree.h" 18 #include "vp9/encoder/vp9_context_tree.h"
18 #include "vp9/encoder/vp9_denoiser.h" 19 #include "vp9/encoder/vp9_denoiser.h"
19 20
20 /* The VP9 denoiser is a work-in-progress. It currently is only designed to work 21 /* The VP9 denoiser is a work-in-progress. It currently is only designed to work
21 * with speed 6, though it (inexplicably) seems to also work with speed 5 (one 22 * with speed 6, though it (inexplicably) seems to also work with speed 5 (one
22 * would need to modify the source code in vp9_pickmode.c and vp9_encoder.c to 23 * would need to modify the source code in vp9_pickmode.c and vp9_encoder.c to
23 * make the calls to the vp9_denoiser_* functions when in speed 5). 24 * make the calls to the vp9_denoiser_* functions when in speed 5).
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 for (r = 0; r < yuv->uv_height; ++r) { 487 for (r = 0; r < yuv->uv_height; ++r) {
487 for (c = 0; c < yuv->uv_width; ++c) { 488 for (c = 0; c < yuv->uv_width; ++c) {
488 u[c] = UINT8_MAX / 2; 489 u[c] = UINT8_MAX / 2;
489 v[c] = UINT8_MAX / 2; 490 v[c] = UINT8_MAX / 2;
490 } 491 }
491 u += yuv->uv_stride; 492 u += yuv->uv_stride;
492 v += yuv->uv_stride; 493 v += yuv->uv_stride;
493 } 494 }
494 } 495 }
495 #endif 496 #endif
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_bitstream.c ('k') | source/libvpx/vp9/encoder/vp9_encodeframe.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698